atom feed60 messages in org.apache.incubator.sling-devRe: [jira] Commented: (SLING-249) All...
FromSent OnAttachments
6 earlier messages
Vidar S. Ramdal (JIRA)Feb 18, 2008 12:24 am 
Vidar S. Ramdal (JIRA)Feb 18, 2008 12:26 am 
eric marts (JIRA)Feb 18, 2008 3:06 pm 
Vidar S. Ramdal (JIRA)Mar 26, 2008 3:09 am 
Bertrand Delacretaz (JIRA)Mar 26, 2008 3:19 am 
Carsten Ziegeler (JIRA)Apr 30, 2008 11:39 am 
Felix Meschberger (JIRA)Nov 20, 2008 3:06 am 
Felix Meschberger (JIRA)Nov 20, 2008 3:12 am 
Felix Meschberger (JIRA)Nov 20, 2008 3:14 am 
Vidar S. Ramdal (JIRA)Nov 20, 2008 3:36 am 
Felix Meschberger (JIRA)Nov 20, 2008 4:02 am 
Vidar S. Ramdal (JIRA)Nov 20, 2008 4:14 am 
Alexander KlimetschekNov 20, 2008 4:36 am 
Felix Meschberger (JIRA)Nov 20, 2008 5:36 am 
Bertrand Delacretaz (JIRA)Nov 20, 2008 5:50 am 
Alexander Klimetschek (JIRA)Nov 20, 2008 7:14 am 
Bertrand DelacretazNov 20, 2008 8:56 am 
Vidar S. Ramdal (JIRA)Nov 20, 2008 9:16 am 
Vidar S. Ramdal (JIRA)Nov 20, 2008 9:20 am 
Bertrand Delacretaz (JIRA)Nov 20, 2008 9:26 am 
Felix MeschbergerNov 20, 2008 11:16 pm 
Felix Meschberger (JIRA)Nov 20, 2008 11:24 pm 
Alexander KlimetschekNov 21, 2008 12:50 am 
Vidar RamdalNov 21, 2008 1:03 am 
Alexander KlimetschekNov 21, 2008 1:42 am 
Bertrand Delacretaz (JIRA)Nov 21, 2008 3:14 am 
Felix Meschberger (JIRA)Nov 21, 2008 3:28 am 
Felix MeschbergerNov 21, 2008 3:34 am 
Alexander KlimetschekNov 21, 2008 3:37 am 
Felix MeschbergerNov 21, 2008 3:47 am 
Felix MeschbergerNov 21, 2008 3:51 am 
Alexander KlimetschekNov 21, 2008 5:24 am 
Vidar RamdalNov 21, 2008 7:22 am 
Alexander KlimetschekNov 21, 2008 8:47 am 
Roy T. FieldingNov 21, 2008 4:11 pm 
David NueschelerNov 22, 2008 3:49 am 
Felix MeschbergerNov 23, 2008 10:30 am 
Felix MeschbergerNov 23, 2008 1:42 pm 
Vidar RamdalNov 24, 2008 12:59 am 
Felix MeschbergerNov 24, 2008 1:31 am 
Bertrand DelacretazNov 24, 2008 1:37 am 
Bertrand DelacretazNov 24, 2008 1:40 am 
Felix MeschbergerNov 24, 2008 5:06 am 
Felix MeschbergerNov 24, 2008 5:10 am 
Felix Meschberger (JIRA)Nov 25, 2008 3:29 pm 
Felix Meschberger (JIRA)Nov 25, 2008 4:07 pm 
Roy T. FieldingNov 26, 2008 2:46 pm 
Roy T. FieldingNov 26, 2008 2:54 pm 
Roy T. FieldingNov 26, 2008 3:04 pm 
Felix MeschbergerNov 27, 2008 4:25 am 
4 later messages
Subject:Re: [jira] Commented: (SLING-249) Allow mapping nodes to internet domains
From:Alexander Klimetschek (akli@day.com)
Date:Nov 21, 2008 1:42:21 am
List:org.apache.incubator.sling-dev

On Fri, Nov 21, 2008 at 10:03 AM, Vidar Ramdal <vid@idium.no> wrote:

This _is_ expensive and therefore absolutely requires caching. Therefore, we will introduce a small (something like 1000 entries or so), which may be used to directly map incoming requests to resources. The cache is managed very simply: on each change in the resource tree, the cache is just dropped.

I'm not thrilled about the idea of dropping the cache on every change. In our application, there will be changes maybe every minute, effectively leaving the cache unusable.

The cache should not be dropped on every repository change, but simply on all changes to a "sling:vanityPath" property (and all other properties involved in the vanity mechanism), which is simple to do in an observation manager. If the vanityPath requires a vanity node type, one can simply listen for that one and then look if one of the vanity path config properties has changed.

Regards, Alex