add support for absolute URLs for cache