jorritdenbroeder/openwheels-frontend/develop/src/.htaccess - Htaccess File

jorritdenbroeder/openwheels-frontend/develop/src/.htaccess

DirectoryIndex index.html

<IfModule mod_headers.c>
    Header set X-Frame-Options SAMEORIGIN
</IfModule>

<FilesMatch ".(json)$">
  FileETag None
  <ifModule mod_headers.c>
     Header unset ETag
     Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
     Header set Pragma "no-cache"
     Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
  </ifModule>
</FilesMatch>

# Use UTF-8 encoding for anything served as `text/html` or `text/plain`.
AddDefaultCharset utf-8

# Force UTF-8 for certain file formats.
<IfModule mod_mime.c>
    AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml
</IfModule>

On Github License

Files

Download PDF of Htaccess file
no-cache, ORIGIN, Pragma

Comments

Apache