Very Slow first time browser loading

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:

  1. Download the release file from GitHub - invoiceninja/invoiceninja: Invoices, Expenses and Tasks built with Laravel, Flutter and React and overwrite your current installation.
  2. 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;


Hi,

Are you using the Flutter or React web app?

hi, currently on the react version. I have not override the files from zip manually yet, for updates, I always use the built in updater.

I’m not sure, you may want to create an issue or discussion on the React repo.