Commit graph

8 commits

Author SHA1 Message Date
1d33923601 Rename caching.py -> client_caching.py.
The word caching can be ambiguous, and what's worse is this file
previously contained a decorator for server-side caching of a
response and a class for client-side caching of files. It was
confusing. This new separation and naming should make it easier
to find what you're looking for.
2021-01-05 13:03:41 -08:00
8ab248a34e Improve naming and comments in FileEtagManager 2021-01-05 12:59:18 -08:00
bb82c1e4e7 Move cached_endpoint to decorators. 2021-01-05 12:43:39 -08:00
11b846a3e0 Move random_hex function to voussoirkit/passwordy. 2021-01-05 12:38:04 -08:00
e09c3300d1 Let cached_endpoint pass the content-type header through. 2020-10-03 18:30:16 -07:00
adb1d0ef39 Replace all double blank lines with single, improve hash headers.
There was always some semblance that two blank lines has some kind of
meaning or structure that's different from single blank lines, but
in reality it was mostly arbitrary and I can't stand to look at it
any more.
2020-09-19 03:13:23 -07:00
9d620b4b97 Remove unused imports & other small things. 2020-02-20 22:44:56 -08:00
6e312bd287 Rename the etiquette_flask backend package to backend.
Alright, I got tired of confusing myself with the same-named
outer and inner package.
Keep in mind that every frontend implementation is supposed to be
its own independent project where etiquette is nothing but a
dependency. So the name backend is not ambiguous with the etiquette
backend.
2018-11-04 19:45:23 -08:00
Renamed from frontends/etiquette_flask/etiquette_flask/caching.py (Browse further)