NGINX CSS optimizer module?

Valentin V. Bartenev ne at vbart.ru
Fri Jan 13 18:08:09 UTC 2012


On Friday 13 January 2012 21:47:32 Casey Jordan wrote:
[...]
> 
> I am looking for a feature which I hope NGINX supports, and that is
> optimization of serving CSS files, specifically around minimizing and
> resolving @import statements server side.
> 
> For instance, to better manage the hundreds of css files we have, we
> started breaking them up and using the @import directive. Obviously this
> slows things down quite a bit because the browser has to make lots of
> additional requests.
> 
> I am looking for a way to have NGINX automatically resolve all @imports so
> when it servers a CSS file so it has no dependencies.
> 
> Any feedback would be much appreciated!
> 

Do you want to do such resource-intensive task on every request?

wbr, Valentin V. Bartenev



More information about the nginx mailing list