• Resolved John

    (@dsl225)


    Hello,

    First time user experimenting here.
    Migrating a site that was using WP Fastest Cache and Flying Pages.
    If I understand correctly, the first one was preloading pages on server while the second one on visitor’s browser.

    On Fastest Cache the preload was set to be deleted every 10 hours because of some “nonces” issues with forms.

    Are there equivalent settings that I can follow here?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Cold Egg

    (@eric780217)

    My understanding is, the first one is a full-page cache, and the second one is preload while the user’s mouse hovers over the page links.

    To answer your question, if you have LSWS running or QUIC Cloud CDN, then you could set a TTL to the nonce, see https://docs.litespeedtech.com/lscache/lscwp/cache/#esi-nonce
    If you are using OpenLiteSpeed Web Server, then you can only shorten the cache TTL since the ESI is not supported. If you are using Apache/Nginx, then the cache feature is not supported, unless you set up the QUIC Cloud CDN.

    Thread Starter John

    (@dsl225)

    Many thanks for your feedback!

    That’s right, your understanding is correct I think.
    WP Fastest Cache explains here their preload that way:

    “A cached file is typically generated after a user initially visits a page. This creates a delay for the very first user who views it.

    The preload allows you to create the cache of all the post, page, category, homepage etc. periodically, which helps much in improving future page loads.”

    And Flying Pages does exactly what you described.

    Now, I forgot to mention the reason why that set that way there:
    It’s a low traffic site and WPFC suggests using their preload for that sort of sites, for the reasons that are described above.

    The preload had nonces issues with online forms that were resolved by adding their cron that deletes preload files every 10 hours.

    I don’t really know what “LSWS” and “OpenLiteSpeed Web Server” stands for but this site is on a shared server with a “LiteSpeed Web Cache Manager” menu on cPanel and the Crawler is not enabled there.

    So, my question finally would be:
    Is there any special configuration to take care of especially for:
    – low traffic sites
    – online forms (maybe simply exclude them somewhere?)
    and would ESI really be helpful for such cases?

    Thanks again!

    Plugin Support Cold Egg

    (@eric780217)

    I think “LiteSpeed Web Cache Manager” is this one https://docs.litespeedtech.com/cp/cpanel/cpanel-plugin/
    Then you are having LSWS running, so ESI should be supported. Please notify your hosting manager to enable the feature for you if they haven’t, https://docs.litespeedtech.com/cp/cpanel/lscache/#enabling-the-crawler-and-esi

    To answer your question,
    – No special settings for low traffic sites
    – There’re so many forms, please test them and report the issue to us if you see any. Since WP Fastest Cache works with the forms, I guess it won’t be an issue with LSCWP.
    – Yes, it should.
    FYI, a tool to verify if cache is working, https://check.lscache.io/

    Thread Starter John

    (@dsl225)

    Great, well noted, many thanks!

    Thread Starter John

    (@dsl225)

    PS
    sorry one more question:
    – if I want to use “ESI Nonces” there, should I turn the “Enable ESI” to ON also?

    Sounds logical but prefer to ask, thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Preloading?’ is closed to new replies.