Remove cache header lines from pages

3 posts / 0 new
Last post
#1 Sun, 05/29/2011 - 10:18
rogeriobrito

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

Sun, 05/29/2011 - 10:58
andreychek

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

Sun, 05/29/2011 - 17:55 (Reply to #2)
rogeriobrito

Yes, using the .htaccess file did it.

Thanks a lot Eric

[]s - Rogerio

Topic locked