• Resolved petrersikora

    (@petrersikora)


    After upgrade I see that database cache and object cache is often clear in short intervals (about 2-5 minutes).
    I use disk cache in settings garbage collector and maximum life time of cache is set to 86400s for both db and objects.

    when I checking it by counting files in direcotries wp-content/cache/object/ and wp-content/cache/db/
    It increasing in both up to few hundreds (by doing random request), and after few minutes it dropping to just few files and start increasi agin.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @petrersikora

    Thank you for reaching out and I am happy to help!
    Can you please clarify what you updated? Was that a W3 Total Cache or your theme/wp version?

    There is a chance that some other plugin or a theme is calling w3tc_flush_all and therefore clearing the cache after some update on the page or some action that is calling the purge.

    This being said, I would stronlgly recommend not to use DB caching and Object Caching if the only available caching method is Disk, and you should consider installing phpRedis or php Memcached and using memory based caching for these modules.

    Thanks!

    Thread Starter petrersikora

    (@petrersikora)

    I updated wordpress version and all my plugins and themes.

    WordPress version: 6.5.3
    W3 Total Cache: 2.7.2
    Newspaper Theme: 12.6.5

    I found w3tc_flush_all in really-simple-ssl I will try to disable this plugin and then check gain.

    I normally use Redis, but for testing I switched to disk for better determin what is caching when I saw problem with performance

    Thread Starter petrersikora

    (@petrersikora)

    Big thanks @vmarko for your suggest to search for w3tc_flush_all function in other plugins.

    Problem is solved.

    Plugin “Really Simple SSL” have probelm.
    I found this function in really-simple-ssl/class-cache.php

    After disable this plugin everything works great!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @petrersikora

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Strange cache behavior after upgrade’ is closed to new replies.