• Resolved alanwpeasy

    (@alanwpeasy)


    Hello,

    I have been using LSCache for a while for WordPress and never questioned the impact it has on creating HTML documents for caching.

    Today I moved a site to my hosting which had no caching at all. With the home page The average “Time” reported in chrome was approx 300ms.

    I noticed that when I installed LSCache the first load was 2.4 seconds. Thinking this was an anomalie, I cleared cache and reloaded. The average page load was between 1.7 and 2.5 seconds. So I disabled LSCache and I’m back to 300ms.

    So I went to Toolbox->Import/Export – reset settings.
    This made no difference.

    To eliminate the site as the issue, I repeated the same on one of my muck-around sites https://demo.wpget.net/ . With LSCache disabled I average 800ms, with it enabled, the first load is closer to 2 seconds.

    Is this just expected, or is there something I’m missing?

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter alanwpeasy

    (@alanwpeasy)

    Just a quick update.
    I disabled LSCache and installed WP Super Cache. Enables “Simple Mode”.

    On first load, the home page loaded just as quickly as with no caching, once cached, it loads as fast as the cached LSCache pages.

    There is something very wrong with the extra time LSCache is taking to cache pages.

    Thread Starter alanwpeasy

    (@alanwpeasy)

    Hello, is there anyone for the developers monitoring the forum?

    I have just changed 3 of my sites from LSCache to Autotomize and WP Super Cache. All have a notable performance improvement on first load.

    I really like all the options in LSCache and hope there is a solution for this.

    Thanks,
    Alan.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    on your current stats , I got timing around 1.2-1.5 seconds on multiple test

    now please enable LSCWP with default setting , and also please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter alanwpeasy

    (@alanwpeasy)

    Hello,

    I replied to your previous message via email. It look slike it did not get added here.

    I have sent a “LiteSpeed” report from the site, with the “Passwordless Link”

    I also created a short video showing the issue. https://wpeasy.sharepoint.com/:v:/s/WPEasyOnboarding/ETIY-jvTnF1IlGlsAOZHrMQBUX9pK1EuaT8QyIDC15xMmw?e=CsPRb8

    I look forward to your reply.

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I think mail reply to WP forum topic just won’t work , you need to get to the page and reply , and please provide the report number it has generated

    Best regards,

    Thread Starter alanwpeasy

    (@alanwpeasy)

    Wow that was a quick response.

    RQTUBDWC

    This site is just for mucking around. Feel free to do whatever you want to it when logged in.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes, that’s normal behavior , as you can see from my previous reply and screenshot , there is similar effect as increased TTFB on your other cache plugin

    the reason for that is when you enable cache/optimization plugin , it will do ob_start() to buffer the output and search through HTML content and other files if any , to edit the content , like apply certain optimization trick , or remove certain content , or do something …etc

    despite you didn’t enable any options , but it still buffers it and run some minimal/basic checking before output to user or save into cache , this is the step it creates additional delay when cache miss

    Best regards,

    Thread Starter alanwpeasy

    (@alanwpeasy)

    OK.. That’s not what I experienced. LSCache appears to take a lot longer on first load than WP Super Cache..

    I will retest and report back.

    Plugin Support qtwrk

    (@qtwrk)

    yeah , on your screen recording , when disable cache , it’s like 800-ish ms , adds the ob_start() ‘s delay , like 0.5 seconds, make it up to 1.3-ish second

    it happens on WP super cache as well , on my previous reply , it gives me 1.2-ish seconds when cache miss

    on my test , for both cases, when cache miss , it’s somewhere about 1-1.5 seconds

    Thread Starter alanwpeasy

    (@alanwpeasy)

    That is very odd.

    I just tested with WP Super Cache.
    With Cache off, avg 800ms to 900ms
    With Cache on, avg 800ms – 900ms , so no difference

    Swapped back to LSCache,
    With Cache off, avg 800ms to 900ms
    With Cache on, avg 1.3s – 1.7s , so big difference

    However, I started recording a video, showing the difference. When I first re-enabled LSCache I was getting 1.3s – 1.7s. Then suddenly it dropped to 600ms – 800ms.

    On default settings, does LSCache make any external calls where variable latency may be the issue?

    I have to jump in to meetings not.

    Thanks for your efforts. I’ll check back later.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    does LSCache make any external calls where variable latency may be the issue?

    my guess is database

    it needs to query the DB to get its configuration on first fire when cache miss.

    Best regards,

    Thread Starter alanwpeasy

    (@alanwpeasy)

    Hmmm.. Not sure if that makes sense.

    Both un-cached pages and WP Super cache also have to query the database to construct pages. This doesn’t explain why it takes LSCache longer to do so.

    I understand that this is not easy. I think I’ll try an alternative “WP Rocket” to see if it suffers the same initial increased loading time.

    Thanks for trying.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes , LSCWP is more feature-riched , like it also comes page optimization , image optimization ..etc

    all these codes will be loaded and initialized , despite you don’t need/use them

    try add

    define( 'LITESPEED_NO_OPTM', true );

    at top of your wp-config.php after <?php , see how it goes by then

    Best regards,

    Thread Starter alanwpeasy

    (@alanwpeasy)

    Thanks for your responses.

    My testing LSCache compare to several other caching plugins:
    LSCache is definitely the slowest of the ones I tested to create the HTML Doc.

    However, I do love the fact that the plugin is so comprehensive, so I think I will stick with it.

    One issue I continually have with LSCache is with the CSS and JS Optimisation. On all my sites, I normally leave this disabled in LSCache and just use Autoptimize if I want this optimisation.

    The reason being is that with LSCache CSS and JS Optimisation I regularly see broken sites, where clearing the cache resolves the issue. As a procedure, I install all WordPress updates every Saturday and force purge all cache when done. Even with doing this, I was seeing some broken sites on the Monday, requiring a cache purge. For this reason, I just don’t use the LSCache CSS and JS optimizations.

    It would be great if you could schedule full cache purges, or if there was some method for LSCache to do periodic tests on pages and purge the cache if it is broken.. Not sure what it would test for to determine this though?

    Plugin Support qtwrk

    (@qtwrk)

    even with my tricky to turn it into caching plugin only ?

    on my test server it makes it to pretty much same time as others

    ——

    yes, it’s a weird bug in CSS/JS file generation that we are working on.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘LSCache slows down Doc creation’ is closed to new replies.