Hi All,
I'm having some issues with a 3-week old site suddenly being broken for
some Xtra customers. This isn't a DNS issue which is what it usually
turns out to be. I'm posting here in case someone has come across this
before and might share some wisdom.
What is apparently happening is a pre-launch version of the website has
been cached by Xtra (a Dreamhost error message). The client, and at
least 3 other Xtra customers we have checked with but probably lots more
see this 'version' of the site. Everyone else can see the actual site fine.
A level 2 Xtra tech has been looking into this, and has actually been
genuinely helpful but I'm still stuck wondering what to do next. He
tells me that if I add some nocache meta tags into my page and wait up
to 24 hours, the problem will go away.
eg...
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" />
Which is all great, but why doesn't their cache look at the HTTP
response headers? Here's my HTTP response from the offending page....
HTTP/1.1 200 OK
Date: Fri, 03 Sep 2010 04:37:50 GMT
Server: Apache
X-Powered-By: PHP/5.2.13
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Content-Encoding: gzip
Content-Length: 4918
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8
Am I knobbing something up here? I thought my HTTP response looks fairly
standard, and clearly indicates not to cache.
Anyone out there seen this before and have any advice on what to do?
Apparently for whatever reason Xtra can't clear the cache at their end
so it's up to me to instruct their cache server via the meta tags. I
haven't come across this before and this just sounds wrong, and just
seems to be this one site giving trouble.
Harvey.
--
Harvey Kane
Phone:
- Auckland: +64 9 950 4133
- Wanaka: +64 3 746 8133
- Mobile: +64 21 811 951
Email: [email protected]
If you need to contact me urgently, please read my email policy
www.ragepank.com/email/
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]