Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-2663

Respect Cache-Control headers for the library list (library registry) and the authentication document (circulation manager)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Emergency Emergency
    • None
    • iOS
    • None
    • SIMPLY S7 March 17 - March 31, SIMPLY S8 March 31 - April 14, SIMPLY S9 April 14 - 28, SIMPLY S10 April 28 - May 12, SIMPLY S11 May 12 - May 26, SIMPLY S12 May 26 - June 9, SIMPLY S13 June 9 - June 23

      Without implementing https://jira.nypl.org/browse/SIMPLY-2631, making network caching improvements on iOS is a screen-by-screen process. This ticket describes the two HTTP requests where respecting the Cache-Control header is most important:

      1. The request to the library registry for the list of libraries. This request might go to one of two specific URLs: https://libraryregistry.librarysimplified.org/libraries or https://libraryregistry.librarysimplified.org/libraries/qa
      2. The request for a circulation manager's authentication document. You'll find this URL inside the document you get back from the library registry. It's kept in a link with type="application/vnd.opds.authentication.v1.0+json" and the URL typically looks like this: http://acl.simplye-ca.org/CALMDA/authentication_document

      If you don't get a Cache-Control header for one of these documents, then cache the document for three hours.

            JosephDalton Joseph Dalton
            leonardrichardson Leonard Richardson [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: