mozilla/webpagemaker — pull request #231 by cmcavoy (2012-06-01 16:01:27+00:00)
Title: Some general Django notes

tl; dr we should cache

The other day, I saw a use of open to grab a file from the filesystem then return it. I wanted to comment on that as well (it's bad practice to call out to the filesystem for stuff if you can stop it, if anything the results of that call should be cached), but I couldn't find it to comment on it a day later.

So - additional note, if you're going to call out to the FS, at least cache the results.