how to clear the cache in scoped application using script?
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-11-2020 01:10 AM
hi Developers I am able to clear the cache via script using ga.cacheFlush(); in global scope but same cannot use in scoped Application
Can anyone suggest any alternative for clearing cache via code in scoped Application
thanks in advance
Regards
harsha
10 REPLIES 10
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-19-2023 10:49 PM
Hi Harsh
Check out these ones:
- GlideCacheManager.invalidate();
- GlideTableManager.invalidateTable('table_name');
- GlideCacheManager.flushTable('table_name');
Note: gs.invalidateCache() // this will degrade the performance onth instance though.
You can check out this KA that might help you with your query. KB0695145 .
Thanks
Abhishek Pandey