[2796] Added cache and locker decorators.

https://gist.github.com/add00/df92753e832fdc5d1e9d#file-gistfile1-txt