Uploaded image for project: 'Cristal'
  1. Cristal
  2. CRISTAL-266

The page content is fetched several times on page load/change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.11
    • 0.10
    • View
    • None
    • Unknown
    • N/A
    • N/A

    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

      1. Visit a page
      2. 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

      1. one query on page load
      2. one query on page change

      Actual

      1. 3 queries on page load
      2. 3 queries on page change

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: