'Check if this is an allowed file extension to serve.
Some files aren\'t served through the CDN in order to avoid same-origin policy/CORS-related issues.'

@staticmethod
def is_excluded_asset_type(path, excluded_exts):

    return any((path.lower().endswith(excluded_ext.lower()) for excluded_ext in excluded_exts))
