Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
templates: cache torrent view filelist (nyaadevs#542)
* 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
- Loading branch information