• Resolved p206ab

    (@p206ab)


    Hello,

    I’m using your plugin, which now creates a new version of a cached page on first user’s visit, which makes loading time longer than it should be. If an user visits the same page again, it loads instantly, as it should.

    But I would like to get rid of that “caching on load” process and only use the preload, where all pages would be already cached and loaded from there, rather than refreshing it with a brand new version on each page load.

    Is there any way to do so, with a function or some settings?

    Thanks.

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

    (@vmarko)

    Hello @p206ab

    Thank you for reaching out and I am happy to help!

    There is no option to disable caching on a visit since this is how the pages are cached.

    However, you can use Cache Preload in Performance>Page Cache. Please refer to this topic for more details about how to enable Cache Preload and how to use it.

    I hope this helps!

    Thanks!

    Thread Starter p206ab

    (@p206ab)

    Hello Marko, thanks for a quick reply.

    But why should it cache a page again, if it already has it in preload? I mean, I understand that it then shows the most recent version possible, but isn’t the whole idea of cache making the browsing for the user faster?

    What’s the point of having a quick load of a certain page only on second visit, shouldn’t it be fast immediately on the first load?

    That’s why I considered preloading all of them and all I need is to disable refreshing on load, so these from cache folder are shown, even if they might not be the most recent (if preload didn’t update them yet).

    There must be something to adjust, if not in the settings, in the code itself it surely is an action that starts the function to refresh a visited page, right?

    Thanks.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @p206ab

    Thank you for your feedback and sorry about any misunderstanding.

    If the Preload is not enabled, the only way to cache the page is with the first visit. However, if the Preload is enabled, the entire website is preloaded and cached without the need to visit every page.

    I hope this clarifies how the cache preload works, and I was referring to Page Caching without the Cache preload.

    Thanks!

    Thread Starter p206ab

    (@p206ab)

    Sorry for my unclear explanation of the situation, I’m glad you understand now.

    But the thing is, even if I have all pages precached, when an user visits the website, it seems to recreate a cache for that page again on page load, as can be seen by the timestamp at the bottom of the page, when I check source code. Every next time this page is visited by the same user, it opens quickly, but that first time it’s pretty slow. And this is what I’m trying to avoid, because it seems like cache is made locally for each user in its browser (browser cache is disabled fyi).

    So I’m kind of lost here, it doesn’t make any sense to reload it every time for each user individually?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @p206ab

    Thank you for your feedback.

    This depend on which page is visited and if the cache expired, and also if the preload started again. There are a lot of things to consider, as there is also a chance that some plugin/theme called flush_all and the Preloaded did not cache everything at some point.

    Can you please share the website URL?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Disable on visit cache’ is closed to new replies.