X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/a9d42179afd30d7d3291bb1f8b28f19e95da50fd..HEAD:/.htaccess diff --git a/.htaccess b/.htaccess index 61d5f36..90f32b4 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,7 @@ Options -MultiViews -Indexes DirectoryIndex index.plp DirectorySlash Off +AddCharset utf-8 .txt RewriteEngine on RewriteBase / @@ -33,9 +34,12 @@ RewriteCond %{HTTP_ACCEPT} \bimage/webp RewriteCond %{DOCUMENT_ROOT}/$1.webp -f RewriteRule (.*)\.jpg$ $1.webp -# allow browsers to cache for upto a month +# allow browsers to cache static assets for upto a month - + +Header set Cache-Control "max-age=2592000" + + Header set Cache-Control "max-age=2592000" Header set Access-Control-Allow-Origin "*"