News for hackers. Stuff that matters.
Re:Django-medusa: Rendering Django sites as static HTML by natrius on Saturday June 30, 2012 @04:43PM (#4182770)
"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/

There are no comments on this comment yet.