Doing Things Wrong

Server Caching Madness - Part 2

Yesterday, two 'tech supports' lied to me about almost everything. The solution that I came up with worked for a few hours, but then a real sysadmin must have noticed it, because it stopped working today. Unfortunately, if you look at the list of hosting companies that EIG has gobbled up over the years, the only other game in town is GoDaddy, and I'm not going there. These are the new Robber-Barons.

The server caching policy is so aggressive, it is even caching images. I cannot imagine the benefits of having the server cache a totally static image file. The extra overhead of creating a copy for the cache must actually slow it down. This is insanity.

After another 'chat' with another support rep who also lied to me ( but this time boldly, blithely, and right away, which was a refreshing change, not to mention a great time-saver ) I realized that I had already coded up a solution and discarded it. That solution is to simply in-line all the css files - have php (WordPress) read them and write the contents directly into the html file. This totally bypasses the web server for the outboard files, at the expense of ruining any caching efficiencies for the end user. It also trashes any caching efficiencies for the server, so ha ha !!! For good measure, I in-lined all the javascript too.

I'm not sure if I will leave this setting on when I am done developing, but it is absolutely necessary right now. What a hellish environment to do any kind of work in. Web hosting has sure gone downhill. But as I said, there are no better alternatives.

WordPress also has some really bizarre default css that is very difficult to override. Some of it I still haven't figured out.


"RetroBrite" is a name for a process that restores old yellowed plastics to new. Many plastics yellow or darken over time. RetroBriting can reverse this aging, but with a number of caveats that, in my opinion, make it pretty useless. While the process actually does work - it reverses the discoloration - the effect is temporary. After a few months, the plastic will return to its yellowed state. When this happens, you can repeat the treatment, but at some point the chemicals involved are going to start to degrade the plastic.

My first experiment was whitening some yellowed tuner knobs, and it did work. With nothing more than sunshine and hydrogen peroxide, the knobs lightened considerably. That was several years ago, and today the knobs are as yellow as ever.

What causes this yellowing? It is variously attributed to sunlight, oxygen, bromine content, and other causes. While all of these things can contribute to it, none of them are necessary. Some plastics simply turn yellow with age, and nothing will stop it. In my experience, the real culprit is simply bad plastic, and the only real solution is replacement.

Printed from luthierylabs.com