MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Why isn't 301 Cached?
Current time: 12-02-2020, 04:14 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why isn't 301 Cached?
07-01-2013, 03:18 PM (This post was last modified: 07-01-2013 03:23 PM by rviscomi.)
Post: #1
Why isn't 301 Cached?
In this test result, google.com is hit twice. It is getting a 301 redirect to http://www.google.com but on the repeat view, the browser is not using the cached redirect and attempts to hit google.com.

See http://www.webpagetest.org/result/130701...f426a31b1/

Why isn't the cached redirect used on the repeat view? My hunch is that despite the Expires and Cache-Control headers, it is lacking either an E-Tag or Last-Modified header. Is that the case here? Could this be an oversight?


Response headers:
Code:
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Mon, 01 Jul 2013 05:10:44 GMT
Expires: Wed, 31 Jul 2013 05:10:44 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Why isn't 301 Cached? - rviscomi - 07-01-2013 03:18 PM
RE: Why isn't 301 Cached? - andydavies - 07-01-2013, 06:55 PM
RE: Why isn't 301 Cached? - pmeenan - 07-01-2013, 11:28 PM
RE: Why isn't 301 Cached? - rviscomi - 03-23-2015, 04:46 PM
RE: Why isn't 301 Cached? - pmeenan - 03-23-2015, 10:31 PM
RE: Why isn't 301 Cached? - pmeenan - 03-23-2015, 11:13 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)