• Resolved zey_ser

    (@zey_ser)


    I’m trying to understand do I need your plugin to improve caching because we already have gzip and http headers cache. Do I correctly understand, that with cache enabled in your plugin you create html files with pages content and then instead db queries and another IO bound you read this files? Can you unfold how your cache/precache works in technical details?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @zey_ser

    The cache preloading functionality will go through all your pages and posts, and simulate a visit by a user, allowing WP-Optimize to cache the pages before anyone visits them. Your first visitor will thus be served a cached version of the page, increasing its performance.

    Thanks,
    Harshad

    @zey_ser You are correct.

    The way our caching functionality works – as well as most caching plugins for WordPress – is by saving the page and posts output to a file.

    On the next request, we check at a very early stage if the cache exists, and return that precompiled page, without having to go through the regular WordPress process. If it does not exist, or something tells it to not serve the cached file, it goes through the normal WP process.

    Enabling Gzip will compress the CSS, JavaScript and html files, which will result in a faster download.

    Setting http headers will tell the browser to cache the static assets (CSS, JavaScript, Images) for a certain amount of time, saving time for subsequent requests.

    Marc

    Please tell me, when you add or change an article, the product cache is reset (updated)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How your cache/precache is working’ is closed to new replies.