[2533] Created cache and locker decorator.

https://gist.github.com/kamilgrela/461e4e93b8d25e57a301
`cache_data` You have forgotten to change it.