How does browser work with expiration headers, cache-control headers, last-modified-header ?

Posted by Umair on Stack Overflow See other posts from Stack Overflow or by Umair
Published on 2010-04-22T08:24:31Z Indexed on 2010/04/22 8:33 UTC
Read the original article Hit count: 232

Filed under:
|
|
|

I am a web developer, have worked with PHP and .NET both. having over a year of experience working on web I haven't been able to understand the browser caching features thoroughly, I hope Web Gurus here can help me with it. Questions I have in my mind are :

  • How does browser actually caches stuff, does it request for to see if the cached file has changed on the server or not,
  • What is the Ideal way for a developer to make use of browser chaching to its full, but also to be able to push new changes on the site with no hassle at all. I think if browser somehow chaches my CSS and JS and Images, and then just makes a checks for their modification to the server everytime, this can sort the issue. but I am not sure how to do it,

waiting for interesting answers :)

© Stack Overflow or respective owner

Related posts about apache

Related posts about browser