Community Support Forums — WordPress® ( Users Helping Users ) — 2011-01-26T17:30:03-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=1920 2011-01-26T17:30:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1920&p=6057#p6057 <![CDATA[Quick Cache conflicting with s2member (Cache control headers]]> Cache-Control : max-age=3600

Result: Works like magic on our server load!

Now the problem:

Today we installed s2member and its re-adding no cache headers . How can we stop this?

It adds:
Cache-Control : no-cache, must-revalidate, max-age=0
Pragma : no-cache

So header ends up looking like this:
Cache-Control : no-cache, must-revalidate, max-age=0,max-age=3600
Pragma : no-cache

As mentioned headers should only be:
Cache-Control : max-age=3600

It seems to only do this for guest on all the site posts pages etc.

Also, I disabled s2member temporarily and checked to confirm and once disabled the headers went back to:
Cache-Control : max-age=3600

How can I stop it from adding these no-cache headers?

thanks

Statistics: Posted by james — January 26th, 2011, 5:30 pm


]]>