1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Is any CDN honor the "stale-while-revalidate" http header?

Discussion in 'Site & Server Administration' started by DoDo Me, Aug 10, 2010.

  1. #1
    Hi there,

    Few days ago, I asked about "stale-while-revalidate" question but nobody answered it. So, I think I need change my question:

    Anyone know if any CDN honor the "stale-while-revalidate" http header,
    for example a header looks like:
    Cache-control => max-age=10800, public, stale-while-revalidate=21600, stale-if-error=43200
    Code (markup):
    (These new headers describe at http://tools.ietf.org/html/rfc5861 )

    If a CDN honor these headers, it should work like this:
    the page which gives this header, will be stored for 10800+43200 seconds, within the first 10800 seconds, the cached version will be served. After 10800 seconds and before 21600 seconds, a staled cached version will be served and a request for updates will be sent to original server in background.

    I wanna know if any CDN honor and implemented these headers include stale-while-revalidate and stale-if-error. If not, do anyone know any CDN has a plan to have it?
    DoDo Me, Aug 10, 2010 IP
  2. DoDo Me

    DoDo Me Peon

    Likes Received:
    Best Answers:
    Trophy Points:
    Got a letter back from Akamai:

    Question: If Akamai CDN honor and implement headers stale-while-revalidate and stale-if-error which are included in cache control header?
    Answer: As these headers were recently published (May 2010), as of now, we don't honor these headers.

    Q: Do we have a plan to have it?
    A: As of now, we do not have any time frame.


    I also contact more (almost all of them) CDN providers, none give positive answer. Except internap. I will update this thread when I have more news
    DoDo Me, Aug 11, 2010 IP