Closed chris321 closed 11 years ago
To clarify: I'm not suggesting doing anything like making any database queries or such here (at least not yet).
I recommend Varnish (a good caching reverse proxy) and Edge Side Includes (a W3C standard).
They are very fast and light. http://www.varnish-cache.org/trac/wiki/ESIfeatures
You can do things like cache a page, but just include the "Hello, Francis Irving" bit with an ESI.
Obviously copes well with headers/footers...
Francis
On Sat, Jun 18, 2011 at 05:39:51AM -0700, chris321 wrote:
At present we need to rebuild the entire site every time we want to make a small modification to pages but not judgmentts, eg. the menu, title, footer, google analytics etc. This is obviously rubbish and we should probably instead generate a marked up html fragment for judgments and use some server side inclusion.
Reply to this email directly or view it on GitHub: https://github.com/frabcus/judgmental/issues/35
Done! New ESI versions of docs just uploading now.
I think we'll outgrow this fairly soon actually, but it's a nice, technologically-neutral way of doing templating :)
At present we need to rebuild the entire site every time we want to make a small modification to pages but not judgmentts, eg. the menu, title, footer, google analytics etc. This is obviously rubbish and we should probably instead generate a marked up html fragment for judgments and use some server side inclusion.