WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
186060
Store 0-lifetime stylesheets / scripts into the disk cache for faster history navigations
https://bugs.webkit.org/show_bug.cgi?id=186060
Summary
Store 0-lifetime stylesheets / scripts into the disk cache for faster history...
Chris Dumez
Reported
2018-05-29 13:52:47 PDT
Store 0-lifetime stylesheets / scripts into the disk cache for faster history navigations. In particular, on apple.com, several of the scripts / stylesheets currently do not get stored because our current heuristic thinks they are unlikely to be reused. For e.g.: Summary URL:
https://www.apple.com/ac/globalfooter/3/en_US/styles/ac-globalfooter.built.css
Status: 200 OK Request No request, served from the disk cache. Response Date: Tue, 29 May 2018 20:41:41 GMT Connection: keep-alive Content-Encoding: gzip Access-Control-Allow-Origin:
https://www.apple.com
Expires: Tue, 29 May 2018 20:41:41 GMT Cache-Control: max-age=0 Content-Length: 5212 Vary: Accept-Encoding Content-Type: text/css Server: Apache X-Check-Cacheable: YES X-Serial: 6858
Attachments
Patch
(2.34 KB, patch)
2018-05-29 13:58 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(2.35 KB, patch)
2018-05-29 14:39 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-05-29 13:53:23 PDT
<
rdar://problem/40627270
>
Chris Dumez
Comment 2
2018-05-29 13:58:22 PDT
Created
attachment 341515
[details]
Patch
Geoffrey Garen
Comment 3
2018-05-29 14:34:46 PDT
Comment on
attachment 341515
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=341515&action=review
r=me
> Source/WebKit/ChangeLog:9 > + Tweak our storeUnconditionallyForHistoryNavigation logic to match resources' whose priority
resources
Chris Dumez
Comment 4
2018-05-29 14:39:33 PDT
Created
attachment 341519
[details]
Patch
WebKit Commit Bot
Comment 5
2018-05-29 15:14:09 PDT
Comment on
attachment 341519
[details]
Patch Clearing flags on attachment: 341519 Committed
r232275
: <
https://trac.webkit.org/changeset/232275
>
WebKit Commit Bot
Comment 6
2018-05-29 15:14:10 PDT
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 7
2018-06-02 16:34:49 PDT
Reverted
r232275
for reason: May have caused a ~1% PLT regression on iOS Committed
r232447
: <
https://trac.webkit.org/changeset/232447
>
Chris Dumez
Comment 8
2018-06-06 12:42:24 PDT
Apparently too costly. I don't have a better idea at the moment.
Antti Koivisto
Comment 9
2018-06-06 12:58:37 PDT
This seems like something the site should fix rather than something we should optimise for.
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