• Resolved LaMpiR

    (@lampir)


    Hi good people.

    I have been using WP Super Cache on a personal website with fewer visitors, but I am confused by a few things and kindly ask for help. My goal would be to cache the whole website, like 127 pages at the moment and I can do that with Preload option, but I don’t need to preload every 30 minutes or so.

    Since something is published once a month, it happens sometimes that something is published 3-4x per month, which means that I don’t need to refresh the cache that often. Once every few days is more than enough.

    I currently have the following settings for the Preload:
    Refresh preloaded cache files every 120 minutes.
    Preload all posts.
    Preload mode.

    This would mean that it preloads everything every 120 minutes or?

    What is the purpose of the Expiry Time & Garbage Collection in the Advanced tab then?
    There I have a Cache Timeout for 1800 seconds and a Scheluder with Timer for 600 Seconds.

    I’ve tried to set in Preload the refresh preload to 0, manually refresh the files which I did, but then tomorrow when looking at Contents, no files were there except the main page.

    As I sad, maybe a full preload with a periodical scanning of changes would be the best for me, but I am not sure how to achieve that.
    I hope I made it clear, so any tips on how to get that would be appreciated.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter LaMpiR

    (@lampir)

    I have just gone to the Content to see the cached files but there are none. Only the main page. Even though a Precache has been done and I saw all pages being cached.

    Thread Starter LaMpiR

    (@lampir)

    Bump?

    Plugin Author Mark (a11n)

    (@thingalon)

    Hi @lampir,

    I currently have the following settings for the Preload:
    Refresh preloaded cache files every 120 minutes.
    Preload all posts.
    Preload mode.

    This would mean that it preloads everything every 120 minutes or?

    That’s correct; those settings will ask WP Super Cache to preload everything every 120 minutes.

    What is the purpose of the Expiry Time & Garbage Collection in the Advanced tab then?
    There I have a Cache Timeout for 1800 seconds and a Scheluder with Timer for 600 Seconds.

    Cache timeout and preloading on a timer are two different, but related ways of managing cached content.

    When you preload your cache, your site attempts to generate HTML content for your whole site in advance, before visitors arrive. That way from the moment your first visitor arrives, they are served pre-made HTML extremely quickly.

    If you preload your site every few hours, then fresh HTML is generated every few hours ready for visitors to arrive.

    However, when you cache your site without preloading, each page is generated the first time a visitor loads it, so that future visitors have a faster experience. “Cache timeout” means that cached files which become too old are not reused – forcing the next visitor-load to regenerate the page.

    I’ve tried to set in Preload the refresh preload to 0, manually refresh the files which I did, but then tomorrow when looking at Contents, no files were there except the main page.

    That sounds like your preloaded files timed out after the configured 1800 seconds, but it did not schedule a new preload cycle as that was set to 0 (which means don’t periodically preload).

    As I sad, maybe a full preload with a periodical scanning of changes would be the best for me, but I am not sure how to achieve that.
    I hope I made it clear, so any tips on how to get that would be appreciated.

    Based on your description, I recommend turning on Preload, and setting the “Refresh preloaded cache files” setting to a high value like 1440 seconds.

    That will cause your preloaded cache to refresh once per day. That doesn’t prevent you from additionally visiting the WP Super Cache settings page and clicking the “Preload Now” button after you make a change to ensure that your preload gets refreshed immediately – but it will ensure that if you forget to hit the button, your site will be updated within a day.

    Thread Starter LaMpiR

    (@lampir)

    Hi.

    Thank you for the reply.
    If I understood correctly, these two settings will make sense like this:
    Refresh preloaded cache files every 1440 minutes (once per day).

    But, in Advanced tab, under Cache Timeout, shouldn’t that value then be bigger then one day? The point would be to generate files once per day and use them. Setting higher expiration means that no “old” files will ever be used or did I get that correctly?

    This caching is amazing but it’s clearly meant for a more dynamic website in mind 🙂 For me even caching once per week would be fine.

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    If I understood correctly, these two settings will make sense like this:
    Refresh preloaded cache files every 1440 minutes (once per day).

    Yes, that is the setting that was recommended above.

    If you set this, the cache timeout under advanced will be ignored:

    Annotation on 2022 12 16 at 14 51 27

    Thread Starter LaMpiR

    (@lampir)

    Thank you. Will try it out.

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi @lampir,

    It’s been one week since this topic was last updated. I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Recommended configuration for the wanted purpose?’ is closed to new replies.