What does Achilles optimizeAtlasCache function do?

@Chris_Knoll

we are running Achilles 1.7.2. There is a function called optimizeAtlasCache. Turning on the sqlOnly=TRUE parameter doesn’t generate the SQL script. How to find the SQL for this function? we want to understand what this function does.

Thanks
Jack