Junior — Middle
What information does the browser store in cache by default?
sobes.tech AI
Answer from AI
By default, the browser caches the following types of information:
- HTML pages
- CSS and JavaScript files
- Images
- Fonts and other static resources
Caching is based on HTTP headers such as Cache-Control, Expires, ETag, and Last-Modified. If the server does not specify special instructions, the browser can decide how long to store resources, usually based on their type and size.
Caching speeds up page loading on repeat visits by reducing the number of network requests.
It is important to note that Node.js itself does not manage the browser cache — this is client behavior, not server behavior.