You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Stanton Sievers (JIRA)" <ji...@apache.org> on 2013/03/12 16:33:13 UTC

[jira] [Created] (SHINDIG-1914) Template resources are cached for a hardcoded amount of time

Stanton Sievers created SHINDIG-1914:
----------------------------------------

             Summary: Template resources are cached for a hardcoded amount of time
                 Key: SHINDIG-1914
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1914
             Project: Shindig
          Issue Type: Bug
          Components: Java
    Affects Versions: 2.5.0-beta5
            Reporter: Stanton Sievers
            Assignee: Stanton Sievers
            Priority: Minor
             Fix For: 2.5.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira