Parcourir la source

Disabled no-cache for JS/CSS

master
Said Achmiz il y a 5 ans
Parent
révision
f891cd84ae
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      .htaccess

+ 3
- 3
.htaccess Voir le fichier

@@ -1,9 +1,9 @@
AddCharset utf-8 .shtml .html .css .php .txt .js

# 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
AddType text/html .shtml

Chargement…
Annuler
Enregistrer