[
https://issues.apache.org/jira/browse/SHINDIG-954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamil Ramasamy updated SHINDIG-954:
-----------------------------------
Attachment: java.zip
So, I have updated the code to use them when adding responses to Cache. Please
find the attached diff files for the same against revision 747407.
Could someone please review the changes and commit it to repo? Thanks!
/shindig-apache/java/gadgets/src/main/java
./org/apache/shindig/gadgets/DefaultGadgetSpecFactory.java
./org/apache/shindig/gadgets/http/AbstractHttpCache.java
./org/apache/shindig/gadgets/http/HttpRequest.java
./org/apache/shindig/gadgets/servlet/ProxyHandler.java
There could be few junit test failures. I will provide updated test cases
whenever i find time.
> Shindig does not recognize Response Headers for Cache TTL
> ---------------------------------------------------------
>
> Key: SHINDIG-954
> URL: https://issues.apache.org/jira/browse/SHINDIG-954
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: trunk
> Environment: OS: Windows XP / Solaris
> Server: Weblogic
> Reporter: Tamil Ramasamy
> Attachments: java.zip
>
>
> It looks like the cache headers of HTTP requests are not considered for
> EHCache Cache TTL. However, it is being captured in
> org.apache.shindig.gadgets.http.HttpResponse, using method getCacheTtl() and
> getCacheExpiration();
> Please fix it for better usage of Ehcache. Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.