NGINX CSS optimizer module?

Alexandr Gomoliako zzz at zzz.org.ua
Fri Jan 13 22:45:54 UTC 2012


On Sat, Jan 14, 2012 at 12:20 AM, Casey Jordan <casey.jordan at jorsek.com> 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.

> Ideally, on production server it would cache the result and serve
> that on all following requests.

Pretty trivial task for nginx-perl. Shouldn't take long to implement if you are
already familiar with embedded perl.



More information about the nginx mailing list