jezdez/django_compressor — pull request #149 by adrianholovaty (2011-11-03 21:06:00+00:00)
Title: Removed some unnecessary overhead in CompressorNode.render()

Here, I changed CompressorNode.render() so that it doesn't instantiate the compressor object until after the render_offline() call.

This was doing unnecessary work of rendering the nodelist and instantiating the compressor object, in the case where the offline cache had a cache hit.

I also changed the function signature for CompressorNode.render_offline(). That function was not being used anywhere, so I figure that's OK.

Adrian