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
List of all the routes required? #157
Comments
|
Good point, I will collect all routes and send you the list, but I will also add this info to the settings page. |
|
And I am glad you like the plugin |
|
@antranigv it's working for me so far with this rule in nginx and fastcgi cache # Skip cache if requesting json file (ActivityPub)
if ($http_accept ~* "application/ld\+json|application/activity\+json|application/json") {
set $skip_cache 1;
}and then later set
I'm not sure if this causes issues in edge cases though. |
I'm just getting started with this and think another caching plugin (WP-SuperCache) has been causing me some headaches, so I would also be interested in a list of routes or better information about how to avoid problematic cache interactions. |
|
I think that any cache plugin will break it for sure if you don't exclude things. The plugin requires posts and author pages to be served in json when requested with the headers I mentioned. If you cache those pages as json, they won't be human readable and if you cache them as html, they won't be readable by AP instances. You need to either bypass the cache or use a separate cache token when these headers are present. I know how to do that with fastcgi and Cloudflare, but I don't know about other plugins. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
|
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Hi there! First of all, huge love to everyone involved in this project, it brings hope to the web!
My question is simple: Is there a list for all the routes that this plugin requires?
The reason why I'm asking is because I have a caching plugin (WP Rocket I think) and I'd like to disable caching in those routes, otherwise it's breaking.
Thanks in advance!
The text was updated successfully, but these errors were encountered: