Manually Recompile any GOS
We need to manually recompile GOS on the PROD environment because we need more performance for our API when generating the offer.
It is possible to switch off automatic recompilation by editing the Pega-DecisionEngine.decision/strategy/cacheGOSProgram dynamic system setting. By default, the setting is set to SMART_CACHE. To enable manual recompilation of globally optimized strategies, change the setting value to STATIC_CACHE.
We can manually recompile any GOS on the Configure -> Decisioning -> Decisions -> Strategy Optimizations page in Dev Studio. And we need to do it when GOS is in the open ruleset.
We have a question regarding this:
- What is the difference between manual recompile and automatic recompile (if the config is SMART_CACHE)?
- Why can the automatic recompile (SMART_CACHE) run even though the GOS is in the ruleset, which is locked?
Could someone please provide insights about this? Thank you.
***Edited by Moderator Marije to change Type from Discussion to Question***