Hey Plugin Builders and @neerja…
I’m building a plugin with a large server side action, which has around 10 input fields of type “any thing”. It runs super super slowly compared to what I had expected.
And then I started to wonder about whether each “any thing” input is taking a double hit on database access:
First time - when I call the plugin action, and reference a specific “thing” or do a search for a “list of things”.
Second time - when I perform all the properties.anything.get() functions to actually access the values from the database as the javascript code runs.
Is the database actually taking a double hit compared to accessing and processing the same data within a standard workflow, or is something in the way a server side action works optimising the process to prevent this?
Best wishes,
Antony.