CSS Minification and gzip
To improve performance FaveBusiness loads all of its CSS through a single file called
css.php automatically combines the theme CSS files into a single file. It also:
- Minifies the CSS (strips tabs/comments/linebreaks)
- gzips the output
- Sends CSS headers (making it appear as a CSS file to the browser)
- Sets cache headers to 1 day
This allows developers to have the convenience of organized stylesheets and well-commented code, without compromising on performance.