Closed
Bug 1165986
Opened 11 years ago
Closed 10 years ago
Doesn't utilize the cache when loading a css file generated from php
Categories
(Core :: Networking: Cache, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: kevin-schier, Assigned: mayhemer)
Details
Attachments
(1 file)
|
410 bytes,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150517004004
Steps to reproduce:
Visit this website: http://www.einstieg-informatik.de/community/ and reload a few times.
Actual results:
Firefox reloads the css file of this webpage every time and because it is generated by php, it takes ages to load.
Expected results:
Firefox should send a If-Modified-Since field in the request header and don't reload the css at all, because the server responds with 304.
| Reporter | ||
Updated•11 years ago
|
Severity: normal → minor
| Reporter | ||
Updated•11 years ago
|
OS: Unspecified → Windows 8.1
Hardware: Unspecified → x86
| Reporter | ||
Updated•11 years ago
|
Component: Untriaged → Networking: Cache
Product: Firefox → Core
| Reporter | ||
Updated•11 years ago
|
Summary: Firefox doesn't utilize the cache when loading a css file generated from php → Doesn't utilize the cache when loading a css file generated from php
| Assignee | ||
Comment 1•11 years ago
|
||
If we don't send If- headers then it's just because the headers your PHP script sets are simply wrong. Make sure there is an ETag and Date headers sent from the server.
| Reporter | ||
Comment 2•11 years ago
|
||
18:39:23 GMT is the same as 20:39:23 CEST
| Assignee | ||
Comment 3•11 years ago
|
||
I'll take a look but don't expect a quick response here. I more believe the problem is not in Firefox/Necko but rather on the site.
Maybe also check other browsers (IE/Chrome)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → honzab.moz
| Assignee | ||
Comment 4•10 years ago
|
||
Kevin, is this still reproducible? I have few bugs around validation and caching on the table right now, so I may look at this soon. Thanks.
Flags: needinfo?(kevin-schier)
| Assignee | ||
Comment 5•10 years ago
|
||
Irreproducible, apparently fixed on the server side. I can also see a query in the css URL which makes us do a revalidation every time. The attachment doesn't show the URL, so hard to say.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(kevin-schier)
You need to log in
before you can comment on or make changes to this bug.
Description
•