Quellcode durchsuchen

Disabled no-cache for JS/CSS

master
Said Achmiz vor 5 Jahren
Ursprung
Commit
f891cd84ae
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3
    3
      .htaccess

+ 3
- 3
.htaccess Datei anzeigen

@@ -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

Laden…
Abbrechen
Speichern