nyaa/nyaa
Nicolas F bd419c5d39 Add 1 hour cache to magnet URIs (#503)
Using Flask-Caching, we can memoize the magnet_uri method. Here, a
timeout of 1 hour is chosen, though that value can be fiddled with.

The cache is defined in extensions.py, but gets initialised in
__init__.py.
2018-07-10 01:22:49 -07:00
..
static comments: fix editing for users with a CAPTCHA (#502) 2018-06-16 16:57:14 -07:00
templates Add registration IP (#507) 2018-07-09 22:14:45 -07:00
views users: activation button improvements (#506) 2018-07-09 22:15:19 -07:00
__init__.py Add 1 hour cache to magnet URIs (#503) 2018-07-10 01:22:49 -07:00
api_handler.py Move bencoded info dicts from mysql torrent_info table to info_dict directory. DB change! 2018-02-02 20:39:02 +01:00
backend.py Implement range bans (#478) 2018-06-29 20:15:04 -07:00
bencode.py bencode: fix nontermination on empty or malformed input 2017-07-24 20:53:48 -06:00
email.py [Config change] Password reset by email (#381) 2017-10-08 04:34:40 +03:00
extensions.py Add 1 hour cache to magnet URIs (#503) 2018-07-10 01:22:49 -07:00
forms.py Implement range bans (#478) 2018-06-29 20:15:04 -07:00
models.py Add 1 hour cache to magnet URIs (#503) 2018-07-10 01:22:49 -07:00
search.py config: Add Elasticsearch hosts (#492) 2018-07-09 22:26:23 -07:00
template_utils.py Fix keyError from pop (#407) 2017-11-06 23:52:25 +02:00
torrents.py Fix flat PR (#446) 2018-02-04 13:56:29 +01:00
utils.py Redo nuke functionality (#459) 2018-03-25 16:24:44 -07:00