What are cached window objects in the about:memory tab in firefox?
Hi, I have multiple test pages, and when i refresh multiple .html page one after the other, i can see the memory growing. When i hit the measure button in the about:memory tab, I see the active window object for my current html page, but i also see a child node called cached with window objects from the previous loaded .html pages.
Could someone help me understand this behavior? Thanks
Alle antwurden (5)
This would be cached parts of the pages kept in memory until no longer needed or is flushed by amount of more tabs opened . This is normal behavior of all browsers and ram.
Is there any way to avoid caching parts of pages after navigating away from it?
muthu90ec said
Is there any way to avoid caching parts of pages after navigating away from it?
Firefox should not be caching pages after navigating away from them. If you leave a tab open and the updates will cache the new changes.
What is it you are trying to achieve please. ??
Yes that's what i thought, but I have two pages for eg: localhost:8080/some/path/page1.html localhost:8080/som/path/page2.html Note page1.html and page2.html loads similar js resources.
Navigating away from page1.html to page2.html and in the about:memory page i still can see cached window objects int page1.html, i am trying to understand why that would be the case
- https://www-archive.mozilla.org/docs/netlib/cachefaq.html
- https://wiki.archlinux.org/index.php/Firefox/Profile_on_RAM
- https://aist.global/en/what-is-cache-why-cache-is-needed
That was explained in my 1st answer. Go to 30 more pages and it will probably be gone and replaced with other info.
If your not having a problem. You should be able to do your own research on this.
Please let us know if this solved your issue or if need further assistance.