added literal cache creation

generalization of cache options