Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th March 2011, 16:55
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 65
Thanks: 15
Thanked 5 Times in 5 Posts
Default Does this cache header even make sense?

Just a quick random question:

Here's a header:

11/03/2011 15:25:56.005 Cache-Control: no-cache, x-wms-content-size=4129462, max-age=86399, user-public, must-revalidate, proxy-public, proxy-revalidate

Doesn't some of this cancel each other out? I'm trying to work out why my browser/ISP is getting a cached version. Provider says it shouldn't be caching, but it is, and surely user-public, proxy-public cancels out no-cache?

Or at least, that's what I think from having read the docs.
Reply With Quote
Sponsored Links
  #2  
Old 11th March 2011, 17:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

I'm not sure about user-public and proxy-public, but max-age=86399 tells browsers to cache content for 86399 seconds (however, not all browsers support max-age).

If you don't want your content to be cached, remove the max-age; in addition to that, set an Expires header with a date in the past.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
cache control, caching, headers, proxy

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Centos is terribly slow Galled Server Operation 9 7th December 2010 15:31
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
FC3 Perfect Installation Make Errors solderboy HOWTO-Related Questions 3 2nd October 2005 16:55


All times are GMT +2. The time now is 08:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.