When the response header is
Cache-Control : no-store
Firefox stores in memory cache device.
If the response header is
Cache-Control : no-cache
then firefox stores in disk cache device.
If the response header is
Cache-Control : no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
then firefox stores in memory cache device
However firefox caching the request in any of one cache device. How to avoid that
Cache-Control
header should cause Firefox to revalidate the cached responses each time, rather than serving/displaying stale data to the end user. – Castaglia