473,887 Members | 2,290 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 2341
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
3276
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
3244
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
3212
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 be a way to do it if google can do it. Any thoughts ?
1
2844
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 run the javascript,changing a hidden
7
2174
by: Chris | last post by:
Can anybody tell me how to detect is the user has closed the browser Thank you
2
1280
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 explainin how I shouldn't do that. Even if the users have to add the server to the trusted zone...
1
1462
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 CTRL-N to open a new browser.
8
4068
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 the new image from its URL location.
0
9957
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10771
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9593
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7988
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5810
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6011
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4633
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4239
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3245
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.