Creating a MIME Filter to cache Files



I'm writing some code to cache web files for an application.

I have a DLL (C++) with a Web Control. When it loads a web page I want to
cache all files involved with the web page.

I call CoInternetGetSession and RegisterMimeFilter successfully. My class
factory is called to create an object that handles IInternetProtocol and
IInternetProtocolSink.

My new object gets the Start call and I QueryInterface on the passed in
IInternetProtocolSink to get the IInternetProtocol object and call
GetBindString to get the URL. My Start method returns S_OK.

Problem is that no other function but Release is called on my object - I do
NOT get calls to ReportProgress or ReportData.

My ultimate goal is to cache all files for a given web page - like a proxy
server, but do it just for my application.

Suggestions? Questions??

Thanks in advance,

David Stidolph
Austin, TX
.



Relevant Pages

  • Re: Troubleshoot Stalled Web Page
    ... E.g. do you see that if you open the page using your keyboard instead ... The page sometimes loads the top graphic, ... As I mentioned, after clearing the cache, I get different results each visit ... TIF Cache opens 7 sub-folders every time. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • PPC 405 in Virtex 2 Pro 30-Turning off "Critical-word first" loads
    ... I'm trying to disable "Critical-word first" loads for cache loads. ... the cacheline starting from the base address of the cacheline. ... target data first, so it uses the wrong word. ...
    (comp.arch.embedded)
  • Re: Motorists stranded again!
    ... > Fod wrote: ... It just loads the titles only and when I open a post it only ... mode (which seems to be the only usable way to view posts in google). ... Certainly you don't have to clear you cache but you still download more ...
    (uk.transport)
  • Re: Any ideas on this problem
    ... It really sounds like a problem with the IE cache. ... First visit the page is not in the cache and loads at the ... Tools, Internet Options, under "Temporary Internet Files" ...
    (alt.sys.pc-clone.dell)
  • Re: Business Entity Hierarchy OO question
    ... create a query that will pull the exact data you need. ... The more you cache, the less you have to go to the database (over ... loads most of the tables upon first reference (because they're small, ...
    (microsoft.public.dotnet.languages.csharp)