Optimize performances

This commit is contained in:
Pierre Rudloff 2016-03-22 01:56:37 +01:00
parent e4d6ab7a97
commit 0db96bad5d
3 changed files with 8 additions and 1 deletions

View file

@ -1,4 +1,6 @@
AddType application/x-web-app-manifest+json .webapp AddType application/x-web-app-manifest+json .webapp
Addtype font/truetype .ttf
<ifmodule mod_expires.c> <ifmodule mod_expires.c>
ExpiresActive On ExpiresActive On
ExpiresByType application/javascript "access plus 1 week" 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/png "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week" ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/svg+xml "access plus 1 week" ExpiresByType image/svg+xml "access plus 1 week"
ExpiresByType font/truetype "access plus 1 week"
</ifmodule> </ifmodule>
FileETag None FileETag None
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L] RewriteRule ^ index.php [QSA,L]
Redirect permanent /api.php /video Redirect permanent /api.php /video
Redirect permanent /extractors.php /extractors Redirect permanent /extractors.php /extractors
AddOutputFilterByType DEFLATE text/css text/html application/javascript

View file

@ -17,5 +17,6 @@
&middot; &middot;
</div> </div>
</footer> </footer>
<script src="{siteUrl|noscheme|replace:'index.php':'' url='dist/main.js'}"></script>
</body> </body>
</html> </html>

View file

@ -22,7 +22,6 @@
<meta name="twitter:creator" content="@Tael67" /> <meta name="twitter:creator" content="@Tael67" />
<meta name="twitter:description" content="Easily download videos from Youtube, Dailymotion, Vimeo and other websites." /> <meta name="twitter:description" content="Easily download videos from Youtube, Dailymotion, Vimeo and other websites." />
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script> <script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
<script src="{siteUrl|noscheme|replace:'index.php':'' url='dist/main.js'}"></script>
<meta itemprop="applicationCategory" content="Download" /> <meta itemprop="applicationCategory" content="Download" />
<meta itemprop="operatingSystem" content="Linux" /> <meta itemprop="operatingSystem" content="Linux" />
<meta itemprop="operatingSystem" content="Mac OS X" /> <meta itemprop="operatingSystem" content="Mac OS X" />