Welcome to WebmasterWorld Guest from 23.20.238.193

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

HTTP Headers Cache-Control

     
11:39 pm on Nov 7, 2011 (gmt 0)

5+ Year Member



HI,

I'll jump straight to the question:

Here is 2 different headers

Response Headers
DateMon, 07 Nov 2011 19:13:10 GMT
ServerApache
ExpiresThu, 19 Nov 1981 08:52:00 GMT
Cache-Controlno-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragmano-cache
VaryAccept-Encoding
Content-Encodinggzip
X-Powered-ByPleskLin
Content-Length11634
Keep-Alivetimeout=10, max=100
ConnectionKeep-Alive
Content-Typetext/html


and the second one

Response Headers
DateMon, 07 Nov 2011 23:33:30 GMT
ServerApache/2.2.3 (CentOS)
Cache-Controlmax-age=21600
ExpiresTue, 08 Nov 2011 05:33:30 GMT
VaryAccept-Encoding
Content-Encodinggzip
Content-Length8037
Keep-Alivetimeout=10, max=100
ConnectionKeep-Alive
Content-Typetext/html


The question is: How to set Cache-Control in the same exact way as it is shown in the first response header? And the second question is how to set up Pragmano-cache on apache 2.2 server. Also, almost forgot to say that this only applies to http://www.example.com/My_Directory/my_page.html kind of requests.


thanks in advance.
3:04 am on Nov 8, 2011 (gmt 0)

WebmasterWorld Senior Member wilderness is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



mod_cach [httpd.apache.org] is part of the httpd.conf file.
8:46 pm on Nov 8, 2011 (gmt 0)

5+ Year Member



Thanks for this information, but I am not quite familiar with all this so would need more help, possibly step by step instruction on how this can be done.

But thanks for your effort anyway.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month