Very long save times - CFv5

momentis 27 Oct, 2016
I have had this issue before, and I still am, so I thought I'd post here.

I have some forms which are somewhat complex. Opening and saving these forms can take a VERY long time, to the point where my browser asks if I want to wait or cancel the operation. The forms eventually open or save, but the time can be very, very long. This really becomes an issue for me when trying to save a form to test the changes on the front-end.

I assume this has to do with the processing necessary to set up the wizard development interface, as clicking "Save and Exit" within the form saves it nearly instantly. Perhaps this is just the nature of the beast! LOL

In the CF Wizard settings, the following are set:

Safe save: Yes
Safe save chunk size: 0
Safe loading count: 20
Display actions diagnostics: Yes

At one point in the past I had changed the chunk size, which indeed sped up the load/save. However, it caused an issue where data from a form was lost when opening. I guess I'm just hoping there is something that can be changed to help!

Thanks!!
Rick
GreyHead 28 Oct, 2016
Hi Rick,

I haven't yet got an answer to this; nor do I fully understand the cause. Some of it is server dependent, I have copied forms from client sites where they took five minutes to open to my own test site where they open in 90 seconds. Unfortunately we never managed to pin down the critical factor.

Part of it is just size - each form element or action creates 10-20 data items (and sometimes more) that have to be saved and loaded to the server so you get very very big admin forms.

The wizard settings will turn on Ajax saving which saves the form data in batches - this can help get round server limits on max_input_size or similar settings but does increase the time taken to save and load.

I think that one answer is to break big forms up into separate forms either linking them together or using the Show Form action to include one form 'inside' another. I'll try to run some tests on that when I have a moment or two.

Bob
This topic is locked and no more replies can be posted.