Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Simple view on how proxies work (inc DNS)

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Virgin Media Services > Virgin Media Internet Service > Webspace, E-Mail & Browsing Issues

Simple view on how proxies work (inc DNS)
Reply
 
Thread Tools
Old 13-03-2004, 12:42   #16
mr-b
Inactive
 
Join Date: Jan 2004
Location: Warwickshire
Posts: 53
mr-b is an unknown quantity at this point
Re: Simple view on how proxies work (inc DNS)

Quote:
Originally Posted by danielf
Ah, that makes sense, as I was wondering if the proxy had to query for a more recent page, which would increase traffic and defeat the purpose of the proxy unless you only have to retrieve the time stamp of the most recent page.

I presume this expiry time/date is set differently depending on the type of page? (very low for a forum like this) and high(er) for less dynamic pages)?

Or is it just based on recent 'refresh rates'?
One important thing to note is that a web page is made up of several objects, each of which can have different cacheability HTTP headers:

- Expires (the best since they are explictly set by the content publisher)

- Cache-Control

- Last-Modified

So a forum page should have the frequently updated part as having either a very recently modified date, a short expiry time or else marked as non-cacheable and the relatively static parts (logos, banners etc.) as being older or having longer expiry times.
This will make the page much more responsive than making the whole page uncacheable. Note that these settings are what your local browser cache uses as well, so it's not just for the benefit of proxies).

In fact checking this page via the Cacheability Engine shows this to be true (takes some time to load):
http://www.web-caching.com/cgi-web-c...php%3Ft%3D9354

There's some more info about how this all works (without requiring knowledge of the RFCs) and how to optimise web servers at:
http://www.mnot.net/cache_docs/
mr-b is offline   Reply With Quote
Advertisement
Old 13-03-2004, 13:08   #17
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,385
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: Simple view on how proxies work (inc DNS)

Quote:
Originally Posted by Chrysalis
well right now pem I am running through my own proxy on port 3333, but the ntl transperent proxy is still intercepting my pages, I will look for the post that explains this and paste it here.
Running a proxy on your own machine is a complete waste of time - it is certainly not going to bypass NTL's caches because as far as the above explanation goes, your proxy is still the local client.
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old 13-03-2004, 13:47   #18
Florence
Inactive
 
Florence's Avatar
 
Join Date: Jun 2003
Services: The wonders of Sky TV BT line and Aquiss.net ADSL cable dies on 5th RIP VM.
Posts: 4,004
Florence has a bronzed appealFlorence has a bronzed appeal
Florence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appeal
Re: Simple view on how proxies work (inc DNS)

The bottom line is these transparent proxies slow down your surfing as if they havent got the page you want it now has to look it up which you had already done on the proxy. In real time doubling the time till the page arrives if its one not stored.

If I have it wrong then I am willing to learn so come on techies teach me the ideas behind proxies and what benefit they give customers!
Florence is offline   Reply With Quote
Old 13-03-2004, 14:20   #19
danielf
cf.mega poser
 
danielf's Avatar
 
Join Date: Jun 2003
Posts: 16,687
danielf has a golden auradanielf has a golden auradanielf has a golden aura
danielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden aura
Re: Simple view on how proxies work (inc DNS)

I presume (but I might be wrong), the reason for having proxies is not to speed up browsing but to reduce the bandwith used outside the NTL network, thereby reducing cost (and as a result reducing what we need to pay for our connection)?
__________________
Remember kids: We are blessed with a listening, caring government.
danielf is offline   Reply With Quote
Old 13-03-2004, 15:09   #20
Chrysalis
cf.mega poster
 
Join Date: Sep 2003
Posts: 12,060
Chrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronze
Chrysalis is cast in bronze
Re: Simple view on how proxies work (inc DNS)

pem you might have misread my previous posts, the proxy is not on my local machine, it is on a remote box. It is a pass through proxy it doesnt cache pages.

this link no longer shows any ntl proxy servers.

http://romulas.zmnt.co.uk/forum/vars.asp
Chrysalis is offline   Reply With Quote
Old 13-03-2004, 19:16   #21
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,385
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: Simple view on how proxies work (inc DNS)

Quote:
Originally Posted by Chrysalis
pem you might have misread my previous posts, the proxy is not on my local machine, it is on a remote box. It is a pass through proxy it doesnt cache pages.

this link no longer shows any ntl proxy servers.

http://romulas.zmnt.co.uk/forum/vars.asp
Fair enough, where is this box located then ?
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old 13-03-2004, 20:52   #22
Chrysalis
cf.mega poster
 
Join Date: Sep 2003
Posts: 12,060
Chrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronze
Chrysalis is cast in bronze
Re: Simple view on how proxies work (inc DNS)

dedicated box I got in a datacentre in the us.

I got some minor issues with cookies and ssl at the moment needs some tweaking, but overall I am pleased with the improvements.
Chrysalis is offline   Reply With Quote
Old 14-03-2004, 02:05   #23
John Doe
Guest
 
Posts: n/a
Re: Simple view on how proxies work (inc DNS)

http://www.cisco.com/warp/public/732...witching/wccp/

hohum
  Reply With Quote
Old 14-03-2004, 10:24   #24
Florence
Inactive
 
Florence's Avatar
 
Join Date: Jun 2003
Services: The wonders of Sky TV BT line and Aquiss.net ADSL cable dies on 5th RIP VM.
Posts: 4,004
Florence has a bronzed appealFlorence has a bronzed appeal
Florence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appeal
Re: Simple view on how proxies work (inc DNS)

Quote:
Originally Posted by John Doe
Thank you for the link unfortunately what that says isn't happening.. I was quicker when proxies was off that now on my general surfing I.E. when researching for college course visiting websites I have never been to before..

Also the one website I visit the most the forums I moderate is slower this is hosted in Germany. I have more page errors on proxies even though the address is correct to get to these pages I have to go via Google.

Infect when the proxies were turned off that was the best internet I had and the DNS propagated quicker. I have had to waste downloads as I have sometimes started a download and itâ₠¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚¢s stopped partway through and would not restart. Yet if I started again from it worked.

Suppose its the proxies but I find the information on that link very limited about proxies and not at all reasuring after all the problems with mail servers how can we be sure the proxies will stay up. The more different ways we have to ask to get to our final website the more bandwidth we end up using.... IMPO........
Florence is offline   Reply With Quote
Old 15-03-2004, 10:16   #25
mr-b
Inactive
 
Join Date: Jan 2004
Location: Warwickshire
Posts: 53
mr-b is an unknown quantity at this point
Re: Simple view on how proxies work (inc DNS)

Quote:
Originally Posted by Kitty
The bottom line is these transparent proxies slow down your surfing as if they havent got the page you want it now has to look it up which you had already done on the proxy. In real time doubling the time till the page arrives if its one not stored.

If I have it wrong then I am willing to learn so come on techies teach me the ideas behind proxies and what benefit they give customers!
Not sure exactly what the above is saying, but if your question is about the latency that proxies add to internet requests, then (assuming that the proxy is working correctly, running within specification and there are no network problems) it is negligible compared to the response time via the internet and remote web server. Caches are designed to reduce the latency of internet requests as a whole.
A cache 'hit' (where it satisfies the request from local disk) should take tens of milliseconds (ms). A 'miss' (where it has to fetch the object from the remote web server via the internet) takes several hundreds to thousands of ms.

A slightly older doc on the problems of latency (but the principles still hold true today) is:
http://rescomp.stanford.edu/~cheshir...s/Latency.html
mr-b is offline   Reply With Quote
Old 15-03-2004, 16:05   #26
Chrysalis
cf.mega poster
 
Join Date: Sep 2003
Posts: 12,060
Chrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronze
Chrysalis is cast in bronze
Re: Simple view on how proxies work (inc DNS)

well ntl rang me up today, concerning my proxy complaint, I ran some tests for him downloaded a file from download.com and it was fine. I told him of the hotmail problems and on the firefox site as well as my browsing slowdown, he told me what I believed to be true tho, these proxies were turned on after ntl decided nationwide they are all to be on, he said its ok for me to use my own proxy, so I will carry on using it.
Chrysalis is offline   Reply With Quote
Old 15-03-2004, 16:31   #27
Florence
Inactive
 
Florence's Avatar
 
Join Date: Jun 2003
Services: The wonders of Sky TV BT line and Aquiss.net ADSL cable dies on 5th RIP VM.
Posts: 4,004
Florence has a bronzed appealFlorence has a bronzed appeal
Florence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appealFlorence has a bronzed appeal
Re: Simple view on how proxies work (inc DNS)

Quote:
Originally Posted by mr-b
Not sure exactly what the above is saying, but if your question is about the latency that proxies add to internet requests, then (assuming that the proxy is working correctly, running within specification and there are no network problems) it is negligible compared to the response time via the internet and remote web server. Caches are designed to reduce the latency of internet requests as a whole.
A cache 'hit' (where it satisfies the request from local disk) should take tens of milliseconds (ms). A 'miss' (where it has to fetch the object from the remote web server via the internet) takes several hundreds to thousands of ms.

A slightly older doc on the problems of latency (but the principles still hold true today) is:
http://rescomp.stanford.edu/~cheshir...s/Latency.html

Thank you for that link I will read it later tonight when I have peace. I must say that the proxies was working ok recently but last night they blew it big time. As soon as it was too late to call in the proxies for me died completely. Unable to access any website.. MSN, Yahoo, ICQ and AIM alsom MIRC chatroom all still worked but anything that needed the http was dead.... this lasted about 30 mins...

Need some sort of way to communicate these problems when faults is closed or 24 hour cover..
Florence is offline   Reply With Quote
Old 15-03-2004, 17:03   #28
SMHarman
Inactive
 
Join Date: Jun 2003
Services: Cablevision
Posts: 8,305
SMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronze
SMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronze
Re: Simple view on how proxies work (inc DNS)

Quote:
Originally Posted by danielf
Ah, that makes sense, as I was wondering if the proxy had to query for a more recent page, which would increase traffic and defeat the purpose of the proxy unless you only have to retrieve the time stamp of the most recent page.

I presume this expiry time/date is set differently depending on the type of page? (very low for a forum like this) and high(er) for less dynamic pages)?

Or is it just based on recent 'refresh rates'?
Http also has a HEAD command and a GET command. GET asks for the whole page, HEAD asks for the headers, which can be used to compare to the cached headers. Head uses a lot less bandwidth as a result.
SMHarman is offline   Reply With Quote
Old 15-03-2004, 18:02   #29
iadom
In the corner, sulking.
 
iadom's Avatar
 
Join Date: Jun 2003
Location: Shaw, Oldham, Lancashire.
Services: 2 TV 360 boxes. 500mb BB, Phone line.
Posts: 8,041
iadom has a nice shiny stariadom has a nice shiny star
iadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny stariadom has a nice shiny star
Re: Simple view on how proxies work (inc DNS)

Quote:
Originally Posted by Chrysalis
http://forum.nthellworld.co.uk/showp...2&postcount=89

shows the info

but right after i retrieved this post the ip shown in my sig is no longer ntl proxy server.

I think it is working after all
The proxies have only just been turned on again in this area and I have just noticed that your sig is now giving out my proxy and not my true IP.
iadom is offline   Reply With Quote
Old 15-03-2004, 21:09   #30
Chrysalis
cf.mega poster
 
Join Date: Sep 2003
Posts: 12,060
Chrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronze
Chrysalis is cast in bronze
Re: Simple view on how proxies work (inc DNS)

yeah I got this sig from someone else I added it purely as a diagnostic to see if using a ntl proxy.
Chrysalis is offline   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

Forum Jump


All times are GMT. The time now is 17:15.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum