1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
freshrss_ynh/sources/p/.htaccess
2016-07-24 12:55:45 +02:00

33 lines
898 B
ApacheConf
Executable file

<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
FileETag None
AddDefaultCharset UTF-8
<IfModule mod_mime.c>
AddCharset UTF-8 .html
AddCharset UTF-8 .js
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript application/json application/xhtml+xml image/svg+xml text/css text/html text/javascript
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/xhtml+xml "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/html "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
<FilesMatch "\.php$">
ExpiresActive Off
</FilesMatch>
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.(css|gif|html|ico|js|png|svg|woff)$">
Header merge Cache-Control "public"
</FilesMatch>
</IfModule>