Skip to content

Prevent caching of html files

Andrey Azov requested to merge html-no-cache into master

According to mdn.io docs, the no-store header should prevent caching of the page entirely: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

Surprisingly, people on Stackoverflow tend to use no-store together with no-cache, must-revalidate, and max-age=0. Not sure why.

Merge request reports