Async operations on cached files

Matthieu Tourne matthieu.tourne at gmail.com
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
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.

-- 
Matthieu Tourne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20101228/f807a087/attachment-0001.html>


More information about the nginx-devel mailing list