$serendipity['CacheControl'] = false;

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

$serendipity['CacheControl'] = false;

Post by Don Chambers »

On a server with many copies of s9y, each receiving a ton of traffic, a tech is configuring Squid... whatever that is. He has asked me to add $serendipity['CacheControl'] = false; to serendipity_config_local.inc.php.

My understanding is that comments may not be seen until the squid cache is refreshed, which is happening once per minute.

Are there any other concerns about setting this cache control to false?
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: $serendipity['CacheControl'] = false;

Post by garvinhicking »

Hi!

That's perfectly fine. Under reverse proxy operation, this is indeed required. You won't face side issues in s9y, because Squid on itself will set those Cache HTTP headers.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply