ledge icon indicating copy to clipboard operation
ledge copied to clipboard

An RFC compliant and ESI capable HTTP cache for Nginx / OpenResty, backed by Redis

Results 15 ledge issues
Sort by recently updated
recently updated
newest added

Hey, trying to pass an ipv6 request through esi make thing fall over. https://github.com/pintsized/ledge/blob/35bbcdadc55f65c1c3e43f0ebd054868e345eb94/lib/ledge/esi.lua#L366 the error `esi.lua:373: esi_fetch_include(): failed to parse host name "9999:da0:a8:f610::f:316": invalid port connecting to 9999:da0:a8:f610::f:316:443` suggests...

bug

It would be nice to implement purging by tags (ala CloudFlare and Varnish' bans). The mechanism is explained here: - https://blog.cloudflare.com/introducing-a-powerful-way-to-purge-cache-on-cloudflare-purge-by-cache-tag/ - http://www.smashingmagazine.com/2014/04/cache-invalidation-strategies-with-varnish-cache/ I am trying to implement this via...

feature

Unsure whether this is intended or not but ESI tags with single quotes wont match the below. ```lua local src, err = ngx_re_match( include_tag, [[src="([^"]+)"]], "oj" ) ``` https://github.com/pintsized/ledge/blob/adf3372c5c6b6c4d659f13ba2fca40063a2176c9/lib/ledge/esi/processor_1_0.lua#L385-L404

bug

Creating a PR for this because I think some of these behaviours are wrong. The ESI spec says... >Logical operators ("&", "|", "!") can be used to qualify expressions, but...

I have an upstream that has a short lived max-age and slightly longer stale headers, that once I get past that time, content isn't refreshed. The cache headers from the...