Mobile app version of vmapp.org
Login or Join
Angela700

: If you're referring to caching from the way google looks at it, then use the robots noarchive tag like this: <meta name="robots" content="noarchive"> If you're referring to browser caching

@Angela700

If you're referring to caching from the way google looks at it, then use the robots noarchive tag like this:

<meta name="robots" content="noarchive">


If you're referring to browser caching (which I think is the case), then configure your server to issue the following in the HTTP header for each page you don't want cached.

cache-control: no-cache,no-store,must-revalidate


If you're serving older browsers that only understand HTTP 1.0, then use the following in the HTTP header:

pragma: no-cache


If the pages of your website are generated on the fly with PHP, then you can easily add those headers with this command:

header(____,true);


Where the ____ is replaced with each header to include.

The only other option is to have everyone turn off caching in their browsers, but that will not likely happen.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme