One reference architecture in PaaS cloud solution. – Jian Wu’s Blog

It is from projects to demonstrate cloud energy and relieve big headaches in traditional solutions, the architecture can be realized smartly with public cloud while keep connected with local network, and the reference may help in Windows Azure, Amazon Web Service and more cloud platforms.

One reference architecture in PaaS cloud solution. - Jian Wu's Blog. - Site Home - MSDN Blogs

via One reference architecture in PaaS cloud solution. – Jian Wu’s Blog. – Site Home – MSDN Blogs.

Azure + WordpPress + WP Super Cache: 502 – Web server received an invalid response while acting as a gateway or proxy server

While I’m working on my new blog (this blog 🙂 ), I started to face an issue. In random instances, I started to get this error from the browser.

First I thought this is an issue on Azure and tried to find a fix for it. But I couldn’t able to find any clue which points this issue to Azure. When I searched little bit more about it, I found that it’s issue in WordPress cache or cache configuration.

I found this blog for fix same issue when you use WP Total Cache but it didn’t help me as I expected because configuration of these two plug-ins were very different.

Finally I found a solution from MSDN Forums, and after I changed the settings as it said, I was able to get rid of this issue. Required changes are as below:

  • Go to WP Super Cache Settings page
  • Go to Advanced Settings
  • Uncheck “304 Not Modified browser caching. Indicate when a page has not been modified since last requested.”
  • Uncheck “Extra homepage checks.”

This solved the above mentioned issue for me. 🙂