gallery.accords-library.com/server/szurubooru
rr- 339c9a3333 server/tags: reduce number of queries
On a test page with 50 tags, 158 queries were reduced to 3:

1. Get the authenticated user
2. Get tags for given page
3. Count all tags

Looks just about right.
2016-05-08 20:33:16 +02:00
..
api server/users: fix detecting duplicate user names 2016-05-08 18:04:05 +02:00
db server/api: log queries in debug mode 2016-05-08 20:33:16 +02:00
func server/users: change avatars to PNG 2016-05-08 18:04:06 +02:00
middleware server/api: log queries in debug mode 2016-05-08 20:33:16 +02:00
migrations server/posts: add post creating 2016-05-02 00:07:33 +02:00
search server/tags: reduce number of queries 2016-05-08 20:33:16 +02:00
tests server/tags: reduce number of queries 2016-05-08 20:33:16 +02:00
__init__.py split files into client/ and server/ 2016-04-01 18:48:16 +02:00
app.py server/api: log queries in debug mode 2016-05-08 20:33:16 +02:00
config.py server/users: hardcode available ranks 2016-05-08 16:59:25 +02:00
errors.py server/posts: add post creating 2016-05-02 00:07:33 +02:00