Please change it to the latest one I posted, it is a more correct version.

Clear cache when you make changes to category/product names
Or when you make changes in the SSU setting that may affect how the names are generated.

Otherwise, no need to clear cache.