Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
p2premote
Visitor

How to delete image cache?

It looks like roku caches image. When I uploaded a new one to the server, it won't get re-fetched so older version is displayed instead.

How long will roku box keep cached version of image and how do I force it to delete the cache (or refetch)? Simple existing the app and re-entering it does not do the trick.
0 Kudos
3 REPLIES 3
RokuJoel
Binge Watcher

Re: How to delete image cache?

add a random number generator to your image urls to "bust" the cache.

url="http://myserver.com/myimage.jpg"+"?rnd="+rnd(10000).tostr()

- Joel
0 Kudos
destruk
Streaming Star

Re: How to delete image cache?

Other options - run an installed channel that loads a whole lot of images to fill the internal cache, or rebooting the roku will clear any cached info.
0 Kudos
p2premote
Visitor

Re: How to delete image cache?

Thanks, also I found out it will reload the image after I power off and power on my roku box.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.