Joomla.it Forum
Joomla! 3 => Joomla! 3 => : danielitob 13 Sep 2018, 10:14:06
-
Buongiorno a tutti,
con PageSpeed Insights ho notato di aver problemi con il Leverage Browser Caching.
In particolare, mi risulta che i seguenti file non siano cachati:
http://mysite/ (http://mysite/)…template/gzip.php?bootstrap-25d11438.css (24 ore)
http://mysite/ (http://mysite/)…plate/gzip.php?bootstrap.min-4e7c2b94.js (24 ore)
http://mysite/ (http://mysite/)…media/template/gzip.php?core-44a54554.js (24 ore)
http://mysite/ (http://mysite/)…/template/gzip.php?frontend-adb26d3e.css (24 ore)
http://mysite/ (http://mysite/)…/gzip.php?jquery-migrate.min-2fd5f2a1.js (24 ore)
http://mysite/ (http://mysite/)…e/gzip.php?jquery-noconflict-2525a6aa.js (24 ore)
http://mysite/ (http://mysite/)…template/gzip.php?jquery.min-711e9bde.js (24 ore)
http://mysite/ (http://mysite/)…query.osdownloads.bundle.min-e71e7ba2.js (24 ore)
http://mysite/ (http://mysite/)…plate/gzip.php?mootools-core-d89f6616.js (24 ore)
http://mysite/ (http://mysite/)…a/template/gzip.php?punycode-486180ac.js (24 ore)
http://mysite/ (http://mysite/)…te/gzip.php?style-5.2.7.min-56607fcf.css (24 ore)
http://mysite/ (http://mysite/)…edia/template/gzip.php?theme-0a39633b.js (24 ore)
http://mysite/ (http://mysite/)…dia/template/gzip.php?theme-e7d94d54.css (24 ore)
http://mysite/ (http://mysite/)…a/template/gzip.php?validate-353ef1e4.js (24 ore)
Come faccio a metterli in cache? Nel mio .htaccess ho:
# Optimize cache-control
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
</IfModule>
Grazie a chi potrà aiutarmi
un saluto, daniele