Current time: 10-21-2019, 10:09 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reload stats show images reloading, eventhough the expires header is for a month in t
07-13-2014, 03:18 PM
Post: #1
reload stats show images reloading, eventhough the expires header is for a month in t
OK, This is a site I've just taken over admin of. Believe it or not, it's already much faster than it was! It's a Magento EE site.

http://www.webpagetest.org/result/140713_Z2_4KC/

show what I'm talking about.

$ curl -I http://www.billyguyatts.com.au/media/cat..._24x24.jpg
HTTP/1.1 200 OK
Server: nginx/1.6.0
Date: Sun, 13 Jul 2014 05:13:13 GMT
Content-Type: image/jpeg
Last-Modified: Wed, 05 Feb 2014 08:11:22 GMT
ETag: "52f1f22a-2ce"
Expires: Tue, 12 Aug 2014 05:13:13 GMT
Cache-Control: max-age=2592000
Access-Control-Allow-Origin: *
Accept-Ranges: bytes
Content-Length: 718
Connection: Keep-Alive


shows an example image that really should be stored locally expiry date 30 days in the future... well that's how I read it! When I visit the site, I don't see any horrendous delay, either.

Any ideas???

( yes, I'm working on sprites! )
Find all posts by this user
Quote this message in a reply
07-18-2014, 04:45 AM
Post: #2
RE: reload stats show images reloading, eventhough the expires header is for a month in t
It's either three things:
The WPT test Location from Australia has an Issue
or
The ISP ignores the Caching request.
or
Adding a cookie bust the cache. ( I should really look into that since it's the second time i've noticed that behavior)

I'm located in Montreal, and have tested it on my browser and everything is cached.
Also look at http://www.webpagetest.org/result/140717...ls/cached/ . You can see that the browser does cache a lot of your elements.

I personally would remove the Etags and last modified date. You only need the cache control.

Let me know if that helps
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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