Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can also do /js/myscript.js?v=1476929634 -- this generally works without any server-side changes. A CRC32 might work better, since controlling mtimes can be annoying.


You can, but that can cause issues with browser caching (http://www.stevesouders.com/blog/2008/08/23/revving-filename...) and in any case I prefer the cleaner urls :-)

Plus, once it's configured you never have to worry about it again.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: