>
> Yes, you can include all the styles your site will need in one CSS, but you
> get the overhead of including styles that some pages will not need. Same
> thing with JS.
>
As Saša Stamenković stated you should minify your css/js for the reason
he mentioned.
It's not good practice to multiply the request to fetch the CSS and JS.
Take a look here for an implemtation of minify embed in a View Helper:
没有评论:
发表评论