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

Improve caching #1

Open
Gummibeer opened this issue Mar 4, 2021 · 0 comments
Open

Improve caching #1

Gummibeer opened this issue Mar 4, 2021 · 0 comments

Comments

@Gummibeer
Copy link
Member

Right now we only use a poor-man cache - so we don't load the same data during one runtime but the next runtime we will load it again.
An idea would be a cacheFor() method on the client which you can call in your own service provider and pass in a value compatible with Cache::remember() and false to don't use the Laravel cache.

As cache-key I would use something like webmentions.md5(domain) as we load all webmentions per domain and filter in PHP collections.

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

No branches or pull requests

2 participants