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

getI18nProperties calls should be cached

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.3
    • Fix Version/s: 12.5, 19.0
    • Component/s: Web Services
    • Labels:
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Basic regression test. Does the Sakai interface still appear translated correctly?

      Show
      Basic regression test. Does the Sakai interface still appear translated correctly?

      Description

      If jQuery AJAX call uses cache:false, then every request will need to be served by Sakai without any hope of caching.

      Sample call:

      /sakai-ws/rest/i18n/getI18nProperties?locale=en-US&resourceclass=org.sakaiproject.portal.api.PortalService&resourcebundle=profile-popup&_=1535394565559

      The end parameter is a cache buster and will make sure your front-end load balancer can't cache the GET request.

      I don't see any reason why these property files shouldn't be cached.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    ottenhoff Sam Ottenhoff
                    Reporter:
                    ottenhoff Sam Ottenhoff
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration