averyfairbanks / WatchTower

0 stars 0 forks source link

Add Caching for Get Endpoints #14

Closed averyfairbanks closed 1 year ago

averyfairbanks commented 1 year ago

Every time a search parameter is updating is kicks off a search, every time you got back to the main page from another it queries again. I'm fine with calling the service too many times for now but not the DB. Unfortunately it feels horrendous if this is any slower so a timeout while a user is typing won't work.

averyfairbanks commented 1 year ago

Get endpoint is now a post for pagination reasons but maybe for the single endpoint. GraphQL will likely be the ultimate solution