Alkarex/FreshRSS/dev/p/.htaccess - Htaccess File

Alkarex/FreshRSS/dev/p/.htaccess

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

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache