When some content items contain fields with the Rules field type, content authors can experience slowness with the following operations:
- Saving/moving/copying/deleting items
- Publishing items
- Installing packages
This issue generates log entries such as:
INFO Creating script with key web5862787EDD1B45559C1C4EFAD12AFD51
INFO Scripts in cache: 1
INFO Creating script with key web6826A27606EA4046826EE30FD2E89327
INFO Scripts in cache: 2
INFO Cleared script cache
When Sitecore performs these actions on each item:saved event for items containing at least one field with the Rules field type, the script cache is cleared and updated scripts are compiled and added into the script cache.
To resolve the issue, consider the following options:
- For Sitecore 7.1—8.1, download the file Sitecore.Support.433653.dll, and copy it into the /bin folder.
- For Sitecore XP 8.2:
- Place the Sitecore.Support.433653.dll file into the /bin folder. The assembly is updated in accordance with Cache API changes
- Place the Sitecore.Support.433653.config file into the /App_Config/Include folder.
- Delete the following items from the master database:
- /sitecore/system/Settings/Rules/Item Saved/Rules/Clear Script Cache
- /sitecore/system/Settings/Rules/Item Deleted/Rules/Clear Script Cache
- /sitecore/system/Settings/Rules/Version Removed/Rules/Clear Script Cache