PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Quick Cache conflicting with s2member (Cache control headers

s2Member Plugin. A Membership plugin for WordPress®.

Quick Cache conflicting with s2member (Cache control headers

Postby james » January 26th, 2011, 5:30 pm

We use Quick Cache and have "Double caching" (client side caching) also enabled. Thus all no-cache headers were removed next we set our server's headers to:
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
User avatar
james
Registered User
Registered User
 
Posts: 9
Joined: January 13, 2011

Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 3 guests

cron