cache
Sets the HTTP cache to a cache with the provided directory and maxSize.
Since
200.2.0
Parameters
directory
the directory in which to store the cache
max Size
the maximum size of the cache. Must be greater than 0.
Throws
if maxSize is less than or equal to 0.
Sets the cache to a cache with the provided maxSize and DEFAULT_HTTP_CACHE_LOCATION as the location.
Since
200.2.0
Parameters
max Size
the maximum size of the cache. Must be greater than 0.
Throws
if maxSize is less than or equal to 0.