History not recording

Talk about the native Mac OS X browser.

Moderator: Camino Developers

Post Reply
stardomains
Posts: 163
Joined: October 27th, 2008, 9:50 pm

History not recording

Post by stardomains »

I have "remember visited pages for 2 days" and it still never shows any history in my list.

No matter how many days I put my History always shows nothing. What could be doing it?
User avatar
cflawson
Posts: 4721
Joined: December 26th, 2004, 2:54 pm
Location: Flying over your house in a red, white, and blue jet
Contact:

Re: History not recording

Post by cflawson »

Have you quit and re-launched Camino since making the change? If not, try that and then visit a couple of sites. Then make sure there's a user-writeable, non-empty file called "places.sqlite" in ~/Library/Application Support/Camino/ . If that doesn't work, maybe try a totally new profile folder? You don't have a user.js file, do you?

cl
stardomains
Posts: 163
Joined: October 27th, 2008, 9:50 pm

Re: History not recording

Post by stardomains »

No user.js.

Tried just getting rid of places.sqlite and places-sqlite.journal and that did not do it.

Tried a new profile. And that did it. I'll add stuff back one by one to see what the culprit is.

Looks like something in my prefs.js file
stardomains
Posts: 163
Joined: October 27th, 2008, 9:50 pm

Re: History not recording

Post by stardomains »

Got it down to these:

user_pref("network.dns.disablePrefetch", true);
user_pref("network.http.max-connections", 24);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 16);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);
stardomains
Posts: 163
Joined: October 27th, 2008, 9:50 pm

Re: History not recording

Post by stardomains »

user_pref("network.dns.disablePrefetch", true);

is the culprit.

How come I can't turn that off and still get History?
phiw13
Posts: 2777
Joined: November 7th, 2002, 1:00 am
Location: Japan
Contact:

Re: History not recording

Post by phiw13 »

stardomains wrote:How come I can't turn that off and still get History?


It is a bug :-(. Thanks for finding this.
I filed: https://bugzilla.mozilla.org/show_bug.cgi?id=705610 for this issue
User avatar
cflawson
Posts: 4721
Joined: December 26th, 2004, 2:54 pm
Location: Flying over your house in a red, white, and blue jet
Contact:

Re: History not recording

Post by cflawson »

stardomains wrote:Got it down to these:

user_pref("network.dns.disablePrefetch", true);
user_pref("network.http.max-connections", 24);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 16);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);


Just curious: why did you change *any* of these prefs from their defaults? They're set to the values they are for a reason, and in particular, changing the max connections values is just rude to other users.

(It looks like "disable DNS prefetch" might have been a well-intentioned but misinformed workaround for buggy router firmware: https://bugzilla.mozilla.org/show_bug.cgi?id=475603 explains more. In that case, the real solution is probably to upgrade your router to the latest firmware, or use a different router.)

If a change in the defaults were able to significantly improve the browsing experience for users at no cost, don't you think the Core developers would have set new defaults?

To be clear, I'm not upset that you found a bug -- that's a good thing -- but there have been countless examples, of which this is just the latest, of people thinking they're smarter than the Core devs and tweaking settings that probably shouldn't be messed with.

cl
phiw13
Posts: 2777
Joined: November 7th, 2002, 1:00 am
Location: Japan
Contact:

Re: History not recording

Post by phiw13 »

cl: if I were on a real slow network or in a low or bad bandwidth situation, I would certainly disable prefetch. That is a thing invented to please some web developers (and google search) to give the impression that pages are fetched faster.
stardomains
Posts: 163
Joined: October 27th, 2008, 9:50 pm

Re: History not recording

Post by stardomains »

I got a lot of that from Google searches like "speed firefox about:config". There's tons of people posting their recommendations. I take some of them and use them. Besides, prefetching DNS is something I have no desire to do. I don't want my browser sending requests for every weird/unknown link on every page. I turn as much prefetching off as possible.
User avatar
Uncle Asad
Camino Developer
Posts: 3957
Joined: July 24th, 2004, 1:38 pm
Location: بين العالمين
Contact:

Re: History not recording

Post by Uncle Asad »

phiw13 wrote:cl: if I were on a real slow network or in a low or bad bandwidth situation, I would certainly disable prefetch. That is a thing invented to please some web developers (and google search) to give the impression that pages are fetched faster.

Prefetch was actually designed to improve pageload performance in exactly those network types (e.g., mobile phones on EDGE networks), because DNS resolution is small in packet size but slow; if you can resolve DNS for hosts of all related URLs on a page while the user is reading the page, you won't have to wait for DNS lookups to succeed once the user goes to leave.

Gecko's prefetch implementation also does something completely different, which is to improve parallelization of requests for items referenced by/used in the current page (images, scripts, CSS) *during pageload*, so that those will be ready sooner for construction of the page.
Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQSearch the Forum  Camino. HelpTroubleshoot Camino
User avatar
cflawson
Posts: 4721
Joined: December 26th, 2004, 2:54 pm
Location: Flying over your house in a red, white, and blue jet
Contact:

Re: History not recording

Post by cflawson »

stardomains wrote:I got a lot of that from Google searches like "speed firefox about:config". There's tons of people posting their recommendations.


Yeah, tons of people who are not Gecko developers and have no real clue what the prefs actually do, just a bunch of anecdotal "evidence" that something "feels" faster.

Would you trust a bunch of semi-anonymous people on the Internet telling you that the (flimsy plastic) Vortex Air Filter and Fuel Magnetizer is improving your gas mileage 40% for just $69.99 plus shipping, or would you ask an engineer or mechanic?

cl
Post Reply