• Resolved georgepennet

    (@georgepennet)


    Hi!

    So far I was using only page cache (disk: enhanced) but I want to also start using memcached for object cache.

    My question is can I actually use both?Is it beneficial? And how it exactly works when I have both enabled. Or maybe it would be better to enable page cache (disk enhanced) + database cache with memcached?

    PS: Also I noticed that my fonts (even only on disk cache) are not loading for like a half a second. What might be the reason?

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

    (@vmarko)

    Hello @georgepennet

    Thank you for reaching out and I am happy to assist you with this.
    Yes, you can use both. Disk: Enhanced is awesome for Page Caching. It serves cached pages using the server’s URL rewriting capabilities, skipping PHP and WordPress entirely. It’s faster and more efficient.
    Object Cache allows getting 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. So if this is the case and you have the Memcached as an option, you are good to go.

    As for the Fonts, this depends on various things and especially how those fonts are called. IF some plugin or a theme is using google fonts then it may take a moment or two for those fonts o be fetched from google.

    I hope this helps!

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Disk cache + object cache? Good combination?’ is closed to new replies.