New issue
Advanced search Search tips

Issue 678501 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Oct 22
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Compat



Sign in to add a comment

Cannot clear V8 cache

Reported by khym.cha...@gmail.com, Jan 5 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Attempt to clear the V8 cache for a page by either doing Ctrl-Shift-R, or by going to chrome://settings/clearBrowserData and selecting "cached images and filed".

What is the expected behavior?
V8 cache is cleared.

What went wrong?
V8 cache isn't cleared.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 55.0.2883.87  Channel: stable
OS Version: Fedora 25
Flash Version: Shockwave Flash 24.0 r0

I have been unable to reproduce the problem, and this is only a guess, but I'm pretty sure I'm on the right track.  What lead me to my conclusion:

1) There was a JavaScript problem at a certain website.  Ctrl-Shift-R, nor did clearing all cached images and files, nor did restarting the browser.

2) Restarting the browser with experiments disabled made the problem go away.

3) Restarting the browser again with experiments re-enabled brought the problem back.

4) Restarting the browser with chrome://flags/#v8-cache-strategies-for-cache-storage changed from "Normal" to "Disabled" made the problem go away again.

5) Restarting the browser yet again with V8 caching set to "Normal" did *NOT* bring the problem back.

Thus I conclude that starting the browser with V8 caching explicitly disabled (as opposed to disabling all extensions from the command line) cleared/emptied the V8 cache, when nothing else I tried to that point had.
 

Comment 1 by ajha@chromium.org, Jan 6 2017

Components: Internals>Network>Cache
Labels: Needs-Triage-M55
Labels: Needs-Feedback
chrome://flags/#v8-cache-strategies-for-cache-storage is for resources in CacheStorage, which is not the normal HTTP cache. Are you using CacheStorage on your site? If not, that shouldn't be related.

Ctrl-Shift-R should completely bypass the cache. Also, if you open devtools and check "disable cache" you won't get cached v8. 
How do I check if a site use CacheStorage?
Open dev-tools, go to the "Application" section, and click on "Cache Storage" on the left side. If something shows up then the site uses CacheStorage.
The site in question (pixiv.net) does not use CacheStorage, so I don't know why turning CacheStorage off fixed the problem.
Project Member

Comment 6 by sheriffbot@chromium.org, Jan 25 2017

Labels: -Needs-Feedback Needs-Review
Owner: jkarlin@chromium.org
Thank you for providing more feedback. Adding requester "jkarlin@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
If there is no CacheStorage use on the site, then my best guess is that the chrome://flags/#v8-cache-strategies-for-cache-storage flag was unrelated.

chrome://settings/clearBrowserData will certainly clear your v8 cache.

So I'd suggest that the issue isn't related to cached v8. It could be related to an experiment, though I don't know which. If you can get the issue to reproduce again please let us know, otherwise I'm not sure there is much I can do.

Comment 8 by cda...@chromium.org, Mar 13 2017

Cleaning up "Needs-Review" label as we are not using this label for triage. Ref  bug 684919 

Comment 9 by cda...@chromium.org, Mar 13 2017

Labels: -Needs-Review
@khym: Can you please provide your input to comment#7?

Thanks,
GS
Sorry, I don't know how to make the problem reproduce.
Status: Archived (was: Unconfirmed)

Sign in to add a comment