Santiago Gala wrote:
> carlos beltran wrote:
>
> > Hi,
> >
> > I was doing some experiments with the cache under Jetspeed 1.3.a1. I
> > discovered that if I have a RSS portlet and I add the next lines in the
> > JR.p:
> >
> > #########################################
> > # Jetspeed Content #
> > #########################################
> > #Jetspeed supports a more advanced weblog format that allows you to
> > publish
> > #content to your website. This is based on RSS 0.91 but allows you to
> > have
> > #more Slashdot style content with topics, icons, etc.
> > .
> > .
> > .
> >
> > content.provider.jetspeed.url=http://localhost:8080/news/rssNews.jsp
> > content.provider.jetspeed.stylesheet.url=/WEB-INF/xsl/rss.xsl
> > content.provider.jetspeed.title=News
> > content.provider.jetspeed.description=
> > .
> > .
> > .
> >
> > The content of the portlet is not cached, and I can see immediatelly
> > from the portal any modification done in the rssNews.jsp.
> > I dont understand the nature of the "Jetspeed Content", and how it is
> > related with the diferent types of caches ( disk and feed).
> > May be is an stupid question but I didn't find a clear explation in the
> > documentation or in the mailing-list. Are the URL defined in Jetspeed
> > Content cached or not?
> > An possible answer that comes to my mind is that the "Jetspeed Content"
> > is considered to be in the same machine than the jetspeed portal so
> > doesn't need to be cached, but it seems to me that you can use any URL.
> >
>
> The idea in the current implementation is that only http: urls not in
> the local machine are diskcached. All portlets are cached in memory
> unless you override the methods in AbstractPortlet.
>
> In the next implementation, it will be a series of regular expressions
> defining which urls will be cached and which not.
Thanks Santiago,
Does that mean that if I use a URL diferent that "localhost" like this:
content.provider.jetspeed.url=http://othermachine:8080/news/rssNews.jsp
content.provider.jetspeed.stylesheet.url=/WEB-INF/xsl/rss.xsl
content.provider.jetspeed.title=News
content.provider.jetspeed.description=
...this URL will be diskcached or if a URL is defined in a "content.provider"
will be automatically considered to be local and will not be cached?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]