Environment
Issue
When Auto Recache is set to Moderate or Aggressive, saving an article via Joomla’s Web Services API fails with:
With Auto Recache set to Disabled, the same request succeeds (200 OK).
Steps to Reproduce
Result
Best regards
- Joomla 5.3.2 (Web Services enabled)
- LiteSpeed Cache for Joomla plugin
- LiteSpeed server (Hostinger)
Issue
When Auto Recache is set to Moderate or Aggressive, saving an article via Joomla’s Web Services API fails with:
HTTP/1.1 400 Bad Request
{"title":"Save failed with the following error: Error loading menu: api","code":400}
{"title":"Save failed with the following error: Error loading menu: api","code":400}
Steps to Reproduce
- Enable LiteSpeed Cache with Auto Recache = Moderate or Aggressive.
- Send an authenticated PATCH to /api/index.php/v1/content/articles/{id}:
Code:
curl -i "https://www.example.com/api/index.php/v1/content/articles/249" \
-X PATCH \
-H "Accept: application/vnd.api+json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_TOKEN>" \
-d '{"title":"Test via API"}'
- With Auto Recache enabled: 400 Bad Request — Error loading menu: api
- With Auto Recache disabled: 200 OK
Best regards