You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by carlos beltran <cb...@aitek.it> on 2001/05/02 16:33:28 UTC

Is Jetspeed Content out of the cache management?

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.

Any help?
Thanks!

Carlos.




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Is Jetspeed Content out of the cache management?

Posted by carlos beltran <cb...@aitek.it>.
Carlos,

Dont be lazy!!!, have a look into the source code!. You already found the answer.

Grettings,

Yourself.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Is Jetspeed Content out of the cache management?

Posted by carlos beltran <cb...@aitek.it>.

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: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Is Jetspeed Content out of the cache management?

Posted by Santiago Gala <sg...@hisitech.com>.
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.


> Any help?
> Thanks!
> 
> Carlos.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org