Script cache

Added Caching to scripts.
I wonder, why is it optional? Is there a case where we would NOT want cache? I can't think of a use case, so this variable appears to be of dubious use