Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrandon Brigham
3,716 PointsTo speed up performance on your site is it possible to put all scripts onto one page?
I'm responding to a client's RFP and they are wanting all scripts to be loaded onto one script page. Is this possible?
Also they are asking that all CSS be implemented on one stylesheet.
They are asking for a site done in WordPress which usually has many scripts and many CSS pages. Is it unreasonable that they are asking this?
They happen to be a huge worldwide company too....
Any input would be awesome. Thanks
1 Answer
David Smith
21,220 PointsThe reason to place scripts and style sheets into its own file is to reduce the amount of HTTP requests the browser has to do. It is considered to be a best practice in the web community. Below is a much more detailed explanation:
Brandon Brigham
3,716 PointsBrandon Brigham
3,716 PointsThanks David! I didn't know any of this information before reading that article.