Title: Timeout when saving posts (Dreamhost, no Cloudflare)
Last modified: April 20, 2021

---

# Timeout when saving posts (Dreamhost, no Cloudflare)

 *  Resolved [rosieleung](https://wordpress.org/support/users/rosieleung/)
 * (@rosieleung)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/timeout-when-saving-posts-dreamhost-no-cloudflare/)
 * My client reported an issue with server timeouts when saving posts. I narrowed
   it down to two plugins: when Rank Math is enabled, it takes half a minute to 
   save a post, when Proxy Cache Purge is enabled, it takes just under a minute,
   and when both are enabled, it times out after one minute. If neither is enabled,
   it takes about 5 seconds to save a post.
 * I thought I would start by contacting Dreamhost tech support, but they just keep
   recommending general performance improvements. The site isn’t fast, but it’s 
   working fine in general, and this issue with saving posts is reliably caused 
   by these plugins being enabled and reliably fixed when they’re disabled. I saw
   you had a couple similar issues posted here recently and was hoping you could
   take a look. It’s ticket #9491607.
 * I can try replacing Rank Math with a different SEO plugin, but I feel like we
   need to keep Proxy Cache Purge enabled, or else re-enable it just long enough
   to manually clear the cache every time we edit, so that’s not a great longterm
   solution.
 * Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [5 years, 1 month ago](https://wordpress.org/support/topic/timeout-when-saving-posts-dreamhost-no-cloudflare/#post-14343840)
 * I personally recommend YoastSEO and use it with the plugin without issues. But
   that’s not the point here, and I get that.
 * I noticed your Varnish IP address is not set to the IP of your server, which 
   would absolutely impact the plugin’s ability to save (it’s trying to access an
   IP that it’s not…). The Varnish IP should match your server (you can check on
   [https://www.whatsmydns.net/](https://www.whatsmydns.net/) and that IP should
   be the same).
 * I’m going to reply in your ticket about it, so that’s kept private.
 *  Thread Starter [rosieleung](https://wordpress.org/support/users/rosieleung/)
 * (@rosieleung)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/timeout-when-saving-posts-dreamhost-no-cloudflare/#post-14348025)
 * Thank you so much!! I bet the IP changed when we upgraded plans a few weeks ago.
   Can’t believe it was such an easy fix.
 * For whatever reason, changing that fixed the delay completely, and there’s no
   issues with Rank Math anymore. (We’d already been using Yoast before and having
   some performance issues, so I recently switched us over. In retrospect, it was
   probably just the server running out of memory and not Yoast specifically, but
   either way I’m happy not to have to switch plugins again.)
 * Anyway, really appreciate your help with this!
 *  Plugin Contributor [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [5 years, 1 month ago](https://wordpress.org/support/topic/timeout-when-saving-posts-dreamhost-no-cloudflare/#post-14352701)
 * > For whatever reason, changing that fixed the delay completely, and there’s 
   > no issues with Rank Math anymore.
 * Yeah that tracks 🙂 I bet Rank Math is triggering multiple saves, and since each
   post save was trying to hit the wrong URL… Oy.
 * > I bet the IP changed when we upgraded plans a few weeks ago.
 * I’m going to loop back and see why the upgrade didn’t fix that. We actually wrote
   it code to force-reset that value whenever a server is upgraded just in case 
   the IP changes! Though you said a few weeks and I bet that was the magical inbetween
   time :facepalm:
 * Glad this fixed you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Timeout when saving posts (Dreamhost, no Cloudflare)’ is closed to new
replies.

 * ![](https://ps.w.org/varnish-http-purge/assets/icon-256x256.png?rev=3027185)
 * [Proxy Cache Purge](https://wordpress.org/plugins/varnish-http-purge/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/varnish-http-purge/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/varnish-http-purge/)
 * [Active Topics](https://wordpress.org/support/plugin/varnish-http-purge/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/varnish-http-purge/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/varnish-http-purge/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/timeout-when-saving-posts-dreamhost-no-cloudflare/#post-14352701)
 * Status: resolved