I have updated to the latest version but the first time loading is very slow. Blank page with the following in the view source. I’m running it on a vps with 2 cpu 12gb ram, and load is very minimum. php 8.1, cache using redis. Once loaded, all the operation and navigation are smooth. The slowness only happen when opening the site for the first time everytime. Any way to make the first loading time faster?
If you are reading this, there is a fair change that the react application has not loaded for you. There are a couple of solutions:
- Download the release file from GitHub - invoiceninja/invoiceninja: Invoices, Expenses and Tasks built with Laravel, Flutter and React and overwrite your current installation.
- Switch back to the Flutter application by editing the database, you can do this with the following SQL
UPDATE accounts SET
set_react_as_default_ap = 0;