Usage Of gs.cacheFlush() On Scripts

< 1 min read

Impact Area

Performance

 

Severity

High

 

Affected Element

All Scripting components

Inline Script

Rule ID #

SN-0411

Impact #

 The cache flush has a very high performance cost leading to potential system degradation during the rebuild. Recommended is only the pre-defined cache flush actions that are built into out the box solutions.

Remediation #

Do not use gs.cacheFlush() in scripts. During core business hours, avoid or minimize any actions that will cause a purge and rebuild of the instance cache.

Time to fix #

40 min

Updated on March 21, 2025
Was it helpful ?