caching - requirejs config setting with expire cache -


i'm using requirejs

i need set javascript(even css file) cache expiration(max-age)

i know there's config urlarg

require.config({     urlargs: "bust=v" +  version     }); 

in way, have change value version manually every single modification

can config automatically change after modification or expiration time?

besides using date() time because suitable development state

i solved question dynamic generate urlargs

https://github.com/huei90/requirejs-cache


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

visual studio - TFS will not accept changes I've made to a Java project -