Bundling css and javascript files
An interesting article on sitepoint provides with a good tip for optimising your pages load time, bundling the css and js files.
This is a good read after the article from Christian Heilmann's article: Enhance your page performance.
The two methods are very similar, but Heilman's one is quite easy to implement (using simple @import) while Paul Annesley's one requires some server's tweakings. And not sure that actual server's load time saved with the first method is much better than with the second one.
If you then make sure that you compress your files (using tools such as safecompress for js files for instance or Icey compressor for css files, and some http compression through gzip for instance), you will not need the first method.




0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home