Skip to Content
Web Performance Tuning
book

Web Performance Tuning

by Patrick Killelea
October 1998
Intermediate to advanced
374 pages
12h 6m
English
O'Reilly Media, Inc.
Content preview from Web Performance Tuning

Proxy Servers

Proxy servers are usually set up at the interface between a large organization and the rest of the Internet, both for security and performance reasons. The main idea behind using a proxy for security is that there will be no direct connections between the Internet and the internal network; when an HTTP request goes out, the proxy intercepts it and makes the request on behalf of the internal user. Or if the proxy already has the page in its cache, the cache will simply return the page to the internal user without ever touching the Internet.

If the page requested is not in the proxy’s cache, then the request will be significantly slower because of the extra step of intercepting the request and copying it back from the proxy to the client. On the other hand, for all subsequent accesses, access will be far faster because the page is close at hand.

Proxy caches don’t work for dynamic content, or at least they’re not supposed to. If your proxy is caching dynamic content, the whole purpose of creating custom content on the fly is defeated. There are a few other twists with dynamic content. The images and other embedded static content on a dynamic page will be cached for an increase in performance, but HTTP 1.1 keepalives may actually hinder this use of cached images and lower performance. It depends on the sophistication of your proxy server. If the proxy checks only the first URL of the connection, it will not realize that it has usable images in the cache. Or, if the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Web Performance Tuning, 2nd Edition

Web Performance Tuning, 2nd Edition

Patrick Killelea
Ajax Design Patterns

Ajax Design Patterns

Michael Mahemoff

Publisher Resources

ISBN: 1565923790Catalog PageErrata