Monday, 28 July 2014

WebDav Cache in WebSphere Portal Server 8.5

By default, all items under the themes ,skins, common-resources,layout-templates folder is cache for 86400seconds(1 day).

Caching information is stored in WP Config Service as key/value

Format is:

filestore.cache.expiration.id.re=regular expression

filestore.cache.expiration.id.seconds=value

theme cache

filestore.cache.expiration.0.re =themes/.*

filestore.cache.expiration.0.seconds=86400

skins cache

filestore.cache.expiration.1.re =skins/.*

filestore.cache.expiration.1.seconds=86400

common-resources cache

filestore.cache.expiration.2.re = common-resources/.*

filestore.cache.expiration.2.seconds=86400

layout-templates cache

filestore.cache.expiration.3.re = layout-templates /.*

filestore.cache.expiration.3.seconds=86400

image

All items of a certain resource type, such as jpg or gif have an expiration time of 6000 seconds:

filestore.cache.expiration.1.re=.*\.jpg|.*\.gif

filestore.cache.expiration.1.seconds=6000

All css files in the themes folder have an expiration time of 8000 seconds:

filestore.cache.expiration.2.re=themes/.*\.css

filestore.cache.expiration.2.seconds=8000

No comments:

Post a Comment