Commit Graph

14 Commits

Author SHA1 Message Date
Jake Howard 518461a88f
Use wagtail's new built-in cache tags
They're good, because I wrote them
2024-01-05 15:44:45 +00:00
Jake Howard 7105386e61
Use direct mastodon host for verification 2023-07-20 22:02:02 +01:00
Jake Howard 019e0cf431
Replace humanize with hack around django built-in 2023-07-15 14:52:07 +01:00
Jake Howard c2150b66f3
Reduce cache times
This means content will be updated faster after changes
2023-06-26 13:26:28 +01:00
Jake Howard ee4914324c
Cache fragments for 6 hours
They really shouldn't change often
2022-10-04 21:27:53 +01:00
Jake Howard fa85c8ba80
Cache fragments for longer, and clear when editing page 2022-10-04 20:14:26 +01:00
Jake Howard 6775a336e1
Revert "Add the ability to cache model attributes in redis"
This reverts commit 7c008c2149.
2022-10-02 16:17:55 +01:00
Jake Howard cd48ae7810
Revert "Replace spotify data cache with new cached properties"
This reverts commit a3d9fa177e.
2022-10-02 16:17:49 +01:00
Jake Howard a3d9fa177e
Replace spotify data cache with new cached properties
Also replace the update script with one which will do everything
2022-09-30 09:07:31 +01:00
Jake Howard 7c008c2149
Add the ability to cache model attributes in redis
This not only means they persist longer than the instance, but can also be shared between processes. This is especially useful for list pages, as rendering content for summaries etc is quite expensive
2022-09-29 22:59:23 +01:00
Jake Howard 8691d11a15
Only render comments in debug 2022-09-02 17:20:03 +01:00
Jake Howard 710a4c7955
Humanize reading time 2022-08-19 17:31:40 +01:00
Jake Howard af6449c9f8
Add a way to disable SEO indexing
Well, "disable"
2022-08-19 15:31:27 +01:00
Jake Howard 0e5f60b4eb
Add management commands to update unsplash photos every x days 2022-07-13 08:55:14 +01:00