Title: Cache issue
Last modified: February 26, 2025

---

# Cache issue

 *  Resolved [tofcha](https://wordpress.org/support/users/tofcha/)
 * (@tofcha)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/cache-issue-67/)
 * Hi everyone,
 * I installed wp-optimize, and enabled caching, but it seems it’s not working.
 * I don’t have another cache plugin.
 * In wp-config.php i settled wp-debug to true.
 * I clear the browser cache, go on the website, actualize, and display the code
   source.
 * I have this as debug information :
 * _WP Optimize page cache – [https://getwpo.com](https://getwpo.com) – Page not
   served from cache because: In the settings, caching is disabled for matches for
   one of the current request’s GET parameters_
 * And I can’t find out what to do with this !!!
 * And I enabled minify also, and on the same page I have this message :
 * _ERROR: WP-Optimize Minify was not allowed to save its cache on – wp-content/
   cache/wpo-minify/1740562330/assets/wpo-minify-header-konte-child1684501394.min.
   css –>
   <!– Please check if the path above is correct and ensure your server has
   write permission there!
 * The path looks correct and permissions set at 755
 * Probably 2 differents problems.
 * I will appreciate some help !
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-issue-67%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Damilare](https://wordpress.org/support/users/deabiodun/)
 * (@deabiodun)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/cache-issue-67/#post-18331010)
 * Hi!
   That must have been quite frustrating seeing your pages not getting cached
   despite having cache enabled.
 * On checking, I see that your page URLs keeps getting a query parameter/variable
   automatically attached ([https://sensihemp.pt/?v=fc9fdf084e29](https://sensihemp.pt/?v=fc9fdf084e29)
   instead of [https://sensihemp.pt](https://sensihemp.pt/?v=fc9fdf084e29)). WP-
   Optimize does not cache pages with query parameters by default. In your case,
   the query variable is “v”.
 * To make your pages get cached, you may need to disable the code or plugin that
   is adding the query strings.
 * If having that variable is absolutely required, you can include them for caching
   by applying the filter code below
 * `function custom_wpo_cache_ignore_query_variables($exclude) {
    $new_variables
   = array('your_query_var1', 'your_query_var2'); $exclude = array_merge($exclude,
   $new_variables); return $exclude;}add_filter('wpo_cache_ignore_query_variables','
   custom_wpo_cache_ignore_query_variables');
 * That code can be added into your themes functions.php file. Preferably, you can
   use a code snippet plugin to apply the filter.
 * Make sure to change “your_query_var*” to the query variable you want to exclude(“
   v” in your case).
 * For the minify issue, please reach out to your hosting provider and inform them
   to help reset the permissions for your WP installation.
 * Regards.

Viewing 1 replies (of 1 total)

The topic ‘Cache issue’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Damilare](https://wordpress.org/support/users/deabiodun/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/cache-issue-67/#post-18331010)
 * Status: resolved