Hi,
Looking for performance issues on a website I noticed that in 8.9.1 DW is performing this SQL query twice (one after the other)
SELECT TOP 1 FormSubmitDate FROM FormSubmit WHERE FormSubmitFormID = 5 ORDER BY FormSubmitDate DESC
As you might notice I am using the Basic Forms module here - https://crazyharry.dw-demo.com/ecommerce-portal-login/request-account?debug=true
It has 0 impact in performance, but looks like there's no reason to do it twice.
Best Regards,
Nuno Aguiar