Connecting Tech Pros Worldwide Help | Site Map

how to detect the browser cache is full using javascript or HTML?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 07:06 PM
onewebclick@gmail.com
Guest
 
Posts: n/a
Default how to detect the browser cache is full using javascript or HTML?

Is there a way to detect a browser cache is full using javascript or
HTML thorugh a web page and inform the user to clear the cache to
improve performance of the website.

It looks like google's gmail use to detect and warn "Gmail says my
browser's cache is full"
http://gmail.google.com/support/bin/...y?answer=14106 then there
should be a way to do it if google can do it.

Any thoughts ?

i googled a lot on this topic but nothing turned out to be a vialb
solutoin. any help wpuld be appreciated.


  #2  
Old July 23rd, 2005, 07:06 PM
Richard Cornford
Guest
 
Posts: n/a
Default Re: how to detect the browser cache is full using javascript or HTML?

onewebclick@gmail.com wrote:[color=blue]
> Is there a way to detect a browser cache is full using
> javascript or HTML thorugh a web page and inform the user
> to clear the cache to improve performance of the website.[/color]

No, that would be a significant security violation (being in a position
to know anything about the state user's computer).
[color=blue]
> It looks like google's gmail use to detect and warn "Gmail
> says my browser's cache is full"
> http://gmail.google.com/support/bin/...y?answer=14106
> then there should be a way to do it if google can do it.[/color]

If a resource is configured, has HTTP headers, such that encourage it to
be cached client-side, and the server can determine that it is being
re-requested when it would otherwise be expected to be retrieved from
the cache, then they might decide that they have grounds for concluding
that the browser's cache is full (as the simplest (but a long way from
the only) explanation for why it was being re-requested).

However, the evidence available to them would not actually support that
conclusion, and the if they make such an announcement it would speak of
a comprehension defect in Google's programmers rather than the
availability of a technique for gauging when the cache is full. (A more
cautious announcement, along the lines of; "your browser appears to us
to be behaving as if its cache is full", would be a more realistic
assertion).
[color=blue]
> Any thoughts ?
>
> i googled a lot on this topic but nothing turned out to be
> a vialb solutoin. any help wpuld be appreciated.[/color]

There is no valid solution. You cannot determine with certainty the
state of a web browser's cache with scripts, HTML (obviously, as it is a
mark-up language) or any server-side strategy, full stop.

Richard.


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.