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 with a theme switcher

Quick Cache Plugin. Speeds up WordPress®.

Quick Cache with a theme switcher

Postby accessbydesign » September 9th, 2010, 4:00 pm

Hi there, thank you for developing the plugin, it works very well. However, we provide 4 or 5 different styles on all of our websites (large print, high contrast etc..) and switch themes using a php commmand such as:

Code: Select all
http://www.website.com/wp-content/themes/abd/includes/library/plugins/php_switcher/style.php?id=2


This switches over the stylesheet. However, cached files are still being served and the style does not get changed with the plugin activated. Is there a command I can add to the above line that will stop cached files being served? The same way that cached files are not served if the user is logged in?

This would be completely brilliant if this was possible as not being able to cache is a becoming real problem.

Hope you can help?

Many thanks and all the best to you

Clive
User avatar
accessbydesign
Registered User
Registered User
 
Posts: 2
Joined: September 9, 2010

Re: Quick Cache with a theme switcher

Postby Jason Caldwell » September 29th, 2010, 8:48 am

Hi Clive. Yes, you can add this to the end of a URL to prevent caching,
and this will override any pre-configured options for your Quick Cache installation.
Code: Select all
?qcAC=0
( e.g. Quick Cache / Allow Cache = 0 )
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Quick Cache with a theme switcher

Postby accessbydesign » September 29th, 2010, 3:14 pm

Hi Jason, thank you very much for your reply, I can't believe it's as easy as that, fantastic! I am going to try this immediately!

I'll report back, thanks again!

Best wishes

Clive
User avatar
accessbydesign
Registered User
Registered User
 
Posts: 2
Joined: September 9, 2010


Return to Quick Cache Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron