IonicWind Software

IWBasic => General Questions => Topic started by: Peter on April 20, 2008, 10:52:08 AM

Title: Embedded browser cache problem
Post by: Peter on April 20, 2008, 10:52:08 AM
Hi there. I just decided to pick up programming once again so therefor I'm here to ask a question.

How can I possibly make the embedded browser to NOT cache its files? I have a software that polls information (pictures, shockwave etc). The problem arises when this page is reloaded every 15 seconds. Alot of the data is cached, and that makes my software useless since the page might update at any time and I really need these updates as soon as they appear. Is there a way to accomplish this or do I need to use pure API's for this?

Thanks everyone for an excellent community.
Title: Re: Embedded browser cache problem
Post by: sapero on April 20, 2008, 12:49:21 PM
I have similar software that every 5 minutes is pooling online user list from a server.
Simple DeleteUrlCacheEntry("http://www.server.com/userlist.php") did the job. Also in IE options (first page->temp settings) you should set caching to automatic.
Title: Re: Embedded browser cache problem
Post by: Peter on April 21, 2008, 01:04:41 AM
sapero! How haven't I missed your quick and effective replies? :) Glad to see that you're still around.

This "trick", how would it be affected if a server uses Location-tricks to send me around several pages, as well as scripts to load other pages as well?
I'm thinking about frames etc for instance.

Thanks.