Add flag for not saving to cache
Add javadoc for flags