etiquette/frontends/etiquette_flask/backend
voussoir 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
..
endpoints Mostly failed experiment: tag_autocomplete indexeddb. 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
caching.py Replace all double blank lines with single, improve hash headers. 2020-09-19 03:13:23 -07:00
common.py Let /album/add_child, /remove_child take multiple IDs. 2020-09-27 23:35:01 -07:00
decorators.py Replace all double blank lines with single, improve hash headers. 2020-09-19 03:13:23 -07:00
helpers.py Don't leave falsey values out of dict_to_params, let caller do it. 2020-03-28 17:37:28 -07:00
jinja_filters.py Let make_attributes replace underscores with hyphens in attr names. 2020-09-27 12:14:20 -07:00
jsonify.py Replace all double blank lines with single, improve hash headers. 2020-09-19 03:13:23 -07:00
sessions.py Replace all double blank lines with single, improve hash headers. 2020-09-19 03:13:23 -07:00