I have a question about HTML related grammar.

Asked 2 years ago, Updated 2 years ago, 36 views

Tags were used to set up Fabicon on web pages. I used the method suggested by Stackoverflow. In the middle of the source, it was called 'favicon.ico?v=2'.

Here?What does 'v=2' mean?

html5

2022-09-22 12:16

1 Answers

The URL is called query or query string after the path.

You can understand it as an argument delivered to the server.

http://google.co.kr/some?mn=1001

The above meaning is that it passes an argument with the name mn and the value 1001 while requesting http://google.co.kr/some.

Sometimes you use this query string to disable caching, even though it means nothing, or to update static resources whose content has changed only. What's the question?I think v=2 is for this purpose.


2022-09-22 12:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.