webroot
CDN Webroot asset transport.
Procs | |
get_asset_url | Returns a url for a given asset. asset_name - Name of the asset. asset_cache_item - asset cache item datum for the asset, optional, overrides asset_name |
---|---|
load_existing_assets | Processes thru any assets that were registered before we were loaded as a transport. |
register_asset | Register a browser asset with the asset cache system We also save it to the CDN webroot at this step instead of waiting for send_assets() asset_name - the identifier of the asset asset - the actual asset file or an asset_cache_item datum. |
save_asset_to_webroot | Saves the asset to the webroot taking into account namespaces and hashes. |
send_assets | webroot asset sending - does nothing unless passed legacy assets |
send_assets_slow | webroot slow asset sending - does nothing. |
Proc Details
get_asset_url
Returns a url for a given asset. asset_name - Name of the asset. asset_cache_item - asset cache item datum for the asset, optional, overrides asset_name
load_existing_assets
Processes thru any assets that were registered before we were loaded as a transport.
register_asset
Register a browser asset with the asset cache system We also save it to the CDN webroot at this step instead of waiting for send_assets() asset_name - the identifier of the asset asset - the actual asset file or an asset_cache_item datum.
save_asset_to_webroot
Saves the asset to the webroot taking into account namespaces and hashes.
send_assets
webroot asset sending - does nothing unless passed legacy assets
send_assets_slow
webroot slow asset sending - does nothing.