Issue metadata
Sign in to add a comment
|
Add ability to exclude assets from disabled cache
Reported by
artur.mi...@gmail.com,
Mar 2 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36 Steps to reproduce the problem: 1. Open Dev Tools and tick "Disable cache" under Network 2. All assets will make network request which is OK 3. I'd like to perform right mouse click in network timeline and mark asset as "excluded from disable cache" 4. Selected asset should be highlighted to indicate state. What is the expected behavior? I would like to be able to click on some resources and mark them as excluded from "Disable cache". This would improve performance of development because there is usually attached third party library like Angular or jQuery and they don't need to be invalidated during every page refresh. There may be option to do this also in other way around. When "disable cache" is ticked off then you can mark assets as disabled from cache. What went wrong? This is feature request. Please move to correct place if it is in wrong category. Did this work before? N/A Chrome version: 47.0.2526.111 Channel: n/a OS Version: OS X 10.11.2 Flash Version: Shockwave Flash 20.0 r0
,
Mar 14 2016
I think this is hardly worth the additional UI complexity for managing the list of excluded resources. The "disable cache" feature is primarily for quickly obtaining realistic network timings rather than help in refreshing recently modified resources -- expire header configuration could be used on the development server for the latter.
,
Mar 21 2016
From my development experience excluding assets from cache is used really often due to preventing errors related to not refreshed cache. Leveraging headers is an option but in my opinion it creates even more hustle. It's really often that as frontend developer you don't have possibility to set them. Moreover it requires additional level for maintenance (dev config vs stage vs prod). I think that Dev Tools is perfect place for frontend developers to manage this. I have also another scenario which is can happen for everyone. Let imagine that you are out of the office but with pc and really bad internet connection and you need to make bugfix. Then the simplest thing is to enable cache to not speedup fixing with disabled asset on which you're working on. Regarding UX i had idea that you'll just mark items in Network panel in different color and disable/enable single item by right mouse click (menu with copy as cURL). I can give you screenshots if you like. Sorry for late response, i was offline. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by jonathan.garbee@chromium.org
, Mar 2 2016Status: Untriaged (was: Unconfirmed)