homepage Welcome to WebmasterWorld Guest from 54.211.100.183
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
http headers - how to change cache-control
how to change cache-control http headers for a whole website
chandrika

5+ Year Member



 
Msg#: 4251865 posted 3:02 pm on Jan 11, 2011 (gmt 0)

I have just installed mod_pagespeed on the server and have set the extend_cache option to enabled. In the instructions it says that I should set the http headers cache-control to expire in about 1 year.

I am not sure how to alter that setting, other than by adding a header tag in individual html pages and would like to know if there is a shortcut option to set the cache-control expiration date across websites on the server.

Currently when I view my webpages, the headers (using firefox live http headers addon) are showing
Cache-Control: max-age=0, no-cache, no-store

I thought maybe something in httpd.conf, and having googled to find an answer but I am not finding any information on how to do this. Does anyone have any information on altering the cache-control for websites on a server?

 

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4251865 posted 8:25 am on Jan 13, 2011 (gmt 0)

Cache control in .htaccess:
http://www.webmasterworld.com/apache/4108533.htm [webmasterworld.com]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved