Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Rework Part 1 #413

Draft
wants to merge 13 commits into
base: 5.0.x
Choose a base branch
from
Draft

Conversation

Crypta-Eve
Copy link
Member

This PR adds back some cache functionality as it used to exist within SeAT v4.

The intent is that for most jobs (exclusions based on ETAG reliability and complexity of responses/handling), if the result is cached then do not try and insert it into the DB. In a lot of cases, this should lead to fewer DB writes.

There is a new ENV var that will be added as part of this change, which is EVEAPI_RESPECT_CACHE
It defaults to true, which enables this behaviour. This can be set to false not to check if an ESI response is cached and always treat it as new data (as has been the case in SeAT v5 until now).

Future work on the cache will follow will aim at reducing the size of the cache itself.

@Crypta-Eve Crypta-Eve marked this pull request as draft September 9, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant