Re: ActiveX, Loading File / Content

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Alexander Adam <contact@xxxxxxxxxxx> wrote:
Thanks a lot, this works almost perfectly now, but.. somehow it seems
the downloading is very very delayed that is, even when making a
reload and everything is in cache (I've checked it twice), it takes
quite some time for the OnProgress event to be called especially when
there multiple instances of my ActiveX on the page.

Upon reload, even if the item is in cache the protocol still checks with
the server using a conditional request (If-Modified-Since). After all,
the user typically hits Refresh button because she expects the page to
change, and wants to see the updated version.

You can use BINDF_FWD_BACK flag to specify that you prefer cached copy,
and only want to download from server if the item is not in the cache.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.


Quantcast