Support » Plugin: WordPress Popular Posts » Queries not cached

  • Resolved dtamajon

    (@dtamajon)


    Hi!

    I have enabled caching in plugin. My wordpress has memcached configured and I can see it working on Query Monitor. I have also defined to refresh cache every 6 hours. Either defined define(‘WPP_CACHE_VIEWS’, true); on wp-config.php

    But yet queries are already launched while I’m working on the admin zone.

    I’m using following memcached:
    https://github.com/l3rady/WordPress-APCu-Object-Cache

    Do you know why queries are already launched?

    In our case, query execution time is 60s and very high cpu usage.

    • This topic was modified 11 months ago by dtamajon.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Héctor Cabrera

    (@hcabrera)

    Hi @dtamajon,

    Not sure I fully understand what you mean with “yet queries are already launched while I’m working on the admin zone”, could you please explain in more detail?

    Plugin Author Héctor Cabrera

    (@hcabrera)

    From your site’s URL it seems you’re from Spain? If so, feel free to reply in Spanish (and don’t forget to add the English version too, forum rules) so we can communicate better.

    Plugin Author Héctor Cabrera

    (@hcabrera)

    By the way, some users have reported that the WordPress APCu Object Cache Backend plugin actually made their sites slower so you may want to look into this first and/or consider other alternatives.

    dtamajon

    (@dtamajon)

    Hi Hector,

    I finally used Memcached Redux, and its working properly. My site is much faster than before, measured with Query Monitor.

    “yet queries are already launched while I’m working on the admin zone”: while editors are working, I can see that queries related to this module are launched and they take so long (between 2 and 4 minutes collapsing database).

    I have modified configuration to set only 15 days data, enabled caching, and calculate each 6 hours… and now I’m waiting to check if everything works better.

    Plugin Author Héctor Cabrera

    (@hcabrera)

    Sorry, I still don’t understand what you mean with “while editors are working, I can see that queries related to this module are launched.”

    Where are you seeing these queries exactly? Please share some screenshots so I can understand what the issue is.

    … o describe el problema en español para poder entenderte mejor (… or describe the issue in spanish so I can better understand what you’re trying to say).

    Plugin Author Héctor Cabrera

    (@hcabrera)

    Marking as resolved due to inactivity.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Queries not cached’ is closed to new replies.