The part after the question mark is called the query string.
The query string is ignored when the server matches the request for a file on disk, but it can be used by server-side scripts.
In this case, the query string is used to prevent caching.
When the script changes, the query string can be changed to ?2 , and it will not use the previous version from the cache.
SLaks source share