• Resolved treeflips

    (@treeflips)


    I have PUBLIC website (using WP Simple Cache) and STAGING site (using LScache). A giant blog…mostly public pages, many articles (10-100 comments each). I’m basically looking to phase out SimpleCache and use LScache on my public site since it’s supposed to be faster, right?

    The funny thing I noticed is that my public site w/SimpleCache actually seems to load faster. The staging site loads quickly ONLY if I’ve already visited the page. Should this be expected since my public site is already getting tons of hits with every page already pre-cached?

    If that is the case, then I should switch the public site to LScache and all pages will load quickly on 1st load since the viewers are activating the cache for each other, right?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Hai Zheng?

    (@hailite)

    Yes, once the page is visited, and is not expired or purged, it will not hit PHP anymore. Served directly from server level, which is faster than those who need to hit PHP.

    Thread Starter treeflips

    (@treeflips)

    So with LScache on…..user A could initiate cache for user B, and vice versa? And that would minimize the chances of an uncached page. And as long as someone visits the page before it expires from cache, it would theoretically be cached forever?

    Also, my VPS is 4-core. I shouldn’t have any issues leaving a few crawlers on, right?

    Plugin Support Hai Zheng?

    (@hailite)

    Cache will not be renewed before expired. So if user A visited one page, and the page is marked as cached and will be expired at 23:00, when user B visited it at 22:50, it will server from cache and do nothing else. When user C visit at 23:01, as its expired, it will hit php and regenerate a new cache.

    One crawler is enough for one site.

    • This reply was modified 7 years, 8 months ago by Hai Zheng?.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slower than WP Simple Cache? (question about cache logic)’ is closed to new replies.