Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ RedirectMatch permanent ^/xref/(.*)\.html$ https://git-wip-us.apache.org/repos/a
# Redirect 0.94 pages to main site
RedirectMatch permanent ^/0.94/(.*)$ /$1
Redirect permanent /0.94 /

ErrorDocument 404 /404/index.html

<IfModule mod_headers.c>
Header always set Cache-Control "no-cache, must-revalidate"

<FilesMatch "\.(?:css|js|mjs|gif|ico|jpe?g|png|svg|webp|avif|woff2?|ttf|otf|eot|pdf)$">
Header always set Cache-Control "public, max-age=2592000, immutable"
</FilesMatch>
</IfModule>