Optimize performances
This commit is contained in:
parent
e4d6ab7a97
commit
0db96bad5d
3 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
AddType application/x-web-app-manifest+json .webapp
|
||||
Addtype font/truetype .ttf
|
||||
|
||||
<ifmodule mod_expires.c>
|
||||
ExpiresActive On
|
||||
ExpiresByType application/javascript "access plus 1 week"
|
||||
|
@ -6,11 +8,16 @@ AddType application/x-web-app-manifest+json .webapp
|
|||
ExpiresByType image/png "access plus 1 week"
|
||||
ExpiresByType image/jpeg "access plus 1 week"
|
||||
ExpiresByType image/svg+xml "access plus 1 week"
|
||||
ExpiresByType font/truetype "access plus 1 week"
|
||||
</ifmodule>
|
||||
|
||||
FileETag None
|
||||
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^ index.php [QSA,L]
|
||||
|
||||
Redirect permanent /api.php /video
|
||||
Redirect permanent /extractors.php /extractors
|
||||
|
||||
AddOutputFilterByType DEFLATE text/css text/html application/javascript
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue