Only cache classes by name if the name isn't auto-generated based on a timestamp