Page 1 of 1

$serendipity['CacheControl'] = false;

Posted: Tue Nov 04, 2008 5:13 pm
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?

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

Posted: Tue Nov 04, 2008 7:38 pm
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