etiquette/frontends/etiquette_flask/backend/endpoints
Ethan Dalool 7e58c95f15 Mostly failed experiment: tag_autocomplete indexeddb.
The current system has bad performance when you've got 100,000+ tags.
I discovered that when the server returns 304, the browser gives the
ajax a 200 with the full response, and it's not clear to me if js can
know it got a 304. So, the tag set is being fully re-parsed from the
response on every page load. I was thinking that I should store that in
IndexedDB to avoid the parsing step, but... since the JSON.parse is
done by my common.get before it hits this function, it's meaningless.
Not to mention I still have to rebuild the datalist on every page since
of course that state isn't shared between tabs. Not worth the DB stuff.
We'll see what happens next.
2020-09-29 16:52:20 -07:00
..
__init__.py Rename the etiquette_flask backend package to backend. 2018-11-04 19:45:23 -08:00
album_endpoints.py When adding/removing photos, respond with updated album json. 2020-09-27 23:35:12 -07:00
basic_endpoints.py Replace all double blank lines with single, improve hash headers. 2020-09-19 03:13:23 -07:00
bookmark_endpoints.py Replace all double blank lines with single, improve hash headers. 2020-09-19 03:13:23 -07:00
photo_endpoints.py Add yield_photos, count albums in search result limit. 2020-09-27 23:38:49 -07:00
tag_endpoints.py Mostly failed experiment: tag_autocomplete indexeddb. 2020-09-29 16:52:20 -07:00
user_endpoints.py Replace all double blank lines with single, improve hash headers. 2020-09-19 03:13:23 -07:00