Astra_Addon_AMP_Compatibility::cache_add_amp_prefix( String $asset_type )
Add prefix to Assets cache key if on AMP endpoint.
Description
Parameters
- $asset_type
-
(String) (Required) Asset type.
Return
(String) Asset type with AMP Prefix.
Source
File: classes/compatibility/class-astra-addon-amp-compatibility.php
public function cache_add_amp_prefix( $asset_type ) { return 'amp-' . $asset_type; }
Expand full source code Collapse full source code View on Trac