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

More robust caching #4

Open
stevegrunwell opened this issue Jan 30, 2017 · 0 comments
Open

More robust caching #4

stevegrunwell opened this issue Jan 30, 2017 · 0 comments

Comments

@stevegrunwell
Copy link
Owner

As it stands, the caching in Schemify is pretty basic: the object assembled in Thing::build() (for top-level queries only) gets cached indefinitely. If, for instance, an attachment or a user profile were to be updated, these would not be automatically flushed from the cache.

Schemify needs a more robust system, wherein (for instance), an update to an attachment would flush the cache for any post that uses it as a post thumbnail, or a user updating his/her profile would cause the cache for any posts where he/she is the author to be rebuilt.

Naturally, we want to try to make this a non-blocking process that also won't cause a cache stampede on larger sites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant