On-device cache settings

Setting

Description

OnDeviceCachingOption 

Determines the mode of on-device caching. Options are:

  • EverythingAlways causes all documents to remain cached on the device indefinitely, regardless of any caching directives in the HTTP headers for those documents.

  • NothingEver means no documents are cacheable on the device. Every time a page is accessed, a new copy of the page is fetched from M-Business Server.

  • EverythingDefault sets all non-error documents to expire on the device after the number of seconds specified in the DefaultOnDeviceExpiration directive. Any HTTP header information is ignored; instead, the default value is used at all times. Error documents will not be cached on the device.

  • UseDefault (default) causes documents to be cached on the device for the correct amount of time as specified by the HTTP headers for that document. If the DefaultOnDeviceExpiration flag is set to a positive number, then all cacheable documents will stay on the device for at least that number of seconds. If the document’s HTTP header information allows it to be cached for longer than the DefaultOnDeviceExpiration flag, then it will be cached for that longer period of time.

DefaultOnDeviceExpiration 

Specifies the default number of seconds that documents will be cached on the user’s device. Default: 1200