What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

According to the source, the JS and CSS files I'm loading are:

stub.js?v=e922af98260a
all.css?v=b7ced9688c61

Just wondering how those "v" parameters are generated. On my websites I generally just use an integer which I manually increment, so I'm curious if these are generated automatically somehow.

share|improve this question
    
Don't know, but they're probably hashed for build updates. –  Nightfirecat Nov 15 '11 at 7:11

1 Answer 1

up vote 6 down vote accepted

screenshot

share|improve this answer
    
Followup question - how do you insert the SHA1 prefix into (presumably) the ASP.NET MVC app? –  Jon Nov 15 '11 at 8:30
    
@Jon: The app has access to a local copy of the file (even if it's eventually served from the CDN), so it can just read the file once at startup, build the checksum, and then cache it. –  balpha Nov 15 '11 at 8:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .