offspot / package-requests

Request additions to Offspot here!
GNU General Public License v3.0
0 stars 0 forks source link

Magoe is extremely slow #41

Closed Popolechien closed 6 months ago

Popolechien commented 6 months ago

Trying to open an use Magoe, each page takes a few seconds to load.

rgaudin commented 6 months ago

Thank you @Popolechien for reporting this. I did not caught it because the issue only occurs when the Pi is offline.

The issue is due to the magoe PHP code. The code is not offline-ready in that the PHP code (backend) accesses only resources when building each pages.

For instance, a call to URL chapitre_2.php?idChapitre=3114 takes about 20 seconds to return. When the Pi is connected to the Internet, it takes about 2 seconds.

I've identified a couple scenarios:

I am closing this as this has to be fixed by magoe developers.