Fixing caching issue similar to #467 but for rendered graphs.

See https://github.com/graphite-project/graphite-web/pull/945#issuecomment-54818928
Backport to 0.9.x