WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
14751
Inspector should advise to add an Expires: header to static resources
https://bugs.webkit.org/show_bug.cgi?id=14751
Summary
Inspector should advise to add an Expires: header to static resources
Adam Roben (:aroben)
Reported
2007-07-24 10:31:10 PDT
<
http://jeremy.zawodny.com/blog/archives/009272.html
> explains how adding the Expires: HTTP header to static resources can reduce network requests. The Inspector should suggest this for resources that don't already have this header. Probably some heuristic for determining which resources "seem like they would benefit" is needed so we don't blindly suggest this for everything. At a minimum, we shouldn't suggest this for obviously dynamic resources (like *.php)
Attachments
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2007-07-24 20:59:23 PDT
Any image resource with a "?" in its URL should not have this suggestion.
Alexey Proskuryakov
Comment 2
2007-07-24 21:52:08 PDT
Would this recommendation be reliable enough? My understanding is that there are a lot of resources that are supposed to be verified with If-Modified-Since often, and following this recommendation would cause unexpected results when they actually change. In the comments to the aforementioned article, I found a link to a more in-depth treatment of the subject: <
http://www.thinkvitamin.com/features/webapps/serving-javascript-fast
>.
Adam Roben (:aroben)
Comment 3
2008-01-29 11:03:16 PST
<
rdar://problem/5712847
>
Alexander Pavlov (apavlov)
Comment 4
2010-03-17 10:33:43 PDT
This type of recommendations is now provided in the Audits panel.
Alexander Pavlov (apavlov)
Comment 5
2010-03-18 03:49:31 PDT
Fix resolution status as advised by AP
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug