homepage Welcome to WebmasterWorld Guest from 54.227.141.230
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
HTTP Headers Cache-Control
AlexB77




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

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.

 

wilderness




msg:4384675
 3:04 am on Nov 8, 2011 (gmt 0)

mod_cach [httpd.apache.org] is part of the httpd.conf file.

AlexB77




msg:4385026
 8:46 pm on Nov 8, 2011 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved