• Resolved HMSRE

    (@hmsre)


    Greetings LS Team-
    We would really benefit from a basic recache after ## hours or days feature.

    There are about 10 pages that get updated each day and we would like the ability for the plugin to purge or expire itself after ##hours or daily for example. Since it’s updated through a separate db (think woocommerce inventory) it’s not changed in WP itself. Therefore the HP appears to not change in WP but if you hardrefresh, you will see the update. As you know, most users never do that.

    Example: we get new real estate listings every day at 7am. The homepage should be updated but it’s not resaved in WP, it loads via a shortcode on that page. So if we could refresh the homepage and about 10 other pages upon a cron or something similar, that would be great. We don’t need existing pages to recache but the top level WP pages with links to these listings. Hope that makes sense.

    Perhaps this is available or it actually does that (just don’t see it working), if so, please advise. If not, pls consider adding. And since our host wont support crawling the entire site at the server level, we can’t use that feature either in case that’s a solution.

    Hoping you can consider and add this feature. This has become my favorite cache plugin!

    Dave

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter HMSRE

    (@hmsre)

    I should say I *did* notice the homepage setting here:
    Default Front Page TTL
    *Using the homepage reference as an example – would benefit from being able to include other pages.

    Dave

    Plugin Support Hai Zheng?

    (@hailite)

    Do we need to add a Front Page Refresh Timeline" setting? e.g. set it to07:00` can make the homepage be refreshed at 7am.

    Or you mean all pages?

    Plugin Support Hai Zheng?

    (@hailite)

    You can use WP CLI to do the cron job if you would like. e.g. run wp lscache-purge url https://mysite.com/ to purge your homepage.

    Thread Starter HMSRE

    (@hmsre)

    Do we need to add a Front Page Refresh Timeline” setting? e.g. set it to07:00` can make the homepage be refreshed at 7am. Or you mean all pages?

    I would like if there was a way for the LS plugin to have a setting to refresh at certain time daily. I like how you offer the “every ###### seconds” for homepage or ALL pages – but specifically I’d like certain pages (not all).

    So the two requests were:
    1) Set a specific time for the refresh (currently only seconds – from what I can tell)
    2) Allow for specific pages to be refreshed / purged (currently only HP or All Pages)
    – perhaps a feature to include in your “Specific Pages” settings page

    Hope that adds clarity. And thanks!
    Dave

    Plugin Support Hai Zheng?

    (@hailite)

    For your requests, currently I believe a separate php or cli script will be more flexible. Not sure if I misunderstand you requirement.

    Thread Starter HMSRE

    (@hmsre)

    Just looking for additional options in the plugin versus additional scripting. While I am able to use the “Default Front Page TTL” and tell it to keep it cached for 12 hours, I am suggesting a new method – dump cache of homepage at certain hour daily. Also want this not just for “all pages” but option to specify certain pages so it can be recached more often that other pages.

    Ex. I want certain pages to dump cache everyday. However, the rest of the site I am fine with it honoring the “Default Public Cache TTL” set for every 7 days.

    Thanks for listening.

    Plugin Support Hai Zheng?

    (@hailite)

    You mean it should have one url list option and one time option(e.g. 03:00)?

    Thread Starter HMSRE

    (@hmsre)

    Yes. That is correct. Ability to select several URLs (pages or posts) to dump cache at certain day/time.

    It looks like you have the building blocks in the existing code, just a twist on timing (day/time new feature versus just delayed dump counted by seconds). And ability to not just do homepage or all pages but another option for certain pages.

    Thanks for considering. Again, great plugin.

    Dave

    Plugin Support Hai Zheng?

    (@hailite)

    This will be added in v1.1.5.

    Thanks for suggestion.

    Thread Starter HMSRE

    (@hmsre)

    I cannot wait – thank you team LS. Keep rocking!

    Dave

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Recache Setting – Hourly, Daily, etc’ is closed to new replies.