function AssetQueryStringInterface::reset

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php \Drupal\Core\Asset\AssetQueryStringInterface::reset()

Resets the cache query string added to all CSS and JavaScript URLs.

Changing the cache query string appended to CSS and JavaScript URLs forces all browsers to fetch fresh files.

File

core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php, line 18

Class

AssetQueryStringInterface
Provides a cache busting query string service for asset URLs.

Namespace

Drupal\Core\Asset

Code

public function reset() : void;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.