Anyone have an explanation as to why forms bloat in size as their design is worked on and appear to contain non-removable “whatever” in them that makes them be larger than they actually should be?
While looking into how to improve performance of an application over the internet (this is access via the Notes client, not web) I noticed that some of the forms in the particular database were larger than I remembered. I’m not talking about the documents/data in the database, just the forms themselves.
A couple of particularly large ones I started playing with and comparing to versions from years ago. While it is natural for designs to typically get bigger, the issue seemed to be more than that. In fact if, in Designer, I deleted the entire design (every field, action, text, section, EVERYTHING) so that I had a blank form, then saved it, they were still strangely large.
For example: a form that is 397k in size (as shown in Designer), when every design item in it is deleted is still 290k in size. Why? If I copy/paste the design of that form (and move over all the actions and Querysave code, etc) the resulting document, which looks and functions identically, is only 205k in size. Where is the additional 192k hiding in the existing production form?
When working in this particular database and opening documents with the above described form, it takes 1.5-2 seconds to open over a WAN with 75mb/75mb server connection and a 50mb/50mb client connection and 3 hops of a total 15-20ms latency. It should be smoking fast. The data being opened by the form is trivial, say 1.5k. The form is NOT saved with the data in the database. It makes no difference the performance of the client PC.
In a test, if I recreate this form by the copy/paste method and use the new version, it opens in half the time, as you’d expect, because it is half the size.
I’ve got numerous forms with the exact issue, not just the one described.
I also don’t know why the client cache doesn’t seem to help with this. It should, as I understand it, cache the form design and thus make opening it a mere matter of pulling across the 1.5k of data plus a little more. But it is slow from first opening to 50th opening, and all seem to be the same speed. Deleting the cache, not deleting the cache, allowing the cache to be huge - none of that makes a difference.
Is there a way to “compact” the design of a form without recreating it from scratch?
Client and server are 9.0.1FP4