Skip to content

Comment on Django-medusa: Rendering Django sites as static HTML

Comments

Why all these static site generators? Just use Varnish, it is the static site generator for any and all frameworks.

Do you have access to Varnish in your standard run-of-the-mill shared host service?

Or GitHub pages/Amazon S3/etc.

What if you don’t have control over your hosting environment? (Or don’t have an application hosting environment to work with? Or don’t want to provision one?)

What if you don’t want to use your own infrastructure? (See Ars Technica’s WWDC liveblog[1], which polls JSON files that are in the same directory and appeared to be periodically updated during the event, by some software that a reporter was using. Ostensibly because the feature is short-lived, super-high-traffic — likely thousands of concurrent users — and should be as low latency as possible due to the nature of the event.)

Not to knock on Varnish, because I use it on plenty of larger things and love it. I just think that there are usecases where you can rationalize not even having an application server to cache in front of.

[1] https://s3.amazonaws.com/liveblogs/wwdc-keynote-2012/index.h...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.