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
Comments
Post a Comment