Quantcast
Viewing all articles
Browse latest Browse all 2258

General Questions/New to Joomla! 4.x • Re: CSS and javascript not compressed

All Joomla core CSS and JS files come in three versions, for example, template.css, template.min.css and template.min.css.gz. The min version has all white space removed so is not human readable. The gz version is gzip compressed. A normal production web site requests the min version and is sent the gz version. The simple template.css version is only sent in debug mode to help with debugging.

So the only files to worry about are your own css and js files, which could be user.css and user.js. But they are usually so small that they don't need minimisation and compression.

If your site is slow it is most unlikely to be due to uncompressed js and css files.

Try Page Speed Insights: https://pagespeed.web.dev/

Statistics: Posted by ceford — Tue Feb 13, 2024 9:58 am



Viewing all articles
Browse latest Browse all 2258

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>