Hi,
we also had the similar problem, we had a s1.x application with dojo and
we did all the performance enhancements that was recommended by dojo,
but we could not achive what we want and our application was running in
https mode. it add more performance problem to the application.
Thanks,
Nuwan
Adam Hardy wrote:
Jason Wyatt on 27/07/07 08:55, wrote:
I've been trying to speed up the Ajax performance of our application,
based
on the notes at http://cwiki.apache.org/WW/performance-tuning.html
I'm a bit unsure where I should extract the static content to, such
as the
css and javascript files included by the Ajax theme (shown below):
<link rel="stylesheet" href="/iacd/struts/xhtml/styles.css"
type="text/css"/>
<script type="text/javascript"
src="/iacd/struts/dojo/dojo.js"></script>
<script type="text/javascript"
src="/iacd/struts/simple/dojoRequire.js"></script>
<script type="text/javascript"
src="/iacd/struts/ajax/dojoRequire.js"></script>
<script type="text/javascript"
src="/iacd/struts/CommonFunctions.js"></script>
For example, the styles.css file above is stored in the
struts2-core-2.0.8.jar under the path /template/xhtml.
But if I extract this file to the webroot/template/xhtml, it seems
that the
link in the code above won't work, so I should instead extract it to
webroot/struts/xhtml.
Is this understanding correct? Basically I'm wondering how the
mapping works
between the template folder in the jar file and the struts folders
mentioned
in the Ajax theme's code.
Looks like a servlet filter declared in the web.xml would pick up
anything with /struts/* and handle it from there but I don't see it
mentioned in a casual check of the wiki so it could be some other
mechanism.
I spent about a week trying to get dojo to perform better the way we
were using it, and for the performance we required then, we worked out
we couldn't afford any more than a dozen dojo widgets on a page, even
with all the dojo performance enhancements recommended by dojo.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]