bookwyrm/bookwyrm/templatetags
Mouse Reeve 076ba6f0ae Dramatically reduce cache duration for reading statuses
I originally set this for a very long timeout because this value should
be invalidated when it needs to be by the models, and if that worked
perfectly, this would reduce queries dramatically for books that show up
in ones feed frequently, but don't change status (for example, a book
you read and your friend is currently posting about). In practice, of
course, there are errors in invalidating this cache which leave this
value appearing extremely broken and it's next to impossible to fix.

This change makes each of the timeouts related to reading an hour, which
will still give performance benefit when browsing the site (especially
for loading the same book multiple times on a page), but resolve
naturally if the cache gets into a bad state.
2022-07-07 12:06:06 -07:00
..
__init__.py rename main code directory 2020-09-17 13:30:54 -07:00
book_display_tags.py Moves remaining tags into new files 2022-01-18 12:28:59 -08:00
feed_page_tags.py Moves remaining tags into new files 2022-01-18 12:28:59 -08:00
group_tags.py Renames group tags 2022-01-18 12:32:12 -08:00
interaction.py Fixes logic error in checking relationships 2022-07-02 21:25:07 -07:00
landing_page_tags.py Fixes localizing query for superlatives 2022-03-01 10:34:17 -08:00
layout.py Fix site_path tag 2021-05-26 16:57:28 +02:00
markdown.py More templatetag files 2021-05-11 15:14:42 -07:00
notification_page_tags.py Moves remaining tags into new files 2022-01-18 12:28:59 -08:00
rating_tags.py Use general ratings rather than privacy filtered 2022-05-30 08:42:48 -07:00
shelf_tags.py Dramatically reduce cache duration for reading statuses 2022-07-07 12:06:06 -07:00
stars.py Fixes labels 2021-09-10 14:41:55 -07:00
status_display.py Fixes want to read status header 2021-08-21 11:49:57 -07:00
user_page_tags.py Moves remaining tags into new files 2022-01-18 12:28:59 -08:00
utilities.py Adds more templatetag tests 2022-07-06 10:52:45 -07:00