Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > How to detect if browser's cache is full

Reply
Thread Tools

How to detect if browser's cache is full

 
 
nsimeonov@gmail.com
Guest
Posts: n/a
 
      06-06-2006
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

 
Reply With Quote
 
 
 
 
Erwin Moller
Guest
Posts: n/a
 
      06-07-2006
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


 
Reply With Quote
 
 
 
 
Jessica Parker
Guest
Posts: n/a
 
      06-08-2006

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.

 
Reply With Quote
 
Jessica Parker
Guest
Posts: n/a
 
      06-08-2006

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


Erg...*with* you.

 
Reply With Quote
 
Ian Collins
Guest
Posts: n/a
 
      06-08-2006
Erwin Moller wrote:
> 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.
 
Reply With Quote
 
Jessica Parker
Guest
Posts: n/a
 
      06-12-2006

Ian Collins wrote:
> Erwin Moller wrote:
> > 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.

 
Reply With Quote
 
Randy Webb
Guest
Posts: n/a
 
      06-12-2006
Jessica Parker said the following on 6/11/2006 11:02 PM:
> Ian Collins wrote:
>> Erwin Moller wrote:
>>> 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.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
 
Reply With Quote
 
Jessica Parker
Guest
Posts: n/a
 
      06-12-2006

Randy Webb wrote:
> Jessica Parker said the following on 6/11/2006 11:02 PM:
> > Ian Collins wrote:
> >> Erwin Moller wrote:
> >>> 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.javascript 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?

 
Reply With Quote
 
Bart Van der Donck
Guest
Posts: n/a
 
      06-12-2006
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

 
Reply With Quote
 
Randy Webb
Guest
Posts: n/a
 
      06-13-2006
Jim Carlock said the following on 6/12/2006 7:54 PM:
> 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.


The fact that it depends on a UA honoring something that it isn't
required to honor at all.

> Am I correct in leaning into the meta pragma cache tags as
> something for proxy servers?


Probably so, who knows. It became abused by people when they noticed
that sometimes the browser/UA would honor it and didn't care if the UA
didn't honor it. Then it became mythical to use it.

> 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>


My browser doesn't honor it either <g>

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
[CACHE] detect removed object teo ASP .Net 2 12-08-2006 03:15 AM
Detect when browser's cache is full nsimeonov@gmail.com Javascript 2 04-21-2006 09:48 PM
detect cache settings Ryan Moore ASP .Net 0 02-03-2004 07:20 PM
Cache::Cache Stale Segments Jeff Nokes Perl 0 09-30-2003 04:34 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57