353 posts
  • Has been part of the Envato Community for over 5 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

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

4336 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
+12 more
Ivor Envato team says

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

2324 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+6 more
CreativeMilk says

I have learned something new today ;)

by
by
by
by
by
by