Search code examples
htmlhtml5boilerplate

HTML5 Boilerplate with cache handling


I have a big doubt about cache handling used in html5 Boilerplate.

I set a cache for header expiry dates 2 year, After 1 year i delete the file from server. But still the cache is present there for 1 more year. How boilerplate handle such situation.? . If this is a normal case we can use ?v=2 to ?v=1 . But in this case am deleted the file from server after setting the cache . So Any idea to solve this issue. !
it work?

Thanks in advance.


Solution

  • Append a get variable to the new site which you are going to upload. if u change it browser does not recognize this url so it doesn't use any cached file. This is the solution used in html5 boilerplate. using .htaccess file. to know more just reffer html5boilerplate.com. youtube video also available. Hope this helped you. !