Created
August 4, 2021 12:00
-
-
Save PetraMotz/8ecd61ba92d664b81c8fc20de24e0dc2 to your computer and use it in GitHub Desktop.
TYPO3 #t3 #pdf #cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in htaccess datei | |
<FilesMatch ".(doc|pdf)$"> | |
Header unset ETag | |
Header unset Pragma | |
Header unset Cache-Control | |
Header unset Last-Modified | |
Header set Pragma "no-cache" | |
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" | |
Header set Expires "Thu, 1 Jan 1970 00:00:00 GMT" | |
Header set X-Robots-Tag "noindex, nofollow" | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment