Minor refactor
Refactor cachinglayer put method
Refactor cachinglayer delete method