It's essential to optimize the number of calls made when fetching data for each page. Currently, it appears that a request is sent each time a user accesses a page. This practice can be inefficient, especially when users repeatedly visit the same page within a session and only perform GET requests. It would be more efficient to preload the data so that it's readily available during subsequent visits within the same session, reducing unnecessary server calls.
Tasks
[ ] Check and document findings regarding fetch requests across the site
[ ] If the assumption is correct, look for the best way to optimize data fetching
[ ] It'd be an option to fall back to the local data if the server response takes too much time to return and keep the response in the background (use cache?)
Description
It's essential to optimize the number of calls made when fetching data for each page. Currently, it appears that a request is sent each time a user accesses a page. This practice can be inefficient, especially when users repeatedly visit the same page within a session and only perform GET requests. It would be more efficient to preload the data so that it's readily available during subsequent visits within the same session, reducing unnecessary server calls.
Tasks
Notes