Select to view content in your preferred language

Prevent user from caching a site?

983
1
02-10-2014 12:11 PM
AaronTurecek
Deactivated User
Whenever I make an update to my site the end user has to clear their cache in order to see new version.  Is there a way handle this programmatically?

Thanks
0 Kudos
1 Reply
GeoNZ
by
Frequent Contributor
Hi,

Funny, I just did this yesterday. 

I added this line just inside the <head> tag in the index.htm file in the apps root directory:

<meta http-equiv="Pragma" content="no-cache"/>

Seems to work for me.

Cheers.

M.
0 Kudos