Skip to content

Avoid caching conflicts with plugins creating specific views with JSON requests #104

@jeherve

Description

@jeherve

Some plugins, like the ActivityPub plugin, allow getting a JSON object representing your post when querying a post URL with an application/json header.

This proves problematic when using Batcache, since those requests end up being cached (a potentially good thing), but served back to regular site visitors.

Here is an instance of this happening:
https://fedi.jeremy.hu/@jeremy/statuses/01GVFG2QMBJTFH4VBJT2VZQ8NZ

It would be nice if such requests were at least not cached, or maybe cached separately so they could be served back later on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions