public function Asset::getCacheMaxAge in Mini site 8
The maximum age for which this object may be cached.
Return value
int The maximum time in seconds that this object may be cached.
Overrides AssetInterface::getCacheMaxAge
File
- src/
Asset.php, line 512
Class
- Asset
- Class Asset.
Namespace
Drupal\minisiteCode
public function getCacheMaxAge() {
// Cache for 1 month by default.
return 2628000;
}