473,569 Members | 2,572 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to detect if browser's cache is full

Hello,

Does anyone have any idea how Gmail does this? I have a web application

and people complain sometimes about some problems and most of the time
it turns out it's the browser's cache being full. The application
doesn't do anything really fancy and all it does is to set a cookie. I
did a search and couldn't find anything except people explainin how I
shouldn't do that. Even if the users have to add the server to the
trusted zone it's ok because it's an intranet application. btw. I'm
speaking of a MS shop, so everyone is using IE if that matters. Even if

Mozilla doesn't support that functionality or doesn't have any problems

with it - I don't care at this point because my users are using IE
99.9999% of the time and searching for bugs on places where they don't
exist is wasting my time.

Thanks,
Nick

Jun 6 '06 #1
21 2287
ns*******@gmail .com wrote:
Hello,

Does anyone have any idea how Gmail does this? I have a web application

and people complain sometimes about some problems and most of the time
it turns out it's the browser's cache being full.
What?
What on Earth makes you think that 'problems' are caused by browsers cache
that is full?
I do not believe that explanation at all.
Back up that claim with some proof.
The application doesn't do anything really fancy and all it does is to set a cookie. I
did a search and couldn't find anything except people explainin how I
shouldn't do that. Even if the users have to add the server to the
trusted zone it's ok because it's an intranet application. btw. I'm
speaking of a MS shop, so everyone is using IE if that matters. Even if

Mozilla doesn't support that functionality or doesn't have any problems

with it - I don't care at this point because my users are using IE
99.9999% of the time and searching for bugs on places where they don't
exist is wasting my time.
So why should I care and help you?
I am that 0.00001% that uses Firefox.

Like your first story: I do not believe this either.

You know-it-all attitude doesn't reflect your actual knowledge.

Regards,
Erwin Moller

Thanks,
Nick


Jun 7 '06 #2

Erwin Moller wrote:
I'm
speaking of a MS shop, so everyone is using IE if that matters. Even if

Mozilla doesn't support that functionality or doesn't have any problems

with it - I don't care at this point because my users are using IE
99.9999% of the time and searching for bugs on places where they don't
exist is wasting my time.


So why should I care and help you?
I am that 0.00001% that uses Firefox.


You're one of his users? What an amazing coincidence.

To the OP: Sorry, I don't know how to help you, but I hope someone can
without being a snob! Good luck.
-A faithful firefox users who doesn't work for you.

Jun 8 '06 #3

Jessica Parker wrote:
-A faithful firefox users who doesn't work for you.


Erg...*with* you.

Jun 8 '06 #4
Erwin Moller wrote:
ns*******@gmail .com wrote:

Hello,

Does anyone have any idea how Gmail does this? I have a web application

and people complain sometimes about some problems and most of the time
it turns out it's the browser's cache being full.

What?
What on Earth makes you think that 'problems' are caused by browsers cache
that is full?
I do not believe that explanation at all.
Back up that claim with some proof.

Interesting aside, I was unable to login to my online banking account
the other day. When I called the bank, the first thing they asked was
"are you using Firefox?", when I said yes, the response was "your cache
is full, clear the cache and restart". This cleared the problem.

Unfortunately the help desk person was unable to explain why the problem
occurs.

--
Ian Collins.
Jun 8 '06 #5

Ian Collins wrote:
Erwin Moller wrote:
ns*******@gmail .com wrote:

Hello,

Does anyone have any idea how Gmail does this? I have a web application

and people complain sometimes about some problems and most of the time
it turns out it's the browser's cache being full.

What?
What on Earth makes you think that 'problems' are caused by browsers cache
that is full?
I do not believe that explanation at all.
Back up that claim with some proof.

Interesting aside, I was unable to login to my online banking account
the other day. When I called the bank, the first thing they asked was
"are you using Firefox?", when I said yes, the response was "your cache
is full, clear the cache and restart". This cleared the problem.

Unfortunately the help desk person was unable to explain why the problem
occurs.

--
Ian Collins.


All browsers have cache...

There is a meta tag to tell the browser NOT to cache a page.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1"> (Add this second line for IE).

Not sure if this would help with the original problem, but it took me
two seconds to find on google.

Jun 12 '06 #6
Jessica Parker said the following on 6/11/2006 11:02 PM:
Ian Collins wrote:
Erwin Moller wrote:
ns*******@gmail .com wrote:
Hello,

Does anyone have any idea how Gmail does this? I have a web application

and people complain sometimes about some problems and most of the time
it turns out it's the browser's cache being full.

What?
What on Earth makes you think that 'problems' are caused by browsers cache
that is full?
I do not believe that explanation at all.
Back up that claim with some proof.

Interesting aside, I was unable to login to my online banking account
the other day. When I called the bank, the first thing they asked was
"are you using Firefox?", when I said yes, the response was "your cache
is full, clear the cache and restart". This cleared the problem.

Unfortunately the help desk person was unable to explain why the problem
occurs.

--
Ian Collins.


All browsers have cache...

There is a meta tag to tell the browser NOT to cache a page.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1"> (Add this second line for IE).

Not sure if this would help with the original problem, but it took me
two seconds to find on google.


How long did it take you to find the explanation of why those two meta
tags are useless and futile to use?

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jun 12 '06 #7

Randy Webb wrote:
Jessica Parker said the following on 6/11/2006 11:02 PM:
Ian Collins wrote:
Erwin Moller wrote:
ns*******@gmail .com wrote:
> Hello,
>
> Does anyone have any idea how Gmail does this? I have a web application
>
> and people complain sometimes about some problems and most of the time
> it turns out it's the browser's cache being full.

What?
What on Earth makes you think that 'problems' are caused by browsers cache
that is full?
I do not believe that explanation at all.
Back up that claim with some proof.

Interesting aside, I was unable to login to my online banking account
the other day. When I called the bank, the first thing they asked was
"are you using Firefox?", when I said yes, the response was "your cache
is full, clear the cache and restart". This cleared the problem.

Unfortunately the help desk person was unable to explain why the problem
occurs.

--
Ian Collins.


All browsers have cache...

There is a meta tag to tell the browser NOT to cache a page.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1"> (Add this second line for IE).

Not sure if this would help with the original problem, but it took me
two seconds to find on google.


How long did it take you to find the explanation of why those two meta
tags are useless and futile to use?

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


Apparently I was wrong - the snobs are out in full blast eh?

Jun 12 '06 #8
Jessica Parker wrote:
[...]
There is a meta tag to tell the browser NOT to cache a page.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1"> (Add this second line for IE).


Apparently I was wrong -


Yes you are. And even if you were right, you forgot:

<META HTTP-EQUIV="cache-control" CONTENT="no-cache">

--
Bart

Jun 12 '06 #9
"Jessica Parker" <je******@gmail .com> wrote:
Jessica Parker said the following on 6/11/2006 11:02 PM:
All browsers have cache...

There is a meta tag to tell the browser NOT to cache a page.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1"> (Add this second line for IE).

Not sure if this would help with the original problem,
but it took me two seconds to find on google.
That's kind of a snobby statement about the amount of time
it took to find your answer. But you did bring up a good
topic. I see that your answer can't be applied for the follow-
ing reasons:
(1) It didn't answer the question of how to detect if the
cache is full.
(2) It's a server side thing to put the statements into the html
content. Furthermore, I believe it's used more as a proxy
thing, telling proxy servers how and what to cache. I believe
browsers cache everything and to prove this, browsers seem
to provide a way to to display the html content and save the
HTML content, although I've seen some fancy javascript
stuff which tries to get rid of such capabilities and some end
users frown on such tactics.

Randy Webb wrote: How long did it take you to find the explanation of why
those two meta tags are useless and futile to use?


I'm interested in hearing what others have to say about
why it's useless and what makes it useless. Am I correct
in leaning into the meta pragma cache tags as something
for proxy servers? Search engines don't seem to honor
those tags, so they don't seem to apply to search engines,
although they might provide a hint on how many times the
spiders should visit. <g>

--
Jim Carlock
Post replies to the group.
Jun 12 '06 #10

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

Similar topics

21
3185
by: Tony Marston | last post by:
If the use of the browser's BACK button is interfering with the operation of your web application then take a look at this article entitle "Back Button Blues" http://www.tonymarston.co.uk/php-mysql/backbuttonblues.html -- Tony Marston http://www.tonymarston.net
2
3200
by: Ben | last post by:
Hi all, I have written a web server that listens for requests: class MyHandler(BaseHTTPRequestHandler): def do_GET(self): if (self.path)=='/': data=makeList() else:
1
3179
by: onewebclick | last post by:
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/answer.py?answer=14106 then there should...
1
2829
by: oreng | last post by:
Hey all, I have some problems detecting whether the client's browser javascript is enabled at the server side. While Request.Browser.JavaScript only check if the browser enable java script (and so on with Request.Browser.Cookies). I saw some server controls that register a startup script on the page_load and then perform a postback and...
7
2147
by: Chris | last post by:
Can anybody tell me how to detect is the user has closed the browser Thank you
2
1267
by: nsimeonov | last post by:
Hello, Does anyone have any idea how Gmail does this? I have a web application and people complain sometimes about some problems and most of the time it turns out it's the browser's cache being full. The application doesn't do anything really fancy and all it does is to set a cookie. I did a search and couldn't find anything except people...
1
1446
by: Big Daddy | last post by:
There are a few things that I store in the session cache hashtable for our application. The user gets a session when they log into the application. They can open more than one browser window using the same session by doing things like: If they right click on a link and select "Open in new window" from the context menu. If they hit...
8
4046
by: Edward Diener | last post by:
Is there a way in Javascript, or perhaps in HTML, to force a browser to re-render an image on an HTML page after a round-trip between the client and the server ? In my particular case, the image is changing on the server although the URL for it remains the same, but the browser is still displaying the old image from its cache rather than...
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.