Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Disable cache
- <filesMatch "\.(html|htm|js|css)$">
- FileETag None
- <ifModule mod_headers.c>
- Header unset ETag
- Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
- Header set Pragma "no-cache"
- Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
- </ifModule>
- </filesMatch>
- RewriteEngine on
- # Angular routing
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^ index.html [L]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement