Closed Bug 1430359 Opened 6 years ago Closed 5 years ago

Disable HTTP Cache does not work after use performance analysis

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(firefox59 wontfix, firefox68 fixed)

RESOLVED FIXED
Firefox 68
Tracking Status
firefox59 --- wontfix
firefox68 --- fixed

People

(Reporter: magicp.jp, Assigned: hemakshis, NeedInfo)

Details

Attachments

(1 file)

Steps to reproduce:
1. Launch Nightly
2. Open Netmonitor
3. Enable "Disable cache"
4. Go to any sites
5. Start performance analysis
6. Click "Back" button
7. Reload current page

Actual results:
"Disable cache" does not work after use performance analysis.

Expected results:
"Disable cache" works.
Thanks for the report, I can reproduce the issue using STR in comment #0
Honza
Has STR: --- → yes
Product: Firefox → DevTools

Hi!

I have a solution for this. We can again do a reload with cache disabled (if Disabled Cache is checked) while returning from the statistics panel, this way on subsequent reloads we will have the expected behaviour.

I am attaching a patch with this proposed solution. :)

Hemakshi

Added a condition in the openStatistics action to check if Disabled Cache is checked, if yes, do a reload with cache disabled

Flags: needinfo?(odvarko)

Commented in Phabricator.

Honza

Flags: needinfo?(odvarko)
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3ad61ef0d62d
Disable HTTP Cache does not work after use of performance analysis. r=Honza
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Assignee: nobody → sachdev.hemakshi
Flags: qe-verify+

I am attempting to verify the fix of this bug but I need some detailed information in order for me to verify it correctly.

These are the steps I took, I need some corrections and details:

  1. Launch browser (latest Nightly and latest Beta should contain the fix, at this moment);
  2. Open Netmonitor (CTRL+SHIFT+E on Windows);
  3. Check the "Disable cache" checkbox;
  4. Open random web page;
  5. Clear the NetMonitor of events by the "Recycle Bin" icon;
  6. Click on the "Stopwatch" icon to start performance analysis;
  7. Click the "Back" button -> which back button? on the net monitor or the browser's main back button?
  8. Reload the current page.

Actual results:
"Disable cache" does not work after use performance analysis. -> what exactly does that mean? how do I verify that?

Expected results:
"Disable cache" works. -> what exactly does that mean? how do I verify that?

Please help me with the information I need in order to verify this bug. Thank you.

Flags: needinfo?(sachdev.hemakshi)

(In reply to Bodea Daniel [:danibodea] from comment #7)

  1. Click on the "Stopwatch" icon to start performance analysis;
  2. Click the "Back" button -> which back button? on the net monitor or the browser's main back button?

On the netmonitor a vertical bar saying "back" on the left of the netmonitor

  1. Reload the current page.

Actual results:
"Disable cache" does not work after use performance analysis. -> what exactly does that mean? how do I verify that?

Earlier when you reloaded the page, you were able to see "cached" requests which contradicts the fact that the "Disable Cache" is still checked.

Expected results:
"Disable cache" works. -> what exactly does that mean? how do I verify that?

Now after these changes, when we reload the page after coming back from the performance analysis page we are able to see fresh, non-cached requests.

Flags: needinfo?(sachdev.hemakshi)

This issue appears as it still occurs in Nightly v69.0a1 (2019-06-12) and Beta v68.0b9 on Windows 10.

Flags: needinfo?(sachdev.hemakshi)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: