use rest caching for images