Skip to content

Content negotiation for fediverse (activitypub) compatibility#326

Merged
svenba merged 1 commit intokeycdn:masterfrom
futtta:master
Feb 15, 2024
Merged

Content negotiation for fediverse (activitypub) compatibility#326
svenba merged 1 commit intokeycdn:masterfrom
futtta:master

Conversation

@futtta
Copy link
Contributor

@futtta futtta commented Mar 16, 2023

When using the ActivityPub plugin by @pfefferie WordPress outputs JSON when the Accept request header is application/json. This requires changes at page caching layer to avoid (a) the JSON output being cached and served to "normal" browsers and (b) that ActivityPub requests get served HTML from the page cache.

This PR does that for Cache Enabler.

@svenba svenba merged commit 823552d into keycdn:master Feb 15, 2024
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.

2 participants

Comments