You can see the version inside the file. If there is a version number in the actual file, people will have to edit their layout on upgrades. I choose this for consistency with jquery.js moreover there is not one modernizer but many custom versions.
On Nov 20, 12:19 pm, Constantine Vasil <thst...@gmail.com> wrote: > I checked how you do it: > <script src="{{=URL('static','js/*modernizr-1.7.min*.js')}}"></script> > <script src="{{=URL('static','js/modernizr.custom.js')}}"></script> > > It is better to have a version number: *modernizr-1.7.min.j* > * > * > The browser load the .js file in its cache. If you use always > the same name modernizr.*custom*.js, then there is no way > for the browser to know there is a new version and there > is no way you visitors to know that. The only way the > visitors to use the new version is to clear their browser cache. > > So when downloading from the trunk I always have to modify the > layout.html. > > Please consider this.