Commit graph

3 commits

Author SHA1 Message Date
Yorhel
9c16eba485 cache-html: Fractional sleep & run after cron 2025-05-26 07:58:20 +02:00
Yorhel
bed455039e cache-html.pl: Now with transaction batching support
Because I'm trying to seed the cache from another machine and this
significantly reduces the effects of network latency.
2025-05-25 15:27:33 +02:00
Yorhel
d3bebc8888 Add support for caching HTML-rendered pages
Downside is that this consumes significant disk space, requires
recreating the entire cache when changing something to the way that
pages are rendered and removes flexibility to add dynamic
render-influencing settings in the future.

Alas, crawlers are getting more aggressive and I don't like the idea of
adding more invasive anti-bot tech.
This might not be enough in the long term, we also have a few slow SQL
queries that I'm not yet sure how to optimize. But this ought to give us
more time, at least.
2025-05-25 14:41:15 +02:00