Minify CSS and JavaScript
All the style and layout information that is present on the page should be processed when
the
browser renders the content on the site. This means that till the time external stylesheets
are
downloaded and processed, the browser will block rendering. Now for it to happen, it will
need
to make multiple to and fro trips, and this will lead to taking more time to render. Now,
you
can avoid this by compressing JavaScript and CSS.
When you go for JS and CSS optimization, you work towards reducing all the unnecessary codes
in
those files. This will reduce the size of those files, and the request numbers will decrease
too.
It is possible to carry out this task manually, but then it is quite risky, so not
recommended.
So it would be better you go for a framework that offers support for JS and CSS
optimization.