update CONTRIBUTING
refactor optimization code into a single precaching method
updated Changes