The token ?is used to separate the file name or path from the parameters that are sent in the request.
In the case of web requests, the webserver has a time to live configured for the cache of sites, including resources such as JS and CSS. This means that, if the URL is the same, the browser can use a version of the document that it has in its temporary files, or in the cache of the active session, without having to download the resource again. A version number is used to force the browser to download a new version of the resource when the version number changes. This may be because the application is in development, or because changes were made to the resource and the client cache needs to be cleared.
If we were to change the version number of the CSS resources on this page, we would force the browser to re-download the resource, thus forcing all customers to see the changes reflected in their browsers.
The token
?
is used to separate the file name or path from the parameters that are sent in the request.In the case of web requests, the webserver has a time to live configured for the cache of sites, including resources such as JS and CSS. This means that, if the URL is the same, the browser can use a version of the document that it has in its temporary files, or in the cache of the active session, without having to download the resource again. A version number is used to force the browser to download a new version of the resource when the version number changes. This may be because the application is in development, or because changes were made to the resource and the client cache needs to be cleared.
If we were to change the version number of the CSS resources on this page, we would force the browser to re-download the resource, thus forcing all customers to see the changes reflected in their browsers.
It is a way to "trick" the URL in our favor.