Closed joeke closed 7 years ago
For big collections the FormItSaveForm can become a bit slow. I suggest the following optimisations for the export.class.php file:
$modx->getCollection is the problem. Better switch to $modx->getIterator and write the output line by line.
Fixed with https://github.com/Sterc/FormIt/commit/5d76390a29544b80837d42f624e4df50b69d8090 and https://github.com/Sterc/FormIt/commit/bde24e2f9a2fb0e6823a61dcc4557e13f1e3c62a
For big collections the FormItSaveForm can become a bit slow. I suggest the following optimisations for the export.class.php file: