locked
Why is the header status 304? RRS feed

  • Question

  • I tried hosting a static front-end using CDN and I can see a status code of 304 upon Google Chrome's inspect element when my hostname is loaded but when I disable cache it returns a 200. What does this mean? I feel like the TTFB of my domain is slower because of this?
    • Edited by Dean-Armada Friday, November 24, 2017 8:12 AM
    Friday, November 24, 2017 8:10 AM

Answers

  • Hi Dean,

    This is perfectly normal. A 304 means 'Not Modified'. It is the CDN telling the browser that the version of the file the browser has is already up to date. This will speed up performance since a 304 response doesn't need to carry the entire file in the body, just the headers.

    • Marked as answer by Dean-Armada Tuesday, November 28, 2017 2:06 AM
    Monday, November 27, 2017 4:20 PM

All replies

  • Hi Dean,

    This is perfectly normal. A 304 means 'Not Modified'. It is the CDN telling the browser that the version of the file the browser has is already up to date. This will speed up performance since a 304 response doesn't need to carry the entire file in the body, just the headers.

    • Marked as answer by Dean-Armada Tuesday, November 28, 2017 2:06 AM
    Monday, November 27, 2017 4:20 PM
  • Hi Richard,

    Thank you very much for that explanation.

    Regards,
    Dean

    Tuesday, November 28, 2017 1:40 AM