Caching can delay or hide changes made in WhoKnew Shield™—whether that’s contact protection on the page or Scraper Trap’s™ robots.txt and honeypot settings. This article explains when Shield clears cache for you, when you need to clear it yourself, and what to do when “my changes don’t show.”
Why It Matters
Contact protection (obfuscation) is applied when WordPress generates the page. If your site uses full-page caching, the server may serve a previously saved copy of the HTML. Until that cache is cleared or expires, visitors might see old content—either not protected when you’ve turned protection on, or still protected when you’ve turned it off. Similarly, robots.txt and the Scraper Trap™ honeypot URL can be cached by your server, CDN, or browser. Clearing the right caches ensures your Shield settings are reflected for everyone.
When Shield Clears Cache Automatically (Pro)
In WhoKnew Shield™ Pro, when you change something that affects robots.txt or the honeypot trap URL, the plugin tries to clear caches so the update is visible quickly. That happens when you:
- 🔧 Click Auto-Fix Robots.txt (Add Entry Now) or Verify Robots.txt Entry in the Scraper Trap tab
- 🔄 Regenerate the honeypot action name or set a custom one (and revert to auto-generated) in Manage Honeypot Action Name
Shield then clears WordPress object cache and, when detected, tries to clear popular cache plugins—for example W3 Total Cache, WP Super Cache, WP Rocket, LiteSpeed Cache, SiteGround Optimizer, WP Fastest Cache, and Autoptimize—and may clear Cloudflare if it’s integrated. It also flushes transients and attempts to remove robots.txt-related files from common cache directories. After that, the plugin may show a message listing what was cleared. CDN and server-level caches (e.g. Nginx, Varnish, or Cloudflare at the edge) are not always cleared by the plugin; you may need to purge those yourself. Changes typically propagate within about 5–10 minutes once all relevant caches are cleared.
CDN and Server Cache
If you use a CDN (e.g. Cloudflare) or server-side caching (e.g. Nginx, Varnish), the plugin cannot always clear those. After updating robots.txt or the honeypot, use your CDN or server dashboard to purge cache (or purge the relevant URL). Once purged, allow a few minutes for propagation. The Scraper Trap™ tab notes: changes typically appear within 5–10 minutes.
Browser Cache
When you open robots.txt in your browser (e.g. via View Full Robots.txt), you might still see the old version because of browser cache. Do a hard refresh: Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (Mac). If it still looks wrong, check the file via your host’s file manager or FTP to confirm the content on the server.
Contact Protection and Page Cache
Shield does not automatically clear your page or object cache when you only change Protection Settings (e.g. Enable Contact Protection, auto-detection, or strictness). So after turning protection on or off, or changing what gets detected, clear your site’s page cache (and any CDN cache that serves HTML) so the next request generates fresh HTML with your current settings. How you clear it depends on your host and plugins—use your caching plugin’s “Purge all” or “Clear cache” option, or the control your host provides.
What Doesn’t Need Cache Clearing
Changes to the IP Whitelist and many other Scraper Trap™ settings (e.g. block duration, email alerts) take effect immediately; the plugin does not rely on cached HTML for those, so you don’t need to clear cache for whitelist or similar updates.
When Changes Don’t Show: Checklist
💡 Save yourself a ticket: “My protection isn’t showing” or “robots.txt didn’t update” is often cache. Check (1) settings are saved, (2) page/cache plugin and CDN are purged, (3) for robots.txt, hard refresh the browser. If it still fails, see Common Issues and Compatibility.
Need Help?
For other “not working” cases: Common Issues. For plugin/theme conflicts: Compatibility. For Scraper Trap™ setup: Honeypot & Alerts (Pro) and Getting Started with Scraper Trap.