GrafeasGroup / buttercup

Our personal assistant in Discord
MIT License
5 stars 2 forks source link

Don't cache `/search` pagination for results with single page #150

Closed TimJentzsch closed 2 years ago

TimJentzsch commented 2 years ago

If the /search results are on a single page to begin with, we don't need to cache the result for pagination. This will allow other results to be cached for a longer time.

TimJentzsch commented 2 years ago

I accidentally pushed this directly to master instead of making a branch, but it has been fixed in e2a99239