the Yesod codebase which originally backed 00dani.me, an indieweb.org site
Go to file
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
app Initial commit: exactly what I got from stack new lebd yesod-mysql, with no changes 2017-10-02 18:07:09 +11:00
config 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
src Add per-request entity caching support 2017-10-11 12:35:44 +11:00
static Load the OpenWeb Icons - they're not being used anywhere yet but will be very soon, since they include Mastodon, XMPP, and indieweb icons 2017-10-10 22:26:32 +11:00
templates Show the exact published and updated times of each h-entry as [title]s 2017-10-11 00:14:08 +11:00
test Remove unused Profile controller, from the scaffolding 2017-10-03 13:37:24 +11:00
.dir-locals.el Initial commit: exactly what I got from stack new lebd yesod-mysql, with no changes 2017-10-02 18:07:09 +11:00
.gitignore Add sync-version hook so that the version number in package.yaml will always match the one in package.json 2017-10-05 16:22:06 +11:00
LICENSE Add license file 2017-10-05 14:07:16 +11:00
package-lock.json 1.4.4 2017-10-10 22:46:12 +11:00
package.json 1.4.4 2017-10-10 22:46:12 +11:00
package.yaml 1.4.4 2017-10-10 22:46:12 +11:00
stack.yaml Serve avatar locally rather than through Libravatar, it'll perform better and doesn't require the image's size to be messed with 2017-10-09 23:34:56 +11:00