mirror of
https://github.com/sb745/NyaaV3.git
synced 2025-11-22 08:55:45 +02: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 |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| views | ||
| __init__.py | ||
| api_handler.py | ||
| backend.py | ||
| bencode.py | ||
| email.py | ||
| extensions.py | ||
| forms.py | ||
| models.py | ||
| search.py | ||
| template_utils.py | ||
| torrents.py | ||
| utils.py | ||