Releases: ledgetech/ledge
Releases · ledgetech/ledge
v2.0.4 - Coroutine errors
Increment version
v2.0.3 - Purge bugfix
Fixes bug where cached response with no body could not be purged
v2.0.2: hotfix
Fixes an issue where the main cache key was not fully overridden.
Hotfix release
Fixes issue with partial cache entries and stale-while-revalidate headers serving broken responses.
v2.0.0: Merge pull request #158 from hamishforbes/master
Fixes for metadata transaction abort
v1.28
- Fixed issue where
Surrogate-Capability
parser incorrectly looked for our current host name to match (thanks @hamishforbes) ORIGIN_MODE_AVOID
now properly ignores request validators
v1.27.3
- Fixed issue where local validation would pass if a validator was present but respective
Etag
orLast-Modified
was not (local validation should always fail in this case). Thanks @hamishforbes
v1.27.2
v1.27.1
v1.27
Features
- Major data structure refactor to reduce the number of keys. If you wish to retain cache on upgrading, you must run
migrations/1.26-1.27.lua
- Introduced support for RFC5861 to control and improve stale content semantics
Note: The oldmax_stale
andstale_if_error
configuration options have been removed, setting them will do nothing - use theCache-Control
extensions described in RFC5861 instead - Range requests which go upstream (fetching a partial yet cacheable response), will now trigger a background revalidation for the complete resource
- Fixed
no-cache=HEADER
implementation (thanks @hamishforbes)
Tweaks
- Added code coverage tests
- All Redis keys for a cache entry are now touched on read, to help with LRU accuracy
- Removed old (unused) state machine entries revealed by coverage tests
- Changed all state machine events to be tail calls
- We now return
525
in the event of SSL handshake failure (previously the request would be attempted on a closed socket)