Skip to content

Releases: ledgetech/ledge

v1.17

10 Dec 16:31
Compare
Choose a tag to compare
  • Background revalidation jobs can now pass headers from the originating parent request. These are configurable, with the defaults being Authorization and Cookie, and can also be modified be binding to the set_revalidation_headers event.
  • Add event to modify parent headers passed into background revalidate
  • PURGE jobs now heartbeat between SCANs
  • Explicitly flush yielded data before each esi:include

v1.16

09 Dec 17:09
Compare
Choose a tag to compare
  • Moved wildcard purges to a background job, managed by Qless. This means that wildcard purges will always return 200, regardless of whether there was anything to purge or not.
  • Wildcard purges now attempt to use a Redis slave for SCAN commands, if available.
  • Qless jobs are now tagged with their type, as purge, revalidate or collect_entity. This helps tracking.
  • Qless jobs now have different priorities: collect_entity is highest, revalidate second, and purge lowest.
  • max_stale config setting now ignores response headers in deciding if it's ok to serve stale (essentially it overrides). Though they are still honoured when the client issues a Cache-Control: max-stale=n header.
  • Background revalidation now has SSL support.

v1.15

07 Dec 09:41
Compare
Choose a tag to compare
  • Bugfix: Whitespace in esi:include tags wasn't handled. Thanks @hamishforbes.

v1.14

11 Nov 17:21
Compare
Choose a tag to compare
  • Added locking for concurrent identical wildcard PURGE requests. Will return 429 Too Many Requests until the lock is cleared.
  • Fixed more ESI regex issues and added more tests.

v1.13

10 Nov 17:37
Compare
Choose a tag to compare

*Bugfix: Fixed greedy regex on ESI conditionals

v1.12

02 Nov 14:36
Compare
Choose a tag to compare
  • Bugfix: Greedy regex for esi:include
  • Feature: Made keyspace scan count configurable (and bump default to 1000).

v1.11

21 Sep 08:28
Compare
Choose a tag to compare

Feature: Added an ESI recursion limit.

v1.10

27 Aug 16:15
Compare
Choose a tag to compare

Feature: Added esi_pre_include_callback config option.
Bugfix: Better error handling for user supplied callbacks.

v1.09

18 Aug 11:44
Compare
Choose a tag to compare

Bugfix: Ensure uri spaces are re-encoded before requesting upstream (they are decoded by nginx)

v1.08

11 Aug 16:13
Compare
Choose a tag to compare

Bugfix: Avoid silently serving bodies for HEAD requests and 304 responses.
Bugfix: Fixed esi processing corner case accidentally disabled by 0227b23