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 files.

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