You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Ryan Baxter (JIRA)" <ji...@apache.org> on 2013/07/16 01:42:53 UTC

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

     [ https://issues.apache.org/jira/browse/SHINDIG-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Baxter updated SHINDIG-1914:
---------------------------------

    Fix Version/s:     (was: 2.5.0)
                   2.5.1
    
> 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.1
>
>
> 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