NGINX CSS optimizer module?

Casey Jordan casey.jordan at
Fri Jan 13 18:10:45 UTC 2012

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

However, on development servers we would need to disable caching of the
files so that we could see our changes take effect in real time.



On Fri, Jan 13, 2012 at 1:08 PM, Valentin V. Bartenev <ne at> wrote:

> 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
> _______________________________________________
> nginx mailing list
> nginx at

Casey Jordan
easyDITA a product of Jorsek LLC
"CaseyDJordan" on LinkedIn, Twitter & Facebook
(585) 348 7399

This message is intended only for the use of the Addressee(s) and may
contain information that is privileged, confidential, and/or exempt from
disclosure under applicable law.  If you are not the intended recipient,
please be advised that any disclosure  copying, distribution, or use of
the information contained herein is prohibited.  If you have received
this communication in error, please destroy all copies of the message,
whether in electronic or hard copy format, as well as attachments, and
immediately contact the sender by replying to this e-mail or by phone.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list