Site headers

Well, the original script for changing the site header image wasn’t quite working out. Firefox seemed to always want to cache the first image and I’d need to force refresh the page to make the new image show. This is a bit strange because Nathan’s demo page clearly shows this working OK.

Either way a quick Google soon found an alternative (and much shorter) script which I’ve inserted and it works a treat without any tweaks. So thanks to Photo Matt for an excellent script!

The images there now are a mixed bag. There are some boobie images (different meanings of the word too), some images of me and then some pics I’ve taken with my camera of stuff that’s important to me or just crap in general. Let me know what you think.

*edit* Although having checked it for a little while now it’s started to cache it again. This is definately a “feature” of firefox to speed up web browsing as shown by a comment on Matt’s page:

Firefox has some unique web caching features that are designed to speed up the browsing process. With scripts like this, Firefox can appear to have its share of issues.

To quote an article released on the Scot Finnie Newsletter page – he addresses this issue as follows:

There’s only one about:config-based tweak that I’m currently recommending (although I expect to add others in the near future). This recommendation really only applies to people who have fast Internet connections or those who are Webmasters, news junkies, possibly online gaming, anything where it’s mandatory that clicking the Refresh button always shows you the very latest information on that Web page. If that describes the way you need or want to work, you can configure Firefox to work the same way Internet Explorer’s check for website updates on “Every visit to the page.”

To make this change, find this entry in about:config:


The default setting is represented by the numeral 3, and corresponds to “when appropriate/automatically.” To change it, simply double-click the browser.cache.check_doc_frequency entry. A small dialog box will open. Type the numeral 1 to change it to “Each Time” and press OK. Here’s a description of the available options for this particular setting:

0 = Once per session
1 = Each time
2 = Never
3 = When appropriate/automatically

Never mind. I’ve done the about:config change and that works fine. IE users will see a new image every page while Firefox users will have to either force-refresh or configure their install of firefox to always call new imageslike I have.

%d bloggers like this: