lebd/src
Danielle McLean 02fd91cb77
Add per-request entity caching support
Different areas of the app need access to entities - for example both
the entry handler needs the entry itself to render it, but the
breadcrumbs also need the entry to decide what to label its breadcrumb.
Previously this was achieved by fetching entities from the database
twice. This sucks, so now it's implemented by fetching entities once and
caching them using Yesod's per-request cache.
2017-10-11 12:35:44 +11:00
..
Entry Add the main entry kinds to the navbar 2017-10-09 14:03:42 +11:00
Handler Add per-request entity caching support 2017-10-11 12:35:44 +11:00
Import Initial commit: exactly what I got from stack new lebd yesod-mysql, with no changes 2017-10-02 18:07:09 +11:00
Model Add per-request entity caching support 2017-10-11 12:35:44 +11:00
Package Add a package.json, load generator info from it instead of from settings.yml 2017-10-05 16:19:15 +11:00
Settings Add a utility function, staticR, which can dynamically build StaticR routes with their ETags attached (still calculated at compile-time) 2017-10-05 21:26:29 +11:00
Widget Make slugs optional - they don't really make sense for notes, only really for entries with names like articles 2017-10-11 10:33:29 +11:00
Application.hs Add support for Atom and RSS content feeds - this info is available through mf2 anyway so Atom and RSS are kinda redundant, but we'll include them anyway 2017-10-09 13:32:13 +11:00
Foundation.hs Add per-request entity caching support 2017-10-11 12:35:44 +11:00
Import.hs Add a utility function, staticR, which can dynamically build StaticR routes with their ETags attached (still calculated at compile-time) 2017-10-05 21:26:29 +11:00
Model.hs Use Mustache templates for site URL so that the username can be inserted anywhere in the template rather than only at the end 2017-10-10 15:16:50 +11:00
Package.hs Add a package.json, load generator info from it instead of from settings.yml 2017-10-05 16:19:15 +11:00
Settings.hs Simplify site title handling, automatically suffix site title to all pages 2017-10-09 13:50:26 +11:00
Site.hs Refactor site-fetching into a reusable module 2017-10-10 19:16:12 +11:00
Util.hs Refactor site-fetching into a reusable module 2017-10-10 19:16:12 +11:00