cache purge

Piotr Sikora piotr.sikora at
Tue Nov 17 10:23:23 MSK 2009

> One of my developers did the patch manually and she might have introduced 
> some bugs during the process.

I doubt that she introduced any, because patch for nginx-0.8.8 applies 
cleanly (without any modifications) against latest nginx.

Anyway, this "bug" you were seeing appeared when original patch was applied 
against nginx-0.8.11 or newer (long story short: r->cache->body_start was 
never set and nginx tried to read 0 bytes). This is fixed now.

> Would it be easier to make it a standalone module rather than a patch for 
> users?

It was created as a patch, because we (Johan Bergstr?m from, who 
funded this patch and me) hoped that it would be imported to nginx's base 

> I'm waiting for your new patch to the latest nginx and I'll test it out 
> and report back.

Patch against nginx-0.8.26 is available at:

In the future, please report when you find bugs ;)

Best regards,
Piotr Sikora < piotr.sikora at >

More information about the nginx mailing list