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

java - How to Configure JAXRS and Spring With Annotations -

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

php - Create image in codeigniter on the fly -