LPS-39724 Cached content w/ CDN URLs do not account for http/s access

LPS-39724 Consolidate duplicate code

LPS-39724 Source formatting

LPS-39724 use composition to share common logic because it doesn't suite the class IgnoreModuleRequestFilter

LPS-39724 Simplify fix