You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requests to the Cockpit /page APIs often return a very large results as there's
many keys and values that are rarely used. Adding an easy way to remove them would reduce the payload size, transfer time and processing. Can I suggest that a single/simple filter is added to remove the following fields (aka the “underscore_keys”):
_hash
_created
_modified
_cby
_mby
_state
_id
_meta
_pid
_o
many more?
The filter could also remove the “image meta data” (as it’s also not often used). This would remove the following image child fields:
type (the mime contains almost duplicate data)
title (often this is just the filename)
size
colors
folder
Obviously calling the new filter combined with an explicit filter:{colors:1,_state:1} would re-add those key/values.
This often results in a 30+% size saving!
The text was updated successfully, but these errors were encountered:
Requests to the Cockpit /page APIs often return a very large results as there's
many keys and values that are rarely used. Adding an easy way to remove them would reduce the payload size, transfer time and processing. Can I suggest that a single/simple filter is added to remove the following fields (aka the “underscore_keys”):
_hash
_created
_modified
_cby
_mby
_state
_id
_meta
_pid
_o
The filter could also remove the “image meta data” (as it’s also not often used). This would remove the following image child fields:
type
(the mime contains almost duplicate data)title
(often this is just the filename)size
colors
folder
Obviously calling the new filter combined with an explicit
filter:{colors:1,_state:1}
would re-add those key/values.This often results in a 30+% size saving!
The text was updated successfully, but these errors were encountered: