How to enable cache for localhost in Firefox?

I setup a test website on localhost:8022 and for some reason the css style sheets are not cached. The max age of a cache is set to 0 in the header Cache-Control: max-age=0:enter image description here

If I visit the site with Chrome, cache is working. If I visit other websites in Firefox like the cache is also working.

Why does Firefox send a max-age=0 in the request header for the locahost website. How can I change this behavior?

8 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like