Hacker News new | ask | show | jobs
by natrius 5100 days ago
"The process that actually generates the output simply uses (or abuses) Django’s internal testclient to request each URL and store the resulting data"

It warms my heart to see another example of test client abuse. We used the test client to implement a pure Python ESI processor[1]. We ran it in production for awhile, but no one should ever do that. Varnish is the answer. The code was still running on our development machines when I left.

[1] https://github.com/armstrong/armstrong.esi/