• Resolved wood1e

    (@wood1e)


    Hi,

    I have a site that cannot have page cache, as some pages have automatic price updating, via an API.

    The price updating is sensitive and so even a cache system at 5 minutes could make the prices high when compared to competitors.

    Is there a way installing an immediately removing specific pages from cache?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @wood1e,

    You can fire up edit_post action on every post update with do_action. Hummingbird will clear the post cache, for the post ID that is passed to that action.

    Best regards,
    Anton

    Thread Starter wood1e

    (@wood1e)

    hi,

    Thanks for that, where do I find that in Hummingbird?

    Will that actually make any difference?

    Hi @wood1e,

    Hummingbird will clear out the post cache once that post is updated automatically. No need to configure anything. You just need to make sure that your API is utilizing WordPress functions/filters and actions to update post data. If you are updating something without using pre-defined filters/actions, HB have no way of knowing that a post has changed.

    Best regards,
    Anton

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

The topic ‘Page Cache’ is closed to new replies.