|
Summary: |
The page content is fetched several times on page load/change |
Issue Type: |
Bug |
Affects Versions: |
0.10 |
Assignee: |
Unassigned |
Components: |
View |
Created: |
18/Oct/24 11:23 |
Priority: |
Major |
Reporter: |
Manuel Leduc |
Description: |
We can observe many similar queries being done to fetch page content. This is not optimal because:
- it's adding unnecessary load on the server
- it's adding unnecessary network traffic which is bad in case of slow network, slow server or large page content
Reproduction steps
- Visit a page
- Check the number of requests to fetch pages data (e.g., <domain>/xwiki/rest/cristal/page?media=json&page=Sandbox.WebHome&format=jsonld for a XWiki backend)
Expected
- one query on page load
- one query on page change
Actual
- 3 queries on page load
- 3 queries on page change
|
|