• Resolved cheonmu

    (@cheonmu)


    hello. I’m running a static website on a VPS and I have a question about database and object cache.

    I’m using Redis for all caching methods and I’m not sure if these are two different caches that do the same thing, and if it’s better to enable them together or just one or the other.

    Can you tell me which way I should go? Thanks.

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

    (@vmarko)

    Hello @cheonmu

    Thank you for reaching out and I am happy to help!
    I would reccomend you to use the Setup guide in the plugin – Performance>Setup Guide, and there, you will see the performance increase when testing different modules. If DB caching offers better results with caching, you should go with that, and if OC caching is offering better results, then this is the way to go.
    This all depends on the website, trafic etc.

    Object Cache allows to get data from the database more efficiently. Its purpose is similar to what Database Cache does. But compared to Database Cache, Object cache is more efficient as it allows to process fewer requests.

    As a rule of thumb, Object Cache is not worth using on shared hosting for the same reason as Database Cache, i.e. database is often not the performance bottleneck, but disk input-output operations.

    Thanks!

    Thread Starter cheonmu

    (@cheonmu)

    @vmarko, Thank you for your kind response!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @cheonmu

    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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I enable database and object cache at the same time?’ is closed to new replies.