Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-26347

Incorporate better invalidation of pages.json

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 10.0
    • Fix Version/s: None
    • Component/s: Portal
    • Labels:
      None

      Description

      Pages.json is used by the headscripts to show the dropdown menus for pages. This is cached by the browser, which is a good thing for performance, but can lead to some issues which appear to be regressions, such as SAK-23197 and SAK-25477.

      It should either have some way to know there is an update to pages needed and force this update to the user, or minimally use something like Tache which will set a timeout on this (5 minutes?) so at least it gets updated eventually. Not sure of the best idea here, seems like the timer would be easier to just put in.

      https://gist.github.com/joncombe/1701894 : http://joncom.be/code/jquery-tache/

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration