bemaniutils icon indicating copy to clipboard operation
bemaniutils copied to clipboard

Implement basic backend cache

Open Subject38 opened this issue 4 years ago • 0 comments

Also paginate jubeat's get_mdata request. For now, this change is very experimental and could probably use some sort of testing. This is not ready to merge but review would be appreciated. The cached decorator is based heavily off the one from here: https://stackoverflow.com/a/16723844 If merged this will close #41 since paginating the database lookup will no longer be required if we can just do one big lookup first. I'm hesitant to add the new lib (pylibmc) to requirements.txt since this should likely be an optional thing to run since it also requires having memcached installed and running.

Subject38 avatar Feb 19 '22 09:02 Subject38