Some changes in ResourceImages in order to handle disabled caching

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>