Skip to content
Merged
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
6 changes: 6 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ RewriteRule ^(.*)$ $1.html [L]
# Otherwise, fall back to the main app shell so client-side routing can show a proper 404
RewriteRule ^ index.html [L]
</IfModule>

<IfModule mod_headers.c>
<FilesMatch "\.(js|css)$">
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
</IfModule>
Loading