[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Offline Browsing



Aruneesh Salhotra forced the electrons to say:
> Hi,
> In offline browsing, the browser instead of polling the internet for the
> requested pages, polls the cache maintained by the browser. If the web page
> is found in the cache, the page is shown, else an appropriate error is
> displayed.

Not exactly. In the strictest sense, offline browsing is what wget does -
especially when used as an at job. That is, it just fetches the pages
requested from the server and stores them on the disk, for the person who
requested those pages can browse them later. So, you schedule the downloading
of pages when the connection speed is maximum, and the charges are minimum,
and use the stored copies to browse at your leisure.

Remember that even if a browser/proxy server caches web pages that it fetches,
there is usually a connection established to the actual server just to check
if the page has changed in the meantime. Thus, if a request for a cached page
comes, the browser connects to the actual server, and asks it for the last
modification time of the page. If it appears that the page has been modified
since the time it has been last downloaded, then the browser actually fetches
the page; otherwise it just uses the cached page.

Binand

-- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.