When looking at the code of some websites, I sometimes notice that some JavaScript files are included as follows:
<script type="text/javascript" src="javascripts/jquery.js?1252521516"></script>
But I do not see what part of the jquery.js parameter does ? 1252521516 of the src parameter. Can someone please explain this to me?
It allows websites to force browsers to update their cached version of a script or other resource.
, Javascript - , . , , , . .
-. , javascript - .
- . , , , , .
It’s possible to somehow avoid caching (part 1252521516 is generated every time the page loads), but I don’t understand why this is used for jquery
Source: https://habr.com/ru/post/1721600/More articles:Using PHP cURL with HTTP debugging proxy - httpHow does EventArgs Cancel work in a FormClosing event? - event-handlingTrick Exclusion Cure - c #Parsing an array of JSON objects - javaR lag from missing data - rC # - Am I replacing perfectly good code? - c #Python: Lazy String Decoding - pythonDoes delphi have some fast operators? (+ =, - =, ...) - operatorsПроектирование карьеров и компиляторов - curryingHow to prevent GCC flags from passing by default? - linuxAll Articles