Facebook Twitter Instagram YouTube LinkedIn WhatsApp
    Facebook Twitter Instagram LinkedIn WhatsApp
    ZaveRizwanZaveRizwan
    Subscribe
    • Home
    • Features
      • Example Post
      • Typography
      • Contact
      • View All On Demos
    • Mobiles
    • Typography
    • Mobiles
      • Tech
      • Gadgets
      • Insights
    • Buy Now
    ZaveRizwanZaveRizwan
    Behavior

    prefreshCache

    zaiveeBy zaiveeFebruary 6, 2023No Comments1 Min Read

    Property Manager Name: Cache Prefreshing

    Refresh cached content before its time-to-live (TTL) expires, to keep end-users from having to wait for the origin to provide fresh content.

    Prefreshing starts asynchronously based on a percentage of remaining TTL. The edge serves the refreshed content only after the TTL expires. If the percentage is set too high, and there is not enough time to retrieve the object, the end-user waits for it to refresh from the origin, as is true by default without this pre-fresh behavior enabled. The edge does not serve stale content.

    Options

    • enabled (boolean): Enables the cache prefreshing behavior.
    • prefreshval (number within 0-99 range): Specifies when the prefresh occurs as a percentage of the TTL. For example, for an object whose cache has 10 minutes left to live, and an origin response that is routinely less than 30 seconds, a percentage of 95 prefreshes the content without unnecessarily increasing load on the origin.

    Related Posts

    webdav

    February 6, 2023

    redirectplus

    February 6, 2023

    removeVary

    February 6, 2023
    Add A Comment

    Leave A Reply Cancel Reply

    © 2023 ZaveRizwan. Designed by ZaveRizwan.
    • Home
    • Tech
    • Gadgets
    • Mobiles
    • Buy Now

    Type above and press Enter to search. Press Esc to cancel.