Async operations on cached files

Matthieu Tourne matthieu.tourne at
Wed Dec 29 04:09:39 MSK 2010

Hi all,

I was wondering what could be a good way to spawn off processes to modify
cached file, to perform operations that would be too long to perform as
inline filters.
The practical example I have is running the yui-compressor on JS and CSS

I was thinking that this could be done directly on the cached files
themselves, as a process completely decoupled from nginx but this doesn't
seem ideal, and cache->sh->size would probably hold an incorrect value for
the total cache size.

Would there be a way to build that directly into nginx?
Thank you,


Matthieu Tourne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list