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

    returnCacheStatus

    zaiveeBy zaiveeFebruary 6, 2023No Comments2 Mins Read

    Property Manager Name: Return Cache Status

    Generates a response header with information about cache status. Among other things, this can tell you whether the response came from the Akamai cache, or from the origin. Status values report with either of these forms of syntax, depending for example on whether you’re deploying traffic using sureRoute or tieredDistribution:

    {status} from child 
    
    {status} from child, {status} from parent
    
    

    The status value can be any of the following:

    • Hit: The object was retrieved from Akamai’s cache.
    • Miss: The object was not found in the Akamai cache.
    • RefreshHit: The object was found in Akamai’s cache, but was stale, so an If-Modified-Since request was made to the customer origin, with 304 as the response code, indicating unmodified content.
    • HitStale: The object was found in Akamai’s cache and was stale, but a more recent object was not available from the customer origin, so the cache served the stale object to the client.
    • Constructed: The constructResponse behavior directly specified the response to the client.
    • Redirect: The Akamai edge configuration specified a redirect, typically by executing the redirect, redirectPlus, or edgeRedirector behaviors.
    • Error: An error occurred, typically when authorization is denied or the request is rejected by WAF.

    Options

    • responseHeaderName (string): Specifies the name of the HTTP header in which to report the cache status value.

    Related Posts

    webdav

    February 6, 2023

    g2oheader

    February 6, 2023

    modifyIncomingResponseHeader

    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.