mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-19 02:06:45 +00:00
* templates: cache torrent view filelist Using flask-caching, we can add a 1 hour cache to the template output of a filelist, varying it by the key "filelist" + the hex infohash of a torrent. Using a very big filelist as a test, I get a difference in page load speeds of about a magnitude. (400ms -> 37 ms) * templates: increase filelist cache to 24 hours