Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: CGI Caching question

by chorg (Monk)
on Apr 22, 2001 at 06:18 UTC ( [id://74509]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI Caching question
in thread CGI Caching question

Will that apply to proxy servers as well? I want to prvent caching on all levels...
_______________________________________________
"Intelligence is a tool used achieve goals, however goals are not always chosen wisely..."

Replies are listed 'Best First'.
Re: Re: Re: CGI Caching question
by Masem (Monsignor) on Apr 22, 2001 at 06:31 UTC
    Unfortunately, you can't guarentee that at all; the Expires header is defined in the standard, and therefore, any proxy should follow it, but as with users and homegrown browsers, they don't have to. I know that in recent discussions on my isp's newsgroups on the possibly of installing a proxy, most proxies that are used at a large scale site are home grown and typically have had much trouble with 80% of the web sites out there that *don't* follow the standard.

    Again, falling back on a sessionid and other tracer should help prevent problems from cached page use.


    Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain

      You wrote that those homegrown proxies had trouble with websites because the websites don't follow the standard?

      Are you sure you don't mean it the other way around, that the proxies have problems because they don't follow the standard?

      Please elaborate!

        It's a combination of both. It is up to the proxy to determine that a page is past the Expires point, and thus when requested again, it needs to go out and retrieve it, but I could easily write a proxy that is blissfully ignorant of this aspect. On the other hand, there are web sites that use a non-standard method for attempting to expire web pages, and thus don't play well with proxies that do follow the standard.
        Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
Re: Re: Re: CGI Caching question
by petdance (Parson) on Apr 23, 2001 at 05:43 UTC
    I want to prvent caching on all levels...

    Remember, you can't prevent anything. This is the #1 thing that web creators seem to be not able to understand: Once that page leaves your server, it's outta your hands. You don't know who's going to render it, or cache it, or index it, or whatever.

    Basically, my point is, the cache things are suggestions at best. Nobody enforces them, and Lord only knows what mutant and/or broken browsers might be out there.

    xoxo,
    Andy

    # Andy Lester  http://www.petdance.com  AIM:petdance
    %_=split';','.; Perl ;@;st a;m;ker;p;not;o;hac;t;her;y;ju';
    print map $_{$_}, split //,
    'andy@petdance.com'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://74509]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found