Antiweb 4.0BETA8

4 views
Skip to first unread message

do...@hcsw.org

unread,
Oct 27, 2008, 9:26:11 PM10/27/08
to ant...@googlegroups.com
We just released BETA8:

http://hoytech.com/antiweb/beta/antiweb-4.0BETA8.tar.gz

Here are the most relevant changes:

New feature: jsmin

http://hoytech.com/antiweb/manual.awp/worker.html#JSMIN

Enables "javascript minification". Files that end in .js in your
HTML root will be minified, gzip compressed, and stored in the
cache. Minification removes comments, unnecessary whitespace, etc
from your javascript files for more efficient use of bandwidth
and faster loading pages.

(Maybe we will add a :cssmin option at some point too.)

Important changes:

* Major AWP clean-up.
WARNING: The AWP docs are out-of-date in a few places now.
Fixing this is a high priority.

* Important stability fix: There were some places we didn't
think the kernel would ever give EAGAINs. If it did, AW
would terminate as a precaution. It turns out this can
happen in some very rare cases so now EAGAIN is handled
and logged everywhere. We verified that the log messages
will be delivered correctly even if the EAGAIN occurs
while handling a log message delivery.

* The BerkeleyDB interface has changed a lot and will probably
continue to change. We tested db_hotbackup and it works great
even under heavy load (I love BDB). with-bdb-transaction will
not do auto-checkpointing anymore. You must do this manually.

* Referer and user-agent headers are now logged in the axslog
file. Note the logs aren't yet 100% apache compatible.


Here's the full changelog:


4.0BETA8 Oct 27, 2008

* EAGAIN is always handled and logged.
* with-bdb-checkout API changes:
* Default is now :read-only t (use :write-out t)
* with-bdb-checkout is now a progn form
* :cached is gone
* bdb-get-all serialises keys now
* Added bdb-iterate and bdb-collect
* Can't use symbols in bdb keys now
* with-bdb-transaction no longer auto-checkpoints
* Added MIME type for .deb
* There is now an aw-extra-cflags parameter that can be
setq in local.lisp
* AWP cleaned up. See awp-reserved-options variable for
all the xconf options.
* $ip now holds client's IP in :rewrite phase
* ip can be used in get-handler and post-handler
* Added jsmin.lisp by Ury Marshak to bundled/
* Added :jsmin for automatic javascript minification
* axslogs now include referer and user-agent

signature.asc
Reply all
Reply to author
Forward
0 new messages