Hi Isomorphic,
I watch the start-up of my application in Firebug and noticed that there are almost no items transferred - at least there are way less requests than I thought. Most likely this is because all JS code is in one file, which is also cached. Impressive.
The most data is transferred for sc/DataSourceLoader?dataSource=.... As this data doesn't change often I'd like to know if it is possible to cache the result of the call.
I think that this could be possible with a If-Modified-Since-header and the DataSourceLoader looking for the last-modified-dates of the .ds.xml files requested.
My start-up transfers are 152kb in total, 150kb from the DataSourceLoader. It would be great if its possible to get rid of this overhead.
Most likely I'm just missing a setting, but http://www.smartclient.com/smartgwte...rceLoader.html didn't have information on this, either.
Best regards,
Blama
I watch the start-up of my application in Firebug and noticed that there are almost no items transferred - at least there are way less requests than I thought. Most likely this is because all JS code is in one file, which is also cached. Impressive.
The most data is transferred for sc/DataSourceLoader?dataSource=.... As this data doesn't change often I'd like to know if it is possible to cache the result of the call.
I think that this could be possible with a If-Modified-Since-header and the DataSourceLoader looking for the last-modified-dates of the .ds.xml files requested.
My start-up transfers are 152kb in total, 150kb from the DataSourceLoader. It would be great if its possible to get rid of this overhead.
Most likely I'm just missing a setting, but http://www.smartclient.com/smartgwte...rceLoader.html didn't have information on this, either.
Best regards,
Blama
Comment