I checked my flexconfig.xml, and it says:

<!-- check for changes to dependent files on disk every XX seconds -->
<!-- when production-mode is true, the file watcher runs once at 
startup -->
<file-watcher-interval>1</file-watcher-interval>

I thought that was a good suggestion though.

Since my original post, I have tried other "drastic" things. I've 
tried deleting the entire cache directory of Tomcat 5.0, I've tried 
deleting the "generated" subdirectory within the /flex subdirectory, 
I've tried all kinds of deleting that I could think of, but the 
application somehow still retains the old image somewhere, and I have 
no idea where anymore.

What is really bizarre is that after about 15 to 20 minutes (it feels 
like), I would just recompile, and the application would pick up the 
new one. But that is an awful long wait to see graphic modifications 
take effect.

Is this only happening to me? With this highly consistent unusual 
behavior, I'm sure other people would've encountered this, but I did 
search the newgroup archives and couldn't find one that directly 
addressed this. And this will become a big problem very soon when 
lots of graphic changes are going to be done.




--- In [email protected], "Matt Horn" <[EMAIL PROTECTED]> wrote:
> You can also double check your cache settings in the flex-config 
file.
> Make sure <file-watcher-interval> is a low number (like "1"). Also, 
I
> think production mode must be off...
>  
> matt horn
> flex docs
> 
> 
> ________________________________
> 
>       From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
>       Sent: Wednesday, May 11, 2005 3:09 PM
>       To: [email protected]
>       Subject: Re: [flexcoders] Perplexing caching behavior
>       
>       
>       Try adding recompile=true to the end of the URL string.
>       
>       If no dice, delete the source attribute, recompile, add the
> source attribute 
>       back, recompile.
>       
>       ----- Original Message ----- 
>       From: "pilby1" <[EMAIL PROTECTED]>
>       To: <[email protected]>
>       Sent: Wednesday, May 11, 2005 3:04 PM
>       Subject: [flexcoders] Perplexing caching behavior
>       
>       
>       I have a .GIF file which is embedded into my Flex 
application. I
>       noticed that whenever I modify this .GIF file and rerun my
>       application, the changes weren't taking effect. That tells me
> there
>       is
>       some kind of caching going on here.
>       
>       I then tried deleting the graphic, and tried to compile the 
Flex
> app.
>       As expected, it generated an error that the file wasn't 
found. I
> then
>       saved the new file back to where it should be and recompiled
> Flex.
>       The time stamp on the graphic file was current and as 
expected.
> When I
>       run it in the browser, again, it's showing the OLD graphic!?
>       
>       What can I do to clear the cache? It's making the simple task 
of
>       modifying a graphic take more time than necessary.
>       
>       Thanks.
>       
>       
>       
>       
>       
>       Yahoo! Groups Links
>       
>       
>       
>       
>       
>       
>       
> ________________________________
> 
>       Yahoo! Groups Links
>       
> 
>       *       To visit your group on the web, go to:
>               http://groups.yahoo.com/group/flexcoders/
>                 
>       *       To unsubscribe from this group, send an email to:
>               [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>                 
>       *       Your use of Yahoo! Groups is subject to the Yahoo! 
Terms
> of Service <http://docs.yahoo.com/info/terms/> .




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to