Folks,
We have been using shindig for couple of months now. I found that 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();

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


------------------------------------------------------------------------------------------------------------------------
Regards,
Tamil Ramasamy

Reply via email to