News for hackers. Stuff that matters.
Re:Building a Shop with Sub-Second Page Loads: Lessons Learned by jandrese on Sunday October 23, 2016 @03:31PM (#12775023)
Yeah, I was wondering why I bother to set the expires header if the browser is going to ignore it and check every time anyway.
Re:Building a Shop with Sub-Second Page Loads: Lessons Learned by idunno246 on Sunday October 23, 2016 @03:42PM (#12775076)
It doesnt ignore it. In chrome, if you keep the network tab in dev tools open, you will see "From disk/memory cache" in the size column with a status of 200 when it comes from local cache.
Re:Building a Shop with Sub-Second Page Loads: Lessons Learned by paulddraper on Sunday October 23, 2016 @03:55PM (#12775142)
It ignores it on refresh before the page load event. It respects it otherwise.
Re:Building a Shop with Sub-Second Page Loads: Lessons Learned by user5994461 on Sunday October 23, 2016 @03:34PM (#12775032)
To give a hint to the cache manager about when to remove the file from its storage ;)