Remove cache header lines from pages

Hello all,

I have one particular virtual server that I need to remove the cache lines from the header:

Expires Mon, 1 Jan 2001 00:00:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache

The above lines should not be present on the pages. I run a Joomla website on that virtual server.

How do I do that?
Thank you

  • Rogerio

Howdy,

It sounds like you may want to tweak the “expires” header settings in Apache.

The details of that module , including examples, are here:

http://httpd.apache.org/docs/2.2/mod/mod_expires.html

You can set that from within a .htaccess file for your Virtual Server.

If you get errors when trying to use that module – you’ll want to make sure that it’s enabled within Apache.

-Eric

Yes, using the .htaccess file did it.

Thanks a lot Eric

[]s

  • Rogerio