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

Issue 4184049: Replaces document cache with a per-module cache in CajaContentRewriter. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 4 months ago by MikeSamuel
Modified:
15 years, 4 months ago
Reviewers:
johnfargo, fargo
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

This uses the existing object cache factory to create a cache from module keys (implemented as MD5 hashes over parse trees) to module content. This requires an outstanding minor API change to PluginCompiler and cannot be deployed until we push a new version of caja to maven.

Patch Set 1 #

Patch Set 2 : Replaces document cache with a per-module cache in CajaContentRewriter. #

Total comments: 20

Patch Set 3 : Replaces document cache with a per-module cache in CajaContentRewriter. #

Messages

Total messages: 7
johnfargo
Pumped to see this! Sorry to have lost track of it in my queue. http://codereview.appspot.com/4184049/diff/1001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/CajaContentRewriter.java ...
15 years, 4 months ago (2011-02-24 06:35:12 UTC) #1
MikeSamuel
http://codereview.appspot.com/4184049/diff/1001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/CajaContentRewriter.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/CajaContentRewriter.java (right): http://codereview.appspot.com/4184049/diff/1001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/CajaContentRewriter.java#newcode114 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/CajaContentRewriter.java:114: HtmlSerializer htmlSerializer, ProxyUriManager proxyUriManager) { On 2011/02/24 06:35:12, johnfargo ...
15 years, 4 months ago (2011-02-24 16:50:07 UTC) #2
MikeSamuel
http://codereview.appspot.com/4184049/diff/1001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleCacheKeys.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleCacheKeys.java (right): http://codereview.appspot.com/4184049/diff/1001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleCacheKeys.java#newcode65 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleCacheKeys.java:65: return ImmutableList.<JobCache.Key>copyOf(keys).iterator(); On 2011/02/24 16:50:07, MikeSamuel wrote: > On ...
15 years, 4 months ago (2011-02-24 16:57:02 UTC) #3
johnfargo
Thanks for the quick reply, as well as informative explanation about the various at-best-semi-obvious bits ...
15 years, 4 months ago (2011-02-24 18:05:45 UTC) #4
johnfargo
Correction, I'll wait until the Maven repo for Caja has been updated w/ the necessary ...
15 years, 4 months ago (2011-02-24 18:28:59 UTC) #5
MikeSamuel
2011/2/24 John Hjelmstad <johnfargo@gmail.com>: > Correction, I'll wait until the Maven repo for Caja has ...
15 years, 4 months ago (2011-02-24 19:58:46 UTC) #6
johnfargo
15 years, 4 months ago (2011-02-25 20:35:57 UTC) #7
Updated patch w/ new Caja version in pom.xml, all builds and tests fine.
Committed as r1074690.
Sign in to reply to this message.

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