I've tried adding a parameter to the resource declarations, like this:
<web-resource key="rendezvousStuff" name="Rendezvous resources"> <disable-minification>true</disable-minification> <resource type="download" name="rendezvous/" location="rendezvous"> <param name="batch" value="false"/> </resource> </web-resource>
That didn't work. My resources are still being bundled into context batches.
During development, I achieve the desired un-batched-ness by merely setting atlassian.dev.mode=true, but in production mode, everything seems to be batched regardless of the "batch" parameter. What gives?
Community moderators have prevented the ability to post new answers.
Thanks Alex. I believe that I've followed those instructions in relation to the "batch" parameter. Of course, I won't have control over the setting of system properties in my customer's Stash instances, so setting plugin.webresource.batching.off=true isn't an option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason. I want to programmatically control when certain JavaScript files are downloaded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Out of interest, why do you want to do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.