Cross-domain images caching