How to use GlideCacheManager?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 06:54 PM
I see that the GlideCacheManager class is used in some scripts. Is there any relevant documentation on how to use it, or can you tell me some methods related to it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2022 10:19 PM
Hi
ServiceNow has internally different caches to speed up access to data like ACLs or System Properties without requesting the database each time.
But if you change an ACL some caches are cleared to be built again from scratch during the next cache access.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2025 08:23 PM
hi @Peter64 , i am not a fun of GlideCacheManage since ServiceNow is using Rhino Engine, it is another layer utilizing the JAVA api...... Depending on your requirement, I have a created this singleton design pattern that allows you to cache in a single instance.