2general/staticgenerator — pull request #1 by mikek (2012-12-19 13:09:52+00:00)
Title: Remove gzipped pages if found

I think it is a fairly transparent way to avoid compressing same pages again and again during Nginx response cycle.

P.S.
As you do not have issues enabled for this repo: README should probably give a hint how to delete cached pages for URLs requested with AJAX and query arguments. In `post_save` signal handler `recursive_delete()` does the job, while `quick_delete()` leaves those files around. (Obviously, `get_absolute_url()`returns only one url for the object.)