Automattic / Automattic/wp-super-cache
Make known users anonymous causes issues with REST API
- Dominant language
- PHP
- Stars
- 436
- Forks
- 130
- Avg merge
- 15h 11m
- Merged PRs (30d)
- 10
Description
When this option is checked, REST API responses returned will be from the cache, resulting in unexpected experiences for admin clients.
Since this is a seldom used feature, I'm not sure if best to provide a warning in the UI to alert folks to the possible conflict or what exactly.
Original report via p3py7Y-J3-p2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the known-users-anonymous option enabled and compare cached REST API responses with uncached admin-client responses. Read the option's cache-handling path and the REST API request path; done means the conflict is resolved or clearly warned about, with the behavior covered by a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100