Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AssetQueryStringInterface.php

function 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.

1 method overrides AssetQueryStringInterface::reset()
AssetQueryString::reset in core/lib/Drupal/Core/Asset/AssetQueryString.php
Resets the cache query string added to all CSS and JavaScript URLs.

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;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal