Browse Source

Disabled no-cache for JS/CSS

master
Said Achmiz 5 years ago
parent
commit
f891cd84ae
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      .htaccess

+ 3
- 3
.htaccess View File

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)$">
Header set Cache-Control "max-age=0, public"
</filesMatch>
# <filesMatch ".(css|js)$">
# Header set Cache-Control "max-age=0, public"
# </filesMatch>


Options +Includes Options +Includes
AddType text/html .shtml AddType text/html .shtml

Loading…
Cancel
Save