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 2014/11/26 19:29:14 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.2)
                   2.5.3

> 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.3
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)