Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

NOTE: This page is now pretty out-of-date.  I've since switched browsers to Google Chrome, which doesn't need any particular tuning of its own.

 

Although I didn't think I'd have to, I actually ended up tweaking Mozilla's Firefox browser
quite a bit for speed. This page is intended to document that, as well as offer tips for
those who use other browsers.

...

Assuming you've followed the WebCacheProxyTuning page, and have everything up and running,
here's what I've modified within Firefox for additional performance.

First, open your browser and enter "about:config" as the URL. This will access Firefox's
internal settings. Click through the "please be careful" warning, then simply change the following:

1. Enable HTTP Pipelining

I did some research as to why this isn't enabled by default and really couldn't find any good reasons.
Apache Traffic Server supports this, and I got a roughly 100% speed boost by enabling it.
I also dropped the folks at Mozilla a line and suggested they support this.

Code Block

network.http.pipelining user_set boolean true
network.http.pipelining.ssl user_set boolean true
network.http.proxy.pipelining user_set boolean true

...

Increase

...

Connections

As it turns out, this first setting is artifically low on the presumption you'll be using a public proxy
on the Internet and that it's "bad etiquette" to send such a server too many connections.
Being that I'm not going to kick myself off my own proxy server, I went ahead and changed this. (wink)

The second setting allows for more connections per server, with the assumption ATS will process these in parallel.

Code Block

network.http.proxy.max-persistent-connections-per-proxy user_set integer 256
network.http.max-persistent-connections-per-server user_set integer 128

Speculative HTTP Parsing

This setting I've had no end of annoyance finding documentation for.  I found I got a considerable performance boost with ATS by disabling this feature.

Code Block
network.http.speculative-parallel-limit user_set integer 0

That's it. Go ahead and restart your browser just to be safe, then enjoy your increased surfing speeds.

Epilogue And Ongoing Problems

Well, that's it!

There is one ongoing, lingering problem I'm experiencing that I thought I'd document here.

Once in a while, on Facebook, an image served up by Akamai won't load properly.
It appears as though a timeout occurs within the browser, and while Safari
will simply load the image later, Firefox won't.

Reloading the webpage in the browser seems to "fix" the problem but that's really
more of a hack than a solution.

I thought at first that this had to do with somewhat well-known problems regarding
Akamai and the HTTP VARY header, but I've seen it happen with VARY support both
turned on and off.

 

Previous Page:  WebProxyCacheOSI plan to look into this further, and will update this Wiki page as necessary.