question

AntonyCook-0452 avatar image
0 Votes"
AntonyCook-0452 asked AntonyCook-0452 commented

Updates appear on Custom Domain 1 hour after a change, but appear on the xxxx.azurewebsites.net iimmediately

I have deployed a wordpress site as an App Service (using the container on Marketplace ) and created a DNS Zone for use with my custom domain (registered with GoDaddy).

Let's say the custom domain is abc.co.uk and the App Service is abc-uk.azurewebsites.net

When I make a change to the site, whether that's styling or content, and go the custom domains URL, the changes do not appear until around 1 hr after I make them however if I browse to abc-uk.azurewebsites.net I see them immediately. This is particularly troublesome with a website that accepts bookings (the number of places available is not decrementing immediately on the custom domains URL but I can see them correct on the azurewebsites.net URL).

Verified also using curl via the portal shell in case it was caching outside of the Azure network. Curl against azurewebsites shows the most up to date content, Curl against the custom domains URL shows it out of date.

I don't have CDN or Front Door configured...it's just basic configuration.

So where is the caching happening and how to I stop it/configure it!

Also note, if I restart the app service, the custom domains URL then shows up to date content but this isn't a Wordpress/deployment issue as I can see the two different versions simultaneously by browsing to both 2 URLs.

azure-webapps
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AntonyCook-0452, can you respond to the private comment so we can work more closely with you regarding this matter?

0 Votes 0 ·

0 Answers