• Resolved ericcool

    (@ericcool)


    HI,

    I enable object cache setting with following setting :

    Default lifetime of cache objects: 86400
    Garbage collection interval: 86400

    When I purget all caches and click on the woocommerce -> orders page , the page load in less 1 sencond.

    However , after around six hours , when I click on the orders page , the page load became slower. It takes around 2 senconds to finish loading.

    If I “purge all caches” again and then click on order page, it loads less then 1 second again.

    What am I not doing right in setting? How come loading speed is slower after awhile ?

    • This topic was modified 3 years, 12 months ago by ericcool.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ericcool

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    The most likely issue that you are on shared hosting and caching to disk. Even if you are on VPS/Dedicated, it’s not recommended to use Object Cache or DB Cache and cache to disk. Simply because fetching data from the database is often faster than fetching it from disk.
    So in this case you should disable Object Cache or use memory-based caching like Memcached or Redis.
    Thanks!

    Thread Starter ericcool

    (@ericcool)

    HI,

    Yes, my website is running on a shared host server with object cache enable and there are total of three sites on that server.

    I’ve installed Memcached server with 11211 port.

    I found when I purge all cache on one of my website for example : https://site1.com , the site is fast but the other two sites become slower.

    When I purge all cache on https://site2.com , the https://site1.com and https://site3.com become slower.

    When I purge all cache on https://site3.com , the site1 and site2 become slower.

    Is it a usual case? Can all my site use the same memcache server on the same host?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ericcool

    The problem is with the server resources.
    If you want to have multiple websites all using Memcached, then you need to have separate instances of Memcached running. It can just be bound to, for example, 3 different ports (one for reach site) or 3 different IP addresses.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loading of woocommerce order page is faster after “purge all caches”’ is closed to new replies.