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)

40 Branch
x86
Windows 8.1
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: kevin-schier, Assigned: mayhemer)

Details

Attachments

(1 file)

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.
Severity: normal → minor
OS: Unspecified → Windows 8.1
Hardware: Unspecified → x86
Component: Untriaged → Networking: Cache
Product: Firefox → Core
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
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.
18:39:23 GMT is the same as 20:39:23 CEST
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: nobody → honzab.moz
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)
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
Flags: needinfo?(kevin-schier)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: