[
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivo Ladage - van Doorn resolved AMDATUOPENSOCIAL-179.
-----------------------------------------------------
Resolution: Fixed
It is now possible to configure caching of GadgetSpecs per response code. This
can be done by editing the org.amdatu.opensocial.shindig.cfg file:
shindig.cache.xml.refreshInterval - Defines the default refresh interval in
milliseconds for all response codes. If this value is set to 60000 for example,
the spec will be cached for 60 seconds. Note that passing 'nocache=1' in the
querystring will overrule this behavior and retrieve the XML bypassing the
cache.
shindig.cache.xml.refreshInterval.xyz - Defines a refresh interval in
milliseconds for the response code xyz (for example; 404). This overrules the
default refresh interval above. Passing 'nocache=1' in the querystring will
overrule this behavior and retrieve the XML bypassing the cache.
> Caching of response codes of gadgetspec other then 200 should configurable
> --------------------------------------------------------------------------
>
> Key: AMDATUOPENSOCIAL-179
> URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-179
> Project: Amdatu OpenSocial
> Issue Type: Improvement
> Components: Shindig
> Reporter: Ivo Ladage - van Doorn
> Assignee: Ivo Ladage - van Doorn
> Fix For: 0.2.1
>
>
> Currently, if a gadgetspec cannot be retrieved for whatever reasons, the spec
> is not cached and Amdatu retries to retrieve it each time the gadget is
> rendered. In some cases this is OK, but for performance reasons it might be
> better if you could configure a cache timeout for these response codes. For
> example, that a 404 should be cached for 1 minute.
> Retrieval of the gadgetspec is parent of the shindig bundle, so the
> configuration option should be added to this bundle.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers