Re: Urgent: Nesting of OSCache tags

Scott Farquhar <[email protected]>
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <[email protected]>
On Sun, Feb 01, 2004 at 12:25:41PM +0100, Bjørn Wang wrote:
> I have some questions regarding nesting og cache tags, which I hope to
> get your opinion on.
>  
> We're about to go into production with a site that uses nested cache tags
> for caching of both HTML pages and HTML fragments (partial pages).
> We're dependant on caching HTML-fragments to meet get the required
> performance.
>  
> We've been testing use of nested tags using OSCache even though the
> FAQ clearly states that this is not supported. All the same, it seems to
> work well. Still, we're reluctant to go into production with nested tags if
> this is an unsupported feature.
>  
> Question #1:
> What are the consequences of nesting tags in OSCache?

I think that the problems lie with the generation of the keys that are
used for the caches.  I would ensure that you specify a key for each
cache tag that you want to use.

I'm not 100% sure if there are any other considerations - maybe someone
else can help our here.

Cheers,
Scott

> Question #2:
> What would you recommend as a workaround to get nested tags
> working? We're looking into using BEA WebLogics own cache tags for
> the "inner" cache tags (fragment caching), but we're not quite content
> with the performance and quality of this cache. Using OSCache would
> be preferable.
>  
> Hoping to get some advice. :-)
>  
>  
> Best regards,
> Bjorn Wang
>  


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.