subbu.org

Subbu Allamaraju's Blog

Entries tagged with “Caching”

05:55 PM, Sunday, October 23, 2005

XMLHttpRequest and Caching

A lot has been written about caching issues with XMLHttpRequest based apps. There is certainly some amount of frustration and confusion about this topic. I had the same kind of experience when I updated my blog recently to show a paginated blog entry list via an XMLHttpRequest. I noticed that mainstream browsers behave inconsistently when it comes to caching.

08:30 PM, Sunday, January 09, 2005

More on HTTP Caching

In my previous post on HTTP Caching, I left out two topics. The first is caching dynamically generated files (e.g. pdf). The second is choosing headers like Expires, Last-Modified etc.

06:15 AM, Tuesday, January 04, 2005

HTTP Caching

Over the weekend I was searching a well-known electronics manufacturer's site for an LCD monitor. After finding the product page I was looking for, I bookmarked the page, and then went on to surf something else. After a few minutes, I came back and reloaded the bookmarked page. I expected my browser to load the page immediately from its cache, but it did not. I was curious to find out why. It turned out that the server did not send any cache related HTTP headers, forcing my browser to request for the page again. What a waste of bandwidth and CPU cycles!