Fork of WebGUI 7.10, maintained by Oqapi https://git.oqapi.nl/oqapi/webgui
Find a file
Patrick Donelan cbc308c55a SurveyJSON size reduction/optimization
SurveyJSON was storing a lot of redundant information (every setting on
every single section/question/answer, which, in most cases, will simply
take on the default values). This was bloating the surveyJSON property in
the db, and equally as importantly, slowing down Survey because it had to
do a lot of JSON parsing on the serialised surveyJSON object.

We now factor out and store the current section/question/answer defaults
along with the surveyJSON data itself, which means that we only needs to
store properties that differ from the defaults. This results is a massive
reduction in the size of the serialized surveyJSON stored in the database,
as well as a speed-up in json parsing time.

The compression/uncompression happens transparently to the rest of Survey.
2009-06-19 08:07:18 +00:00
docs SurveyJSON size reduction/optimization 2009-06-19 08:07:18 +00:00
etc Add missing flags for options in previous upgrades. 2009-05-29 00:19:32 +00:00
lib SurveyJSON size reduction/optimization 2009-06-19 08:07:18 +00:00
sbin Fix some POD. Backups go in /tmp, not /var 2009-06-07 02:33:03 +00:00
t SurveyJSON size reduction/optimization 2009-06-19 08:07:18 +00:00
www Fixed #10520 - Survey responses get confused if survey structure modified 2009-06-16 06:25:38 +00:00
.perltidyrc perltidyrc now placed where it can do the most good 2009-05-29 18:50:01 +00:00