Closed
Bug 1344381
Opened 8 years ago
Closed 8 years ago
Some security pages are broken due to 404 @ responsive-bundle.css
Categories
(www.mozilla.org :: Bedrock, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: kohei, Assigned: pmac)
Details
Currently some pages under /security/ don't get styled due to 404 Not Found at responsive-bundle.css:
https://www.mozilla.org/media/css/responsive-bundle.59b379cf54d1.css
X-Backend-Server: 0ed17530e017.bedrock-prod.us-west.moz.works
https://www.mozilla.org/en-US/security/advisories/
X-Backend-Server: 8b25b773b686.bedrock-prod.us-west.moz.works
https://www.mozilla.org/en-US/security/known-vulnerabilities/firefox/
X-Backend-Server: 1b1cfa93da60.bedrock-prod.us-west.moz.works
Those page caches are supposed to expire every half an hour, but the pages are still broken after waiting for 1 hour. Something is going wrong?
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → pmac
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•8 years ago
|
||
I think this is due to the advisories pages sending last-modified headers and the CDN nodes checking that to see if they should update the cache. If the HTML becomes stale because the CSS changed and therefore got a new hash in the file name, the old filename could go missing if the CDN node cleared old cache. I'm going to have those pages stop sending the last-modified header as our use of CDN obviates its usefulness, and also it's wrong because it's not taking other HTML changes into account.
Comment 2•8 years ago
|
||
Commits pushed to master at https://github.com/mozilla/bedrock
https://github.com/mozilla/bedrock/commit/102868e2e13a26d47dc62ba7506f060d5476a2dd
Fix bug 1344381: Disable last-modified headers from security pages
They were causing a miss-match in HTML and static file cache.
I will be investigating ways in which we can more efficiently
use our CDN caches.
https://github.com/mozilla/bedrock/commit/a7dfb112cc05cbb047d69e27970047ad04d793ff
Merge pull request #4723 from pmac/remove-last-modified-headers-security-advisories-1344381
Fix bug 1344381: Disable last-modified headers from security pages
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•8 years ago
|
||
This is now fixed for me. Calling this one verified. Thanks Kohei!
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•