Hi Sunny,
Thanks for your feedback.
Based on my understanding, your problem is after the server got all the
pages, how can you determine which pages should be sent to client.(modified)
I think in your client side, you can use the File.GetLastWriteTimeUtc()
method to get the last modified time, then you can send these information
to the server.
The server side, can compare the last modified time property of pages to
determine which pages to zip and send to client.
If I misunderstand you, please feel free to let me know.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| From: Sunny <
[email protected]>
| Subject: RE: web pages cacheing
| Date: Fri, 7 Nov 2003 08:29:49 -0600
| References: <
[email protected]>
<
[email protected]>
| Organization: Iceberg Wireless LLC
| MIME-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-15"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: MicroPlanet Gravity v2.60
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 216.17.90.91
| Lines: 1
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:197443
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hi Jeffrey,
|
| In article <
[email protected]>, v-
| (e-mail address removed) says...
| >
| > Hi Sunny,
| >
| > Thanks for posting in this group.
| > Can you tell me which way you use to download web pages from web server?
| > Use ftp? Or just setup links for these pages for client to download?
| > If it is possible, I think source control is a good way for version
control.
| >
| > Thanks
| >
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! -
www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
|
|
| I'm implementing a client for disconnected devices (notebooks, PDAs,
| etc.).
| This client (when connected) have to download some pages for off-line
| viewing. The client connects to a server, which among other things, gets
| the necessary pages, zips them and sends them to client. So, I'm looking
| for a way, how to get only changed pages.
| Client can send the server some info about existing pages, so server
| will know how to compare if a page have been changed and to fetch it.
| What I'm missing is what exact info client have to send, and how server
| will check if pages are changed before fully download them and process
| them.
| My current implementation makes MD5 checksum of the pages, after that
| server downloads all pages, and then sends to the client only changed
| one. But I want to avoid unreasonable downloading at all.
| I do not have any knowledge on how proxy caches are working, so I need
| some info to implement something similar.
|
| Thanks
| Sunny
|