phirschybar:
You make a good point. Yes, it should grab the data on every load. And
it seems to do so in FF but not in IE. Kind of strange.
So going back to your first post, how can I disable caching for the
respective controller (and/or associated model)? I think I should give
it a try.
On Dec 25, 11:37 am, "phirschybar" <[EMAIL PROTECTED]> wrote:
gabordemeter:
sorry I missed the part about it working in FF. But still doesn't the
SWF have to grab the data on every load, even if the SWF is cached?
Claudio:
to satisfy my curiosity.. what file do you think IE is caching?
On Dec 25, 11:25 am, Claudio Poli <[EMAIL PROTECTED]> wrote:
> no problem,
> I know the issue because I've worked with swf charts and IE keeps
> caching the file.
> there's something you can do, instead of putting an hash to swf, try
> putting something like this in source url:
> /controller/action/param?uniqueid='.uniqid(rand(),true)
> kain
> On 25/dic/06, at 17:11, gabordemeter wrote:
> > Thanks for the feedback Claudio. Alreay tried doing:
> > <?php echo $swfobject->display('/swf/chart.swf?nocache='.floor(rand(1,
> > 1000000)/rand(1, 10000)), 'Chart', '800' , '350', '7' , '#fff'); ?>
> > IE doesn't seem to care. Still showing the old chart.
> > Any other suggestion. Is it possible to send something in the
> > header of
> > the page to force the browser to download the swf as opposed to
> > caching
> > it?
> > Changing the name of the file every time is not a good option as the
> > same .swf will be used by all users (the graph is drawn dinamically in
> > AS after receiving the data from cake via amfphp).
> > On Dec 25, 10:56 am, "Claudio Poli " <[EMAIL PROTECTED]> wrote:
> >> don't know if it will work, but maybe you can prevent caching
> >> appending
> >> a ?<hashhere> to chart.swf.
> >> hash can be generated in multiple ways, like a date or a md5 hash.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---