Phillip Smith wrote:
> background-image: url(../med/rotate_home/rotate.php); ...
> Anyway, the techniques works fine for Safari and Firefox on the Mac, but
> appears to simple cache the first image for most PC browsers.
No idea if this will work, but it's a trick from other environments to
defeat the local cache. Try:
> background-image: url(../med/rotate_home/rotate.php?); ...
The question mark at the end tells the browsers that the file is a CGI
script. I don't know whether adding a dummy parameter will work or not,
but the best cache-defeating technique requires a random parameter, and
that's not possible here because you can't insert a script in your CSS.
Of course, Josh's suggestion of dynamically writing the CSS might be a
better approach. Apart from anything else, it will allow the images to
be cached, reducing your server load. That's the way I've done the same
thing in the past.
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/