Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Faster CSS! Re: Faster CSS!

#120105
ooredroxoo
Member

@mostafaghanbari, its depends, if you have a big css for another section (another page) of the site maybe you should put on a separated file, if the user ever hits that section that stylesheet is loaded, but if not they don’t need to load.

If isn’t so big just shove all on the same CSS.

Besides that try to use caching as viewed on Screencast [#114: Let’s Do Simple Stuff to Make Our Websites Faster](https://css-tricks.com/video-screencasts/114-lets-do-simple-stuff-to-make-our-websites-faster/) quoted from @Bonzai and if needed [Requirejs.org – WHAT ABOUT LOADING CSS?](http://requirejs.org/docs/faq-advanced.html#css)