Forum

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

New Discussion

Every page load calls 104.27.177.120?

Tim   ( User )

Commented 5 years ago

Why does Akaunting need to phone home on every page load? If internet disconnects, then the app does not work on the local network.


 


Normal page loads here are about 900ms which is disgusting.


 


Loosing a little trust for this platform

Sven Neumann   ( User )

Commented 5 years ago

Are those calls for the update check? Which URL is called?

Tim   ( User )

Commented 5 years ago

No idea. I didn't have time to look into it. I only opened windows 10 network monitor and saw PHP call this address everytime

Tim   ( User )

Commented 5 years ago

Can't edit, but why need to check updates every page?

Sven Neumann   ( User )

Commented 5 years ago

Just figured out what's happening: Akaunting is checking for new notifications from their API:


 


https://akaunting.com/api/apps/notifications


 


You can disable calls by editing app/Traits/Modules.php:


Look For "getRemote" function and instantly return false instead if making the call.


 


 

Tim   ( User )

Commented 5 years ago

Yeah, made the loadNotifications return false and shaved off 200ms. Offline mode is still hindered by Google fonts though, will copy the theme and make a version with local fonts.

Please login or register to leave a response.

Showing 1 to 6 of 6 discussions