LPS-39724 Cached content does not account for http/s access
LPS-39724 Consolidate duplicate code