| | 1 | 2005-09-06 David Hyatt <hyatt@apple.com> |
| | 2 | |
| | 3 | Reduce the # of cached pages for a back/forward list. The old cache would cache the |
| | 4 | following per tab: |
| | 5 | > 1gb memory = 16 pages per tab/window |
| | 6 | > 512mb memory = 8 pages per tab/window |
| | 7 | <= 512mb memory = 4 pages per tab/window |
| | 8 | |
| | 9 | This consumes far too much memory and is way too aggressive. The new cache sizes are |
| | 10 | as follows: |
| | 11 | >= 1gb memory = 3 pages per tab/window |
| | 12 | >= 512mb memory = 2 pages per tab/window |
| | 13 | < 512mb memory = 1 page per tab/window |
| | 14 | |
| | 15 | Reviewed by john |
| | 16 | |
| | 17 | * History.subproj/WebBackForwardList.m: |
| | 18 | (-[WebBackForwardList pageCacheSize]): |
| | 19 | * WebView.subproj/WebPreferences.m: |
| | 20 | (+[WebPreferences initialize]): |
| | 21 | |