codl
5e1ce21c82
proxy avatars
...
this fixes some potential issues when connecting to a non-https mastodon
server
you shouldn't connect to a non-https mastodon server in general but you
know, whatever
2017-09-16 13:58:02 +02:00
codl
dff825db06
test libbrotli
2017-09-08 23:19:59 +02:00
codl
146dd263c9
unify redis config ( closes #8 )
...
also, not sure why brotli was being initialised in routes not in app
2017-09-07 01:10:02 +02:00
codl
20d765e0d1
pylint
2017-08-29 21:31:30 +02:00
codl
007aec7529
flakes8
2017-08-29 14:46:32 +02:00
codl
78013ed1e9
twiddle knob
...
i set the timeout based on a timeit on my desktop instead of my server
like an Absolute Fool
2017-08-29 10:56:21 +02:00
codl
e4dbdf98ee
reduce ttl and timeout on brotli generation
...
recent changes (csrf tokens) have made brotli caches much less durable
since each session for a same user gets a different page
2017-08-29 09:35:16 +02:00
codl
40fbea082f
add more granular brotli cache header
2017-08-23 11:42:53 +02:00
codl
639d209a95
add header showing brotli cache status
2017-08-12 22:01:42 +02:00
codl
54545a3a3d
remove unnecessary import
2017-08-11 21:15:34 +02:00
codl
98255c00a8
brotli: use text mode when appropriate
2017-08-11 21:05:11 +02:00
codl
5656f86fcb
brotli: wait & see if compression finishes within reasonable time
2017-08-11 20:58:32 +02:00
codl
dc7e70ae8d
lol
...
thread.run() runs it locally
thread.start() runs it in a thread
2017-08-11 20:56:45 +02:00
codl
ed69bdfb12
serve static brotli or gzip compressed files as well
2017-08-11 20:13:41 +02:00
codl
10abb9cd2f
working brotli cache
2017-08-11 19:13:37 +02:00
codl
a42c54aa50
messy brotli experiment
2017-08-11 17:57:32 +02:00