2

I just encountered a line like this in the head of a (program generated) web page, any ideas what purpose the number and ID serve?

<link rel="stylesheet" type="text/css" href="css/contact.css?4131768016" id="pagesheet"/>
George
  • 36,413
  • 9
  • 66
  • 103
  • Have a look at http://stackoverflow.com/questions/460389/browser-caching-of-css-files which explains better than I could – David Randall Nov 05 '13 at 12:04

1 Answers1

4

It's so that the client's browser doesn't use a cached stylesheet when the page is loaded. That number is probably generated programatically, on the server-side. It will be different every time the page is loaded and so the browser will identify that stylesheet as different from the one in the cache and hence, re-download it.

George
  • 36,413
  • 9
  • 66
  • 103