Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

v3.1 is Slower Than 3.0?!

Scott Carson   ( User )

Commented 6 months ago

I was excited to hear that 3.1 is 300% faster than 3.0! However, after install, the .htaccess file has been stripped of any compression lines (which is fine, since speed is supposed to be done by cache, etc. now). I load a page - say, invoices .... 17 seconds (!!!). Still over 5.7MB of data *per page*. I re-inserted .htaccess compression lines and it doesn't matter.

Does something need to be turned on to enable the improved speed? Perhaps a PHP library or something? I already have PHP-FPM...

Denis Dulici   ( Admin )

Commented 6 months ago

You don't have to do anything - it is fast by itself. Can you try to run the following command:

php artisan view:clear

The first load will be slow, then faster.

Scott Carson   ( User )

Commented 6 months ago

Thanks for the fast reply, that's good to know. I ran the command and got an error:

In UrlGenerator.php line 128:

Illuminate\Routing\UrlGenerator::__construct(): Argument #2 ($request) must be of type Illuminate\Http\Request, null given, called in /akaunting/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php on line 67

Content-type: text/html; charset=UTF-8

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions