Hi Kohsuke,

On 03/20/2012 11:59 PM, Kohsuke Kawaguchi wrote:
In short, you should be using ${resURL} and not ${rootURL} for accessing
static files in your plugin. Or in code, it'd be
"Jenkins.getResourcePath()".

Thanks for this great work, and for the straightforward info and examples.

It took me just a few minutes to update my plugins (icons, help files, and code URLs) and give them a test.


This issue gets even worse by x3 to x4 for some deployments that
utilizes HTTP intermediaries that do not support keep alive (including
http://ci.jenkins-ci.org/ until a few hours ago), resulting in slow down
that can be measured in the order of second.

J-o-J certainly feels much faster just now, though the waiting-for-304s issue is still obvious for some icons -- so I look forward to 1.458 and even more plugins making their resources cacheable :)

Regards,
Chris

Reply via email to