Storing web content in cache in c# .NET windows application -


I am developing a windows application in C # in which I am displaying web pages using web browser controls , And I have to store how can I do the contents of a web page in a cache?

If you store only the document text property of the control, it will only enable you HTML content Items such as images and stylesheets will not be cached for caching.

If you want to cache images and stylesheets, you will need to parse the content of the document text and recover the objects and the like-like images and stylesheets. They are stored on the web server and make local copies, then update the link in the DocumentText property to point to local versions.

Use a class to download a copy of the object on the remote web server.


Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -