html - Tell Browsers to update the cache if cache date is over a certain date -


is there meta tag or can use tells browser not use cache before date.

e.g.

<meta "only use cache if cache after 4/4/2013">

if cache old needs download new javascript, css, images, etc..

i make lot of updates site , screws still has cache (and can't expect them know press ctrl+f5 or ctrl+r).

i add parameter on end version of script presenting them

so if have javascript at

www.example.com/script.js 

use url

www.example.com/script.js?foo=1 

when increment value of foo everytime, forces browser refetch script.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -