Sign In/My Account | View Cart  
advertisement

Article:
 An AJAX Caching Strategy
Subject: browser cache
Date: 2006-05-07 11:42:20
From: jleech
Response to: browser cache

RE: Server-side caching:
Setting the caching directives on the response works well with caching everywhere, from the server, to intermediate caches, to the browser cache. And it works very well with AJAX using the GET method.


RE: Browser caching inconsistencies:
If I remember correctly, Mozilla and Internet Explorer behave differently on a page reload. One reloads the AJAX-served content, the other still reads it from the cache.
I believe they behave differently also in the case where there are no caching directives in the response header.


RE: Follow-up article:
I would be happy to write one, concerning this or a myriad of other AJAX topics.


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Newest First
  • browser cache
    2006-08-23 12:54:21 Mark Nottingham [Reply]

    Using HTTP caching is much easier and better; as mentioned, it enables caching in the browser, intermediaries, and on the server (if supported).


    See:
    http://www.mnot.net/blog/2006/05/11/browser_caching
    for browser capabilities.


Sponsored By: