Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Cache-control: no-cache is not working in firefox

  • Nie ma odpowiedzi
  • 1 osoba ma ten problem
  • 10 wyświetleń
more options

I had my website which sends the response header as cache:control set to "no-store, no-cache". After logout when the user is pressing the back button user is thrown with the cache-expired page, this is working fine. But if the user clicks on the view-page-source on the cache expired page, user is thrown with the source code of the previous logged in page.

Do we need any specific response header for mozilla to disable the caching of the source code ? Your help is appreciated.

Thanks in advance.

I had my website which sends the response header as cache:control set to "no-store, no-cache". After logout when the user is pressing the back button user is thrown with the cache-expired page, this is working fine. But if the user clicks on the view-page-source on the cache expired page, user is thrown with the source code of the previous logged in page. Do we need any specific response header for mozilla to disable the caching of the source code ? Your help is appreciated. Thanks in advance.