cookie.ignore.regex parameter
Use the cookie.ignore.regex parameter to configure which cookies to ignore from the header field. Ignoring these cookies excludes them from the digest computation.
- Start the WebSphere_Portal server.
- Log in to the WAS console, and go to...
Resources | Resource Environment | Resource Environment Providers | WP ConfigService | Additional Properties | Custom Properties | New
- Name of required property and set the value of the property to the appropriate value as required.
To specify cookies that are NOT included in the digest computation, specify...
cookie.ignore.regex = digest\\.ignore.*|Item1|Item2|Item3|Item4
... where Item1, Item2, Item3, Item4 are the items to exclude from getting cached. The default value is...
digest\\.ignore.*|LtpaToken|LtpaToken2|JSESSIONID
Any cookie set or modified by any component causes the digests in the URL to change, directly affecting the cache of those resources. If a particular cookie is required for some custom code or feature to work but it is not designed to invalidate the cache, that cookie name should be included in the cookie.ignore.regex list or at least matched successfully by the regular expression in that property. This process ensures that changes to the cookie value do not have any adverse impact on performance by prematurely invalidating cache entries.
- Click Apply and save the changes.
- Log out of the WAS console.
- Restart the WebSphere_Portal server.
Parent Caching