[Webkit-unassigned] [Bug 21493] New: WebCore::Cache adds resources which should never be cached
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 8 18:52:55 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21493
Summary: WebCore::Cache adds resources which should never be
cached
Product: WebKit
Version: 525.x (Safari 3.1)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ddkilzer at webkit.org
CC: ggaren at apple.com, koivisto at iki.fi
* SUMMARY
The WebCore::Cache tends to add resources that it shouldn't (like tiny "images"
that are used to gather statistics) when loading a web page. This happens
because the Expires, Pragma and Cache-Control headers are not checked before
the resource is added to the cache. The result is that these items rarely (if
ever) get removed from the cache because they're so tiny and the cache size is
so large on modern desktop computers.
* STEPS TO REPRODUCE
1. Launch Safari with a debug build of WebKit.
2. Go to URL: http://googlemapsmania.blogspot.com/
3. For each Google Maps web site linked on the right side of the page:
3a. Click on the link.
3b. Wait for the page to load.
3c. Click back.
* RESULTS
"Images" with URLs like the following are cached when they should not be.
(NOTE: You must add more information to dumpLRULists(true) to see the URLs for
each resource.)
http://c8.statcounter.com/t.php?sc_project=903528&resolution=1920&h=1200&camefrom=&u=http%3A//googlemapsmania.blogspot.com/&t=Google%20Maps%20Mania&java=1&security=5d533acd&sc_random=0.29789417516440153
http://www.google-analytics.com/__utm.gif?utmwv=4.3&utmn=1468457514&utmhn=googlemapsmania.blogspot.com&utmcs=UTF-8&utmsr=1920x1200&utmsc=24-bit&utmul=en-us&utmje=1&utmfl=9.0%20r124&utmdt=Google%20Maps%20Mania&utmhid=1842576464&utmr=-&utmp=/&utmac=UA-269511-8&utmcc=__utma%3D109382163.219521200792548670.1222901069.1223404926.1223409971.12%3B%2B__utmz%3D109382163.1222901069.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B
* REGRESSION
Unknown. This behavior has probably existed since the cache was written.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list