Open Bug 1423175 Opened 8 years ago Updated 3 years ago

The network request list (Developer Tools -> Network) does not show my image from cache.

Categories

(DevTools :: Netmonitor, defect, P3)

57 Branch
defect

Tracking

(Not tracked)

People

(Reporter: bruinsmaarten, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce: The network request list (Developer Tools -> Network) does not show my image from cache. My Firefox version: 57.0.1 (64-bit) > Firefox is up to date The network request list (Developer Tools -> Network) does not show my image from cache. To show the problem, I have 3 files: test.html file.js test.jpg test.html contains: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Test</title> </head> <body> Test caching behavior ... <img src="test.jpg" width="250" height="166" alt="bla" /> <script src="file.js"></script> </body> </html> This is my htaccess file: <IfModule mod_headers.c> # To avoid problems i disabled the Etag, so it's only about Last-Modified. FileETag None Header unset ETag </IfModule> <IfModule mod_expires.c> # Add this, so the browser will take the files from cache without making any request. ExpiresActive On ExpiresDefault "access plus 1 month" </IfModule> Now I go to test.html in my browser. When pressing CONTROL F5, the network request list (Developer Tools -> Network) shows: test.html (200) file.js (200) test.jpg (200) When pressing F5, it shows: test.html (304) file.js (304) test.jpg (304) But when I'm pressing enter, it shows: test.html (200 from cache) file.js (200 from cache) So suddenly test.jpg is gone. In my opinion Firefox had to show this too: test.jpg (200 from cache) Actual results: Firefox did not show: test.jpg (200 from cache) Expected results: Firefox must show: test.jpg (200 from cache)
Component: Untriaged → Developer Tools: Netmonitor
Product: Firefox → DevTools
I can't reproduce it on my machine: Win10, Fx62 (Nightly) I am seeing test.jpg (with 404) when pressing Enter key in the address bar. Can you please try Nightly build? https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly Honza
Flags: needinfo?(bruinsmaarten)
Ah, I can see the problem now. Yes you are right, the image coming from the cache is not in the list. Honza
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

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