Hi, I'm proposing/+releasing my deflate compression plugin for monkey, I
explain shortly how it works:
In the conf file you can add directories relative to the htdocs folder
which will be watched and served compressed. The plugin creates a hidden
compressed version of each file in the watched folders and compresses and
serves that version of the file when a request comes in for the normal
file. This is the most efficient way to do it, every file only gets
compressed only a single time, no runtime compression.
It watches the directory with inotify and recompresses files on change
event, so you can even have it running during development and deployment,
and it will serve new files you add as compressed too.

It uses the raw deflate algorithm from zlib, therefore it will work in all
browsers except <= Android 1.6, if I remember my initial research
correctly. It's both faster and more efficient than gzip.

Attachment: 0001-Add-deflate-plugin-for-compressing-files-in-selected.patch
Description: Binary data

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to