Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(72)

Issue 2298042: Proxy should use resource TTL by default

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by zhoresh
Modified:
15 years, 5 months ago
Reviewers:
johnfargo, gagan.goku, Kuntal Loya, dev-remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk
Visibility:
Public.

Description

It seems that Proxy would ignore external resource ttl and would use the default (an hour). Update the code

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added fix for concat and add comments #

Total comments: 15

Patch Set 3 : Delayed updated patch #

Total comments: 2

Patch Set 4 : Minimize change, remove concat fix for now #

Total comments: 2

Patch Set 5 : Update name to make it more clear as John suggested #

Messages

Total messages: 23
zhoresh
15 years, 5 months ago (2010-09-29 21:53:20 UTC) #1
gagan.goku
Hi Ziv Kuntal has more idea about caching so adding her to the code review. ...
15 years, 5 months ago (2010-09-30 01:57:52 UTC) #2
gagan.goku
+ cool-shindig-committers@googlegroups.com On Thu, Sep 30, 2010 at 7:27 AM, <gagan.goku@gmail.com> wrote: > Hi Ziv ...
15 years, 5 months ago (2010-09-30 01:59:22 UTC) #3
zhoresh
Added fix for concat and add comments
15 years, 5 months ago (2010-09-30 18:53:48 UTC) #4
zhoresh
On 2010/09/30 01:57:52, gagan.goku wrote: > Hi Ziv > > Kuntal has more idea about ...
15 years, 5 months ago (2010-09-30 18:58:51 UTC) #5
Kuntal Loya
Thanks Ziv for making this change. I have a couple of doubts though - http://codereview.appspot.com/2298042/diff/8001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java ...
15 years, 5 months ago (2010-09-30 19:58:14 UTC) #6
zhoresh
On Thu, Sep 30, 2010 at 12:58 PM, <kuntal.loya@gmail.com> wrote: > Thanks Ziv for making ...
15 years, 5 months ago (2010-09-30 20:12:16 UTC) #7
Kuntal Loya
On 2010/09/30 20:12:16, zhoresh wrote: > On Thu, Sep 30, 2010 at 12:58 PM, <mailto:kuntal.loya@gmail.com> ...
15 years, 5 months ago (2010-09-30 20:56:47 UTC) #8
Kuntal Loya
http://codereview.appspot.com/2298042/diff/8001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java (right): http://codereview.appspot.com/2298042/diff/8001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java#newcode130 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java:130: response.setHeader("Content-Type", concatType.getMimeType() + "; charset=UTF8"); The setHeader and setStatus ...
15 years, 5 months ago (2010-10-01 08:03:30 UTC) #9
Kuntal Loya
http://codereview.appspot.com/2298042/diff/8001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java (right): http://codereview.appspot.com/2298042/diff/8001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java#newcode130 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java:130: response.setHeader("Content-Type", concatType.getMimeType() + "; charset=UTF8"); Looks like the content-type ...
15 years, 5 months ago (2010-10-01 10:46:38 UTC) #10
Kuntal Loya
http://codereview.appspot.com/2298042/diff/8001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java (right): http://codereview.appspot.com/2298042/diff/8001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java#newcode130 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java:130: response.setHeader("Content-Type", concatType.getMimeType() + "; charset=UTF8"); On 2010/10/01 10:46:38, Kuntal ...
15 years, 5 months ago (2010-10-01 11:12:06 UTC) #11
zhoresh
On Fri, Oct 1, 2010 at 1:03 AM, <kuntal.loya@gmail.com> wrote: > > > http://codereview.appspot.com/2298042/diff/8001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java > ...
15 years, 5 months ago (2010-10-01 22:16:44 UTC) #12
zhoresh
Delayed updated patch
15 years, 5 months ago (2010-10-07 00:51:02 UTC) #13
Kuntal Loya
http://codereview.appspot.com/2298042/diff/24001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java (right): http://codereview.appspot.com/2298042/diff/24001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java#newcode214 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ConcatProxyServlet.java:214: cos.output(futureTask.one, httpResp); We have started streaming the output here, ...
15 years, 5 months ago (2010-10-07 11:30:41 UTC) #14
zhoresh
Minimize change, remove concat fix for now
15 years, 5 months ago (2010-10-07 17:24:20 UTC) #15
zhoresh
Lets minimize this change to fix only proxy. Concat will be a separate change.
15 years, 5 months ago (2010-10-07 17:25:54 UTC) #16
johnfargo
Excellent change. One nit on the config. http://codereview.appspot.com/2298042/diff/31001/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterFeature.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterFeature.java (right): http://codereview.appspot.com/2298042/diff/31001/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterFeature.java#newcode267 java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterFeature.java:267: expiresVal = ...
15 years, 5 months ago (2010-10-07 19:51:17 UTC) #17
johnfargo
Clarification, Spec: http://wiki.opensocial.org/index.php?title=Content_Rewriter_Feature The spec indicates that the "expires" parameter, whether provided as a default ...
15 years, 5 months ago (2010-10-07 19:57:00 UTC) #18
zhoresh
John, Thanks for tracking down the spec. It is interesting that the spec specify a ...
15 years, 5 months ago (2010-10-07 22:26:23 UTC) #19
zhoresh
Update name to make it more clear as John suggested
15 years, 5 months ago (2010-10-07 22:40:14 UTC) #20
johnfargo
LGTM On 2010/10/07 22:40:14, zhoresh wrote: > Update name to make it more clear as ...
15 years, 5 months ago (2010-10-07 22:41:28 UTC) #21
zhoresh
Thanks, committed as r1005661 On Thu, Oct 7, 2010 at 3:41 PM, <johnfargo@gmail.com> wrote: > ...
15 years, 5 months ago (2010-10-07 23:21:08 UTC) #22
gagan.goku
15 years, 5 months ago (2010-10-09 14:01:37 UTC) #23
Please close this issue as it has been submitted.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b