473,320 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.

Jul 23 '05 #1
1 3160
on*********@gmail.com wrote:
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.
No, that would be a significant security violation (being in a position
to know anything about the state user's computer).
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.
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).
Any thoughts ?

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


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.
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: long5120 | last post by:
I am trying to use webpage with javascript to check if a web server is responding. I was thinking of using 2 frames. Frame1 will have the site, and the Frame2 will be a status bar (not really...
9
by: CW | last post by:
I wrote an HTML based chat application. The front end is built entirely on HTML + javascript. Essentially, I have a hidden frame that's refreshed frequently and any new messages are displayed in...
5
by: Andy | last post by:
Hi, I'm trying to use javascript to detect the version of internet explorer before running an active x control. I'm after the full version number (eg not just IE6 but 6.0.2800.1106). Is there...
3
by: Sergey Surkov | last post by:
Hello Does anybody know how to make FireFox to cache data that comes via XMLHttpRequest? Here is the issue I deal with: - On the web server (apache2) I have a static xml file test.xml - When I...
9
by: SHarris | last post by:
Hello, In our new intranet ASP.NET project, two requirements are that the browser accept cookies AND JavaScript. We are requiring the use of Internet Explorer 6+. 1. Using C# in an ASP.NET...
2
by: junlia | last post by:
Hi All, I am working on a project that acts as a bridge. It does some checking with post xml data, and then redirects the request to an appropriate page. However, we find that depends on the...
6
by: bushi | last post by:
hi everyone! i have diplayed my hyperlinks in a iframe.when i redirect to next page.the next page also open in the same frame,but i want to open a new browser window,when i click on the...
8
by: GiJeet | last post by:
hello, is it possible to determine the browser and version using javascript at runtime and apply a browser specific external .css file? If so, I'd appreciate code sample so I can see how it's...
1
by: mapradheep | last post by:
hi all i have 25 components which includes and i have written a key event where i say that function, when "ENTER" is entered, i call a function which will submit the page. now my page is getting...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.