I am seeing frequent entries to POST /vscode/gallery/extensionquery. They can generate response times up to hundreds of seconds. Even during relatively calm periods, those requests can take 8-40 seconds to render and consume many resources on the postgres database server. This becomes an easy target for DoS attacks and since it's a POST method, cannot be cacheable.
Can this endpoint be profiled for performance and optimised?