News for hackers. Stuff that matters.
Re:Google’s look, evolved by ljk on Tuesday September 01, 2015 @05:38PM (#10155937)
why does adding "?" work at getting a different logo? not a web guy here
Re:Google’s look, evolved by sirn on Tuesday September 01, 2015 @06:06PM (#10156122)
I'm not sure how it works at Google, but adding a random query string usually helps because of how proxy servers handle caching. Proxy servers usually treat an URL with different query string as different resource and cache them separately (e.g. /posts?page=2 is definitely not the same as /posts?page=1).

This is not only applies to caching by ISP, but also includes caching by the website itself as well (some websites put proxy in front of their server to cache rarely changed portion of the site, or even using CDN.).

Re:Google’s look, evolved by ljk on Tuesday September 01, 2015 @06:48PM (#10156326)
interesting, thanks!
Re:Google’s look, evolved by f0under on Tuesday September 01, 2015 @06:57PM (#10156376)
Anything after "?" is a query parameter that the server can read and then apply additional logic to for a response. In this case, they have code that responds to new logo and returns the new logo instead of the previous one.
Re:Google’s look, evolved by yamaneko on Tuesday September 01, 2015 @10:15PM (#10157067)
It's actually not querying anything, since it works for any query you pass. What happens is that you're bypassing cache because you're loading a different page, as explained by sirn above.

https://www.google.com/favicon.ico?anyquery