Why have some external javascript files ?numbers?

dnavarro

I have seen many websites that include at their JavaScript and CSS external resources things like this:

filename.js?v=3cc1b79c2abb

And:

filename.css?v=7bbb71ecd5eb

The "?v=..." things at the end... What is this? And for what is this useful?

Thank you! Cheers :)

Sean Johnson

These are a form of "Cache Busting" - they force the browser to download the latest version of the file, rather than taking a chance at loading an old file from cache.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Why have some external javascript files ?numbers?

From Dev

Why do some some files in /etc have a numeric prefix?

From Dev

Why do some chars have two unicode numbers?

From Dev

Why do some files names in Linux start with numbers?

From Dev

Why can external JavaScript files access other external JavaScript files functions and how to stop it?

From Dev

Why can external JavaScript files access other external JavaScript files functions and how to stop it?

From Dev

why is javascript variable not changed across all the external JS files

From Dev

Replacing some numbers in javascript

From Dev

Why only *some* of my javascript files are gzipped on Nginx?

From Dev

Why use FileProvider for external files?

From Dev

Why some users only have access to folder instead of all it's subfolders and files

From Dev

Why do some binary files have null bytes between characters when storing strings?

From Dev

JavaScript - Replace some letters with numbers

From Dev

Using ResolveClientUrl() in external JavaScript files

From Dev

Have some problems with my javascript

From Dev

Why are some files and folders hidden?

From Dev

Qt - Some downloaded files have 0 byte

From Dev

Why is necessary to have OSPP files?

From Dev

Finding php files that have numbers in the filename

From Dev

I have some questions regarding external folder use within Java

From Java

Why have header files and .cpp files?

From Dev

Why do some websites have link files like "afs342sf.css" instead of "main.css"?

From Dev

Why do some routers not have a WAN port?

From Dev

why some device driver have multiple version?

From Dev

Why do some laptops not have a GPU slot?

From Dev

Why some .h file have two classes?

From Dev

Javascript multiplication is not working properly for some numbers

From Dev

Why do some primitives have byte-codes and some do not?

From Dev

Javascript substracting numbers is not accurate - why

Related Related

  1. 1

    Why have some external javascript files ?numbers?

  2. 2

    Why do some some files in /etc have a numeric prefix?

  3. 3

    Why do some chars have two unicode numbers?

  4. 4

    Why do some files names in Linux start with numbers?

  5. 5

    Why can external JavaScript files access other external JavaScript files functions and how to stop it?

  6. 6

    Why can external JavaScript files access other external JavaScript files functions and how to stop it?

  7. 7

    why is javascript variable not changed across all the external JS files

  8. 8

    Replacing some numbers in javascript

  9. 9

    Why only *some* of my javascript files are gzipped on Nginx?

  10. 10

    Why use FileProvider for external files?

  11. 11

    Why some users only have access to folder instead of all it's subfolders and files

  12. 12

    Why do some binary files have null bytes between characters when storing strings?

  13. 13

    JavaScript - Replace some letters with numbers

  14. 14

    Using ResolveClientUrl() in external JavaScript files

  15. 15

    Have some problems with my javascript

  16. 16

    Why are some files and folders hidden?

  17. 17

    Qt - Some downloaded files have 0 byte

  18. 18

    Why is necessary to have OSPP files?

  19. 19

    Finding php files that have numbers in the filename

  20. 20

    I have some questions regarding external folder use within Java

  21. 21

    Why have header files and .cpp files?

  22. 22

    Why do some websites have link files like "afs342sf.css" instead of "main.css"?

  23. 23

    Why do some routers not have a WAN port?

  24. 24

    why some device driver have multiple version?

  25. 25

    Why do some laptops not have a GPU slot?

  26. 26

    Why some .h file have two classes?

  27. 27

    Javascript multiplication is not working properly for some numbers

  28. 28

    Why do some primitives have byte-codes and some do not?

  29. 29

    Javascript substracting numbers is not accurate - why

HotTag

Archive