Copyright | (c) digitally induced GmbH 2021 |
---|---|
Safe Haskell | None |
Synopsis
- assetPath :: (?context :: ControllerContext) => Text -> Text
- assetVersion :: (?context :: ControllerContext) => Text
Documentation
assetPath :: (?context :: ControllerContext) => Text -> Text Source #
Adds a cache buster to a asset path
>>>
assetPath "/keyhandlers.js"
"/keyhandlers.js?v=9be8995c-7055-43d9-a1b2-43e05c210271"
The asset version can be configured using the
IHP_ASSET_VERSION
environment variable.
assetVersion :: (?context :: ControllerContext) => Text Source #
Returns the assetVersion
>>>
assetVersion
"9be8995c-7055-43d9-a1b2-43e05c210271"
The asset version can be configured using the
IHP_ASSET_VERSION
environment variable.