Opened 15 years ago
Closed 11 years ago
#6052 closed enhancement (fixed)
Larger Cookies.curl slows down page loading
Reported by: | humdinger | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/WebPositive | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #6739, #8682 | |
Platform: | All |
Description
This is Web+ hrev515.
Because I "play back" my settings from Haiku update to update, my Cookies.curl is a bit larger: 126 KiB. This slows down the loading of pages. For example www.haiku-os.org takes about 5 times as long until it's completey loaded, from 4s to 20s.
Change History (7)
comment:1 by , 15 years ago
comment:2 by , 14 years ago
I have this problem too. My Cookies.curl size is ~200 KB. Page loading is much slower, than with empty Cookies.curl. Cookies must be binary(possible BMessage format) for better perfomance.
comment:3 by , 14 years ago
This just sounds like the cookiejar is getting reparsed every time you make a request. You needn't change the format of it (indeed the cookiejar format is somewhat standardized anyway), you just need to parse it in and work off an internal representation instead of reparsing it every request.
comment:4 by , 14 years ago
Blocking: | 6739 added |
---|
follow-up: 6 comment:5 by , 12 years ago
Blocking: | 8682 added |
---|
comment:6 by , 12 years ago
comment:7 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should be solved now, we have switched to our own cookie Jar implementation and the file is read and parsed only once when the browser starts.
Wow, thanks for the info. Looks like I really have to code our own cookie implementation... which unfortunately has potential for lots of incompatibilities.