353 posts
  • Has been part of the Envato Community for over 6 years
  • Has collected 1+ items on Envato Market
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

2035 posts Review Manager
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Member of the 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. ;-)

4459 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the 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!

2336 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item that became a weekly top seller
+6 more
CreativeMilk
says

I have learned something new today ;)

by
by
by
by
by
by