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 trialJoel Pendleton
19,230 PointsWhat does he mean by 'serve static files' and what's the task he is asking we do?
What does he mean by 'serve static files' and what's the task he is asking we do?
2 Answers
Chyno Deluxe
16,936 PointsHe is suggesting that you take the css that is embedded in all files and create a single external css file and serve that through node.js.
jason chan
31,009 PointsStatic files are the files that never change. .css, cdn like jquery, and .html files are static.
For node js and with express library. It would be jade. jade converts into html. Which is a static page. Then it's cached in the server so it get's served faster.
I hope that helps.
Susan Rusie
10,671 PointsFrom what you are saying, the idea is see the 'css' file in the browser when you run Node?