HubSpot-Developer-Extension icon indicating copy to clipboard operation
HubSpot-Developer-Extension copied to clipboard

Add Page Cache Status to UI.

Open mattcoley opened this issue 6 years ago • 1 comments

This is a fairly straightforward request. It would be great to have some UI indicator for whether a page is cached or not. These can be read from the cache headers for a page request and perhaps be shown in an info tab?

mattcoley avatar Jul 27 '18 15:07 mattcoley

That's a neat idea!

Just throwing around ideas to work out a good way to visually implement it: Wonder if a visual indicator on the cache buster button or something would be a good solution. It could change color, or the indicator could be a circular icon that changes between green and red/yellow. and if red/yellow the page is cached. If hovered there would be alt text or title text explaining the page is/is not cached.

another option - as you said show an info tab in the popup - along with all of the returned debug info if the debug param has been used on the page.

as for implementation I think this might be the API we need to use to implement this: https://developer.chrome.com/extensions/webRequest

Cool and useful idea Matt!

TheWebTech avatar Jul 28 '18 03:07 TheWebTech