Reputation: 4204
What does ?0 mean when placed at the end of source path of a js file in tag? For example, in the following script tag, you will see the ?0 appended to the end. What does it signify?
<script src="/xxx/xxx/xxx/header.js?_0_"></script>
Upvotes: 2
Views: 55
Reputation: 131
The ?_0_
might just be used as a cachebuster? Here is a post that talks about cachebusting (look at the query strings section): https://css-tricks.com/strategies-for-cache-busting-css/
Upvotes: 3
Reputation: 71901
Just basic versioning of the js file. It's a mechanism to prevent browser cache. If they build another header.js they will add ?_1_
behind it. This way the browser loads the new version.
Upvotes: 6