1

Environment LAMP - Compile automatically css file (@import)

view story
linux-howto

http://stackoverflow.com – As a lot of you, i have one css file regrouping all css file of my website using @import I know this is not the best way to do, especially if we are looking to gain transaction performance between client and server (less queries, less weight) but in my situation the visitor will certainly (in most of time) brought to visit all the page of my website, so including all the css file for all the page isn't a very bad choice But doing that with the import method, the client will query each file, exemple my global.css file contains : @import 'test.css' @import 'index.css' @import 'love.cs (HowTos)