use immutable list used for cache
Merge pull request #203 from vyemialyanchyk/master

use immutable list used for cache