MPA

From the to-do list: MPA V1.0: API integration bugs and improvements

✔ Slow data update

Comments

Pierre henri Seylan on July 24, 2019:

The application takes time to reflect changes taking place on the server.
This could be related to the API-DB relashionship or come from the app side.

This has been noticed when doing the following actions:
  • publishing packs/collection from the server side 
  • deleting packs/collection from the server side 
  • adding new items as fatured (appearing in the slideshow)
Among other actions.

The expected behavior is that the list of data is updated as soon as the user refreshes the view.
However, it is often needed to restart the app and wait for some time before seing the changes in the app.


test case:
-create a factory pack 
-make the pack "live" in the admin panel, so it is visible to all users
-open the app and view the pack 
-delete the pack from the server side 
-refresh the view in the app  

the pack should normally disapear right after refreshing the view, however it takes time until the pack is no longer visible 

Pierre henri Seylan on July 24, 2019:

UPDATE:
After making an additional test, i could observe the following behavior:
The new datas are actually loaded, but not in the relevant view.

for example:
After publishing a pack on the server side, the pack doesn't appear in the factory list view for a while.
However, it is imediately visible when performing a text search for the pack name.

Karim Alabtakh on July 29, 2019:

This is related to flushing cash after update,  the web dev is working on it

Karim Alabtakh on July 30, 2019:

done.