gotosocial/internal/cache
kim d68c04a6c0
[performance] cache recently allowed/denied domains to cut down on db calls (#794)
* fetch creation and fetching domain blocks from db

Signed-off-by: kim <grufwub@gmail.com>

* add separate domainblock cache type, handle removing block from cache on delete

Signed-off-by: kim <grufwub@gmail.com>

* fix sentinel nil values being passed into cache

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2022-09-02 12:17:46 +02:00
..
account.go [performance] cache account db lookups by public key URI (#795) 2022-09-02 11:58:42 +02:00
account_test.go [performance] cache account db lookups by public key URI (#795) 2022-09-02 11:58:42 +02:00
domain.go [performance] cache recently allowed/denied domains to cut down on db calls (#794) 2022-09-02 12:17:46 +02:00
status.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
status_test.go [performance] cache account db lookups by public key URI (#795) 2022-09-02 11:58:42 +02:00
util.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00