apps
apps copied to clipboard
Rich Text Versioning optimizations [MAPS-137]
Purpose
A customer is having an issue in which the dialog of the app is not displaying correctly due to a "response too big" error.
Approach
We've introduced some optimizations so requests made by the app have a smaller response size:
- Separate entries and assets referenced in the published and current field, so responses are smaller. This also speeds up the search that happens later in the
createOptionsmethod - When fetching assets, use the
selectparamester to only retrieve the title, which is the only thing that gets used - Add the
include: 0parameter when usingentry.getPublishedsince by default the response includes anincludearray that is not used