353 posts
  • 6 Years of Membership
  • Collector Level 1
al_m473
says

what is going on when you see something like this coded?

prototype.js?20090805060458

why are the numbers added to the end of the item? and what effect do they have?

Al

2036 posts Quality Manager
  • Affiliate Level 2
  • Author Level 4
  • Collector Level 4
  • Envato Team
+14 more
jremick
Envato team
says

It’s probably for file versioning for stuff like CDN ’s. That’s what I do for my WP blog’s JS files.

In this case it looks like they just added the exact time at the end.

2009 (yr) – 08 (mo) – 05 (day) – 06 (hr) – 04 (min) – 58 (sec)

The reason you do this with CDN ’s is because, like Amazon’s CloudFront, the requested file isn’t updated if the file’s name doesn’t change. Instead of changing the actual file name, you can add a version at the end. Then the new file is requested and cached.

Hope that helps. ;-)

4483 posts ThemeForest Senior Reviewer
  • Affiliate Level 1
  • Author Level 6
  • Collector Level 3
  • Envato Team
+14 more
Ivor
Envato team
says

Damn! What a good explanation! I didn’t knew that. Thank al_m473 for bringing this up!

2337 posts
  • Affiliate Level 5
  • Author Level 6
  • Collector Level 2
  • Trendsetter
+7 more
CreativeMilk
says

I have learned something new today ;)

by
by
by
by
by
by