Title: Repeated purge_cache_queue_write errors
Last modified: January 6, 2026

---

# Repeated purge_cache_queue_write errors

 *  Resolved [dragonweb](https://wordpress.org/support/users/dragonweb/)
 * (@dragonweb)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/repeated-purge_cache_queue_write-errors/)
 * Hi there,
   We’re experiencing an issue with Super Page Cache that becomes very
   visible during load/stress testing, and we’d really appreciate your guidance.
   Issue we’re seeing
 * When running a stress test, after around 1 minute we start seeing the following
   log entry repeating continuously:
 *     ```wp-block-code
       [cache_controller::purge_cache_queue_write] Queue file not writable. Sleep 1 second
       ```
   
 * This line repeats many times per second and appears to coincide with increased
   CPU usage on the server.
 * We have attached:
    - The relevant debug log showing the repeated messages [https://share.drijen.digital/rRux5K1J](https://share.drijen.digital/rRux5K1J)
    - The `purge_cache_queue/cache_queue.json` file at the time this occurs [https://share.drijen.digital/4gup4vZ7](https://share.drijen.digital/4gup4vZ7)
 * What seems to trigger it
 * From our investigation, this appears to be triggered when tickets are created
   via The Events Calendar / Event Tickets plugin.
 * Specifically, URLs of the following pattern are involved:
 *     ```wp-block-code
       /?post_type=tribe_rsvp_attendees&p=90910
       ```
   
 * (where `90910` and similar values are ticket / RSVP IDs).
 * Each time one of these tickets is created, Super Page Cache appears to:
    - Trigger a cache purge
    - Attempt to write to the purge queue
    - Enter a retry loop when the queue file is not writable
 * During stress tests (with many concurrent requests), this behaviour becomes continuous.
   What we’re trying to achieve
 * We would like to **stop Super Page Cache from purging cache** when these RSVP/
   ticket-related URLs are created or updated.
 * Ideally:
    - The `tribe_rsvp_attendees` post type (and its query-string URLs) should be
      ignored by SPC
    - No cache purge or queue write should occur for these URLs, as they are dynamic
      and not meant to be cached anyway
 * Our questions
    1. Is there a supported way to **exclude a specific post type** (e.g. `tribe_rsvp_attendees`)
       from triggering cache purges?
    2. Is there a setting or filter to **disable purge-on-create / purge-on-update**
       for this post type?
    3. Is SPC expected to retry queue writes in a tight loop like this if the queue
       file cannot be written, or is this behaviour indicative of a configuration issue?
 * We have already temporarily disabled the preloader, which helped reduce background
   load, but this purge queue behaviour still occurs under stress.
 * Any guidance on the correct configuration for high-volume, dynamic post types
   like Event Tickets would be hugely appreciated.
 * Thanks in advance for your help,

Viewing 1 replies (of 1 total)

 *  [Robert Soare](https://wordpress.org/support/users/soarerobertdaniel7/)
 * (@soarerobertdaniel7)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/repeated-purge_cache_queue_write-errors/#post-18788542)
 * Hello,
 * You might want to deactivate the “Automatically purge Cloudflare’s cache when
   something changes on the website” option that triggers the purge when a post 
   type changes. This is a general setting; we do not have one yet that disables
   on specific post types.
 * When enabling it, you might also want to check if you have frequent updates to
   your pages since without the auto-purge some old content might be served.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frepeated-purge_cache_queue_write-errors%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Robert Soare](https://wordpress.org/support/users/soarerobertdaniel7/)
 * Last activity: [2 months, 2 weeks ago](https://wordpress.org/support/topic/repeated-purge_cache_queue_write-errors/#post-18788542)
 * Status: resolved