What is Picture to People ?
"Picture to People" (P2P) is a huge Computer Graphics project. It was started to create new softwares able to make 2D drawing, 3D rendering, vexel drawing, text effects, photo effects, image filtering and other complex Computer Graphics operations. It has been made from scratch, including its low level Computer Graphics libraries like Maccala. Nowadays, most final features produced for this project are released as free online tools available from its official website. This blog talks about Computer Graphics, mainly concerning Picture to People development.
Saturday, July 28, 2012
Modern browsers: when cache becomes something bad
Are the modern browsers faster than old ones? Yes! Are they making this honestly? No. The more I make tests, the more I see recent browsers are caching everything, even what they shouldn't cache. It looks like if they are caching things just by name and location, no matter if that stuff has a newer date/time than the resource they are keeping. It's like to think "Hum ... I got this thing few time ago ... I'm feeling lucky, so let me show the same one without checking if it have changed in the origin".
So you can say: well, we always can press F5 and hope the browser will request that stuff again, right? Wrong! We CAN'T always ask for a page reload. It would be the case for my interactive composer: In several moments, I could need request again some page items, but reloading all the page would discard what the user have already done.
According to the tests I have been making, browser are making illegal caching, refusing to ask to the server some elements, even when that stuff was recreated in the server. Not surprisingly, the bad caching champion has been the fastest browser nowadays: chrome.
I just can't get used to this kind of thing. I'm really very upset with these super bothering problems web development always have. Let's see if I can find a way to work around this problem without giving up the interactivity of my software.
Subscribe in a reader