Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1914

Template resources are cached for a hardcoded amount of time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.5.0-beta5
    • 2.5.3
    • Java
    • None

    Description

      org.apache.shindig.gadgets.templates.TemplateLibraryFactory.loadTemplateLibrary(GadgetContext, Uri) makes a call to org.apache.shindig.gadgets.http.HttpRequest.setCacheTtl(int) for all requests to fetch template libraries. It sets the cache TTL to 300 seconds (5 minutes) unconditionally.

      This should be configurable or should obey caching headers on the response.

      Attachments

        Issue Links

          Activity

            People

              ssievers Stanton Sievers
              ssievers Stanton Sievers
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: