[Plugin: WP Super Cache] cache requests with query string $_GET parameters?
-
I’ve searched around without finding much information related to my question.
I’m hoping someone can point me in the right direction to allow WP Super Cache to cache pages that include $_GET parameters in the request query string. I’m currently using the Quick Cache plugin which has an option to cache requests with query string parms, but I prefer the lower load provided by WP Super Cache in mod_rewrite mode.
In digging through the plugin code I have managed to find a few dozen places I can comment out where !empty($_GET) type checks are made, and in .htaccess had to comment out
#RewriteCond %{QUERY_STRING} !.*=.*
to allow pages with “=” to be cached.That seems to do the trick, but i’m caution to move forward with this solution since updates to the plugin will revert my changes. Any chance an official update would allow an option for this sort of functionality?
Thanks for the great plugin, and for any help or expertise anyone can provide!
- The topic ‘[Plugin: WP Super Cache] cache requests with query string $_GET parameters?’ is closed to new replies.