Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: cache control:private what does it mean?????  (Read 3780 times)

0 Members and 1 Guest are viewing this topic.

dmjpro

  • Guest
cache control:private what does it mean?????
« on: March 08, 2007, 07:23:28 AM »
friends ....
i have a response header Cache-Control:private then the proxy-cache does not happen.....only local cache happens

m i right .....

plz help me out .......

thanx
« Last Edit: March 08, 2007, 07:26:43 AM by dmjpro »

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: cache control:private what does it mean?????
« Reply #1 on: March 12, 2007, 02:36:29 PM »
What do you mean by "proxy-cache" and what are you trying to achieve?
« Last Edit: March 12, 2007, 02:36:57 PM by robpomeroy »
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dmjpro

  • Guest
Re: cache control:private what does it mean?????
« Reply #2 on: March 12, 2007, 11:22:28 PM »
sorry i never think of it ... just i heared the name and have no clear definition...

good to see u ask me ... i sense myself what i have about cache .....

so plz clearify me one thing when a response comes via proxy and then finally to the client then the page .. how decides that where to do cache , means local or proxy...or both

plz help me ..... thanx

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: cache control:private what does it mean?????
« Reply #3 on: March 13, 2007, 06:19:50 AM »
Okay, well proxies are usually outside of the control of the client or server in a typical HTTP transaction.  You must therefore treat them as untrusted - in other words, even if you ask the proxy not to cache the page in question, you cannot force the proxy to honour that request.  The best you can do is use HTTPS for sensitive transactions and hope that the client is not using a proxy for port 443 transactions.

Personally, I wouldn't distinguish between proxy and client cache in this way.  If you don't want the client to cache the page, you certainly don't want the proxy to cache it.  So set the page to expire at some date in the past and issue a "pragma:no-cache" header.
« Last Edit: March 13, 2007, 06:20:28 AM by robpomeroy »
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dmjpro

  • Guest
Re: cache control:private what does it mean?????
« Reply #4 on: March 14, 2007, 07:33:01 AM »
thnax for ur reply ....

tell me one more thing .... 443 transaction ..... i don't know about it ...

then say ... what Cache-Control:private does it mean really

thanxxxxx

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: cache control:private what does it mean?????
« Reply #5 on: March 14, 2007, 10:44:27 AM »
Quote
tell me one more thing .... 443 transaction ..... i don't know about it ...
I have no idea what you mean.

Quote
then say ... what Cache-Control:private does it mean really
Have a read >here<.  (And >here's< a more simple explanation.)  As I say, you can never be sure that an intervening proxy will abide by cache directives.
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dmjpro

  • Guest
Re: cache control:private what does it mean?????
« Reply #6 on: March 15, 2007, 03:17:26 AM »
i mean what happens if proxy uses port 443 for transaction ......


plz help me ...  thanxxx

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: cache control:private what does it mean?????
« Reply #7 on: March 15, 2007, 04:26:53 AM »
Ah right, sorry.  Port 443 is used by HTTPS - in other words, secure web transactions - the kind that you would use for online banking.  HTTPS is an encrypted protocol, designed to reduce the risk of someone viewing the contents of the web transaction.  Plain HTTP, which is unencrypted, uses port 80.  In my view, there is generally no harm in using a proxy for plain HTTP transactions, since they should not contain sensitive data.  Using a proxy for port 443 transactions however reduces the security of HTTPS and makes a so-called "man in the middle" attack relatively trivial.
« Last Edit: March 15, 2007, 04:27:08 AM by robpomeroy »
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dmjpro

  • Guest
Re: cache control:private what does it mean?????
« Reply #8 on: March 15, 2007, 04:42:23 AM »
ok it's ok ... thanx for ur reply

ok i ll check out ur link .....

thanx again