PRUDENCE 2.0-dev15
This release involves some major refactoring of the caching mechanism in order to support a much-needed feature: caching of manual resources.
Previously, there was no automatic caching support for manual resources: you had to handle caching on your own. Now, the exact same API can be used for both scriptlet and manual resources. This feature greatly improves the ability to scale web APIs. Not only that, the caching mechanism automatically handles encoding (gzip, DEFLATE) and caches accordingly. There was a lot that needed to be changed for this to happen, and in the midst there were several small improvements and fixes that should improve the whole mechanism.
As part of this refactoring, the caching API is now in its own namespace: "caching". So the APIs are now: caching.duration, caching.tags, caching.keyPattern, etc. This was necessary mostly to support dispatched resources, which are independently cached, even is several live in the same "document".
Also, finally there is a complete and comprehensive tutorial for Prudence 2.0! A lot of effort went into it, and I hope you can go through it and let me know if anything does not work as stated:
http://threecrickets.com/prudence/manual/tutorial/Generally, much of the Prudence Manual has been fleshed out, though there still a few missing chapters.
Other important changes:
- Switched to Jetty 9.1.0, the fastest Jetty yet! (requires JVM 7)
- New API: conversation.wildcard, a shortcut to getting the remainder when capturing URIs ending in wildcards
- Compression settings are now configured globally in settings.js
- The "app.dispatchers" is now optional in routing.js
- Debug page shows even more data
SINCERITY 1.0-dev19- Fixes for Windows
- Upgrade Jetty skeletons to use Jetty 9.1.0; much improved logging configuration
SCRIPTURIAN 1.0.13, DILIGENCE 1.0-dev9- Updated in relation to all the above fixes