jezdez/django_compressor — pull request #140 by CodyHatch (2011-10-17 09:21:11+00:00)
Title: Change to memoize decorator to try and fix memory leak.

This is a hack to fix issue #139. Basically, instead of using the Compressor object as a key to the memoization cache, it uses the Compressor object's cachekey.

That obviously won't work if the memoize decorator is used for anything other than a Compressor object, but for now, it isn't. And I've confirmed that this change solves issue #139 for me. (Sorry for not writing a test; I don't quite see how they work with this project...)