-
Notifications
You must be signed in to change notification settings - Fork 46
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
Consider allowing caching endpoint discovery #113
Comments
Great in-depth conversation about this in #dev today, lots of big ideas and details. @tantek @aaronpk @sknebel et al, what are the next step(s) here?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, the spec doesn't allow webmention senders to cache discovered endpoints:
We've been talking about relaxing this, eg by changing MUST fetch to SHOULD fetch, and maybe including more explicit language around what kind of caching might be ok.
This generally won't matter to small/medium individual web sites, but it definitely does for large services like Bridgy, which currently sends 1-2 webmentions per minute.
Bridgy currently caches endpoints for 2h, per domain, with home pages as a special case since they sometimes don't advertise an endpoint. Specifically, Bridgy's cache key is
[domain, http or https, home page or not]
.The first small, hopefully non-controversial change we could make here would be to allow caching at all, for individual target URLs. After that, there's a larger conversation around whether and how to allow more broad caching, eg by domain. The counterargument is per-URL webmention endpoints, which the community has experimented with, eg to expire them after a brief time window, but that idea didn't pan out, and I don't know that we've found a compelling need for them yet otherwise.
The text was updated successfully, but these errors were encountered: