Disabled no-cache for JS/CSS

This commit is contained in:
Said Achmiz 2020-02-16 17:45:51 -05:00
parent 09195334d1
commit f891cd84ae

View File

@ -1,9 +1,9 @@
AddCharset utf-8 .shtml .html .css .php .txt .js AddCharset utf-8 .shtml .html .css .php .txt .js
# Disable caching of CSS and JS (for testing only). # Disable caching of CSS and JS (for testing only).
<filesMatch ".(css|js)$"> # <filesMatch ".(css|js)$">
Header set Cache-Control "max-age=0, public" # Header set Cache-Control "max-age=0, public"
</filesMatch> # </filesMatch>
Options +Includes Options +Includes
AddType text/html .shtml AddType text/html .shtml