Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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

  • Žiadne odpovede
  • 1 má tento problém
  • 10 zobrazení
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.