Deprecated WebBackForwardList Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.4.11

pageCacheSize

Returns the maximum number of pages that the receiver can cache. (Deprecated in OS X v10.4.11. Use the usesPageCache method in WebPreferences instead.)

- (NSUInteger)pageCacheSize
Return Value

The maximum number of pages that can be cached.

Availability
  • Available in OS X v10.2 with Safari 1.0 and later.
  • Available in OS X v10.2.7 and later.
  • Deprecated in OS X v10.4.11.
Declared In
WebBackForwardList.h

setPageCacheSize:

Sets the maximum number of pages the receiver can cache. (Deprecated in OS X v10.4.11. Use the setUsesPageCache: method in WebPreferences instead.)

- (void)setPageCacheSize:(NSUInteger)size
Parameters
size

The maximum number of pages that can be cached.

Discussion

The default page cache size can vary depending on the computer’s configuration. Use pageCacheSize to get the current setting.

Availability
  • Available in OS X v10.2 with Safari 1.0 and later.
  • Available in OS X v10.2.7 and later.
  • Deprecated in OS X v10.4.11.
Declared In
WebBackForwardList.h