I've been having a strange problem with W3 Total Cache while using ZimmWriter to publish posts through the WordPress REST API. Here's what's going on: When the Page Cache is turned off, everything works perfectly, but when it's on, publishing fails consistently. The REST endpoint returns valid JSON, and ZimmWriter gets a response, but it's not the correct one—it looks like a cached list of posts instead of an actual API response. I've tried various caching exceptions and configurations, such as excluding certain routes and adjusting `.htaccess` rules, but nothing has worked. Has anyone found a way to get W3 Total Cache to work smoothly with REST API publishing tools?
4 Answers
Check your error logs for any issues that might provide more insight. Sometimes, the problem originates from server misconfigurations that are less obvious.
It sounds like something is still caching responses before WordPress can handle them. Have you checked your W3 Total Cache `.htaccess` rules and any server-side caching you might have, like Cloudflare? Make sure to force bypass on everything that uses the `Authorization` header and ensure your REST responses include `Cache-Control: no-store`. Normally, the Page Cache shouldn’t affect authenticated REST requests at all.
Don’t forget, the exclusions set up in W3TC can sometimes be bypassed by the `advanced-cache.php` file. If your caching plugin is active, this file may still intercept requests. Consider deleting it temporarily to see if that resolves the problem. If you keep having trouble with W3 Total Cache, you might want to look into alternatives like WP Super Cache or LiteSpeed Cache, which handle REST API requests more effectively.
I tried following your `.htaccess` rules and still ran into issues. Eventually, I deleted `advanced-cache.php`, purged caches, and found it still didn’t work. Switching to WP Super Cache did the trick, though—I was able to publish via ZimmWriter without any hitches. Just wondering if WP Super Cache offers the same Memcached capabilities as W3TC.

Related Questions
Biggest Problem With Suno AI Audio
Ethernet Signal Loss Calculator
Sports Team Randomizer
10 Uses For An Old Smartphone
Midjourney Launches An Exciting New Feature for Their Image AI
ShortlyAI Review