Something is starting to really irritate me. Whenever I make some change on this site through Drupal such as editing a page, I press the submit button and the browser shows me the page as it was before the edit. I have to press refresh to see the changes. This happens all over, if I look at the logs, add a page, look again at the logs, nothing has changed until I refresh the page.
Clues to the cause:
- I have caching disabled in Drupal and it should not be caching updated pages anyway.
- My browser is connected directly, no caching proxy.
- If I run ethereal I can see that the browser is sending a GET for the updated page and receiving the old version
- If I look at the site apache access logs I do not see this GET reaching the server
Something in between is caching the pages. J'accuse Site5. I've looked all through their site and I see nothing about this but the forums tend to be full of noobs (like most forums). I tried editing the .htaccess file to disable mod_cache if it was loaded but that just caused an internal server error. It is highly likely that they are running some form of cache the other side of apache (squid?), I'd probably do the same to save the load on a shared server for other peoples sites. However, I find it intrusive when I'm the victim.
Hosting contract is coming to an end, I still have time to evaluate a new hosting solution. I'm highly tempted by a cheap dedicated server. It's expensive but:
- I've plenty of power: I can run X and use a vnc terminal.
-
I can do what I like in python. I have no interest in doing php at all and Site5's python support is weak (python 2.2.3, no generators
). They now support ruby on rails but I'm more interested in php than ruby (weak python clone).
- I learn to secure a linux box properly. I think my linode server was hacked through an xmlrpc weakness in drupal which has been fixed now.
- It's all mine. With VPS's and shared hosting, you are having to share disk and cpu with other people. I would only have to share network bandwidth with them.
- I can sell CPU time/hosting/web sites should I feel the desire
One thing about dedicated servers: I cannot believe that to get the server rebooted you have to email some guy who has to run to the box and press the reset button. How primitive is that? If I screw things up to the extent that shutdown -r now does not work I will either learn to prototype hacks on a local box or give up and become an estate agent.
UPDATE: er, it wasn't site5's fault, it was Microsofts.

