browser css/images caching? i did see the problem you described on the
link you posted...

what if you put the css declaration into the page (instead of external
stylesheet) and add a random url param to the bg image url?
<style type="text/css">
#masthead {background:
url(/images/masthead.cfm?x=<cfoutput>#createuuid()#</cfoutput>) no-repeat;}
</style>

i did a very similar thing on a a couple of site, but i had random url
params added to img urls and never saw the problem you see...
i also served the images using a script like this instead of <cfcontent>
tag:

<cfscript>
oImg = toBinary(toBase64(objImage)); // can probably use oImg =
imagegetblob(objImage); in your case
context = getPageContext();
context.setFlushOutput(false);
response = context.getResponse().getResponse();
out = response.getOutputStream();
response.setContentType("image/jpeg");
response.setContentLength(arrayLen(oImg));
out.write(oImg);
out.flush();
//response.reset(); //optional for problems
out.close();
</cfscript>

hth

Azadi


On 02/06/2010 11:02, Bobby Hartsfield wrote:
> I've got this issue that is driving me batty.
>
> ... 
> ...
> ...
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334215
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to