Slow xpages on client with dojo

We are trying to develop Xpages app that would run in both web and notes client. It works, but in notes client it seems slower than on web. It is slower only when loading pages that use Dojo.

My assumption is that Notes client reloads Dojo libraries every time, while browser (tested in Opera and FF 3.5) keeps them cached. This is also true when I pointed web browser to local embedded web server.

All caching parameters in the LN web container seem to be enabled.

Any ideas whether it is a configuration issue or app issue? Could anyone confirm this behavior?

Thanks,

Martin