• Resolved Martin

    (@martyshka)


    Hello,

    I have been trying to implement object cache (disk) but in the end the site becomes considerably slower. Determining the reason does not seem to be straightforward.

    The setup guide recommends turning on object cache on disk with some speed improvement. This is shown in a setup guide test after object cache has been disabled. However, after some time with object cache enabled, the site become slower and the setup guide tests a decrease in speed by about 400 ms because of object cache.

    Can you hint at what could be the reason for that, and what are the best practices to improve whatever underlying situation there might be?

    For instance, I tried reducing the autoload options, but that did not seem to have an impact.

    Best regards

    Martin

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

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

    (@vmarko)

    Hello @martyshka

    Thank you for reaching out and I am happy to help!
    Disk-based caching is not a good idea in most cases. This was added to the W3TC a long time ago, however, in most cases, it’s not suggested to use Disk-based caching simply because fetching the data from the disk may not be as fast as fetching it from the database.

    However, it can be beneficial to use if you are on a VPS or dedicated server, get a lot of traffic, and have a lot of comments. Also, if you know that the database is the bottleneck of your website performance, then an Object Cache is beneficial to use. But in this case, it’s recommended to use Opcode, Memcached or Redis options.

    I hope this helps!

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Object cache gives very mixed results’ is closed to new replies.