Cache slow in mashup

Discussion created by citizens on Jul 28, 2011
Latest reply on Jul 29, 2011 by citizens
My cached maps render instantaneously in the REST javascript viewer as well when they are in a very simple application.

In the below described app the cached maps can take up to 50 seconds to render, and in some cases I receive Error 500 Internal Server Error messages and missing tiles. FF and Chrome indicate that the app is waiting for the server.

The application I am seeing performance problems with has a total of:

4 cached base maps
5 graphics layers
9 cached operational layers (these are the slow ones I mention above)
3 dynamic maps
21 featureLayers (MODE_SELECTION)
and just to be complete
6 geoprocessing tasks
1 locator
1 identify task

So I have a total of 42 mapLayers.

I'm not sure if this qualifies as being a lot of layers in an app, and if it may be part of the problem.

Any thoughts out there?