You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ted Steen <te...@gmail.com> on 2005/11/17 13:59:41 UTC

Cache component, great performance boost.

Beeing able to cache whole pages/components or parts of them is a real
performance boost in many situations.

This components is a great start;
http://tapfx.sourceforge.net/multiproject/tapfx-components/apidocs/index.html

But...
Problems may occur.
For instance, you'll run into problems if you want to support sessions
with url-rewriting (instead of cookies) and you also want to cache
html content that contains direct - page - externallinks, because the
JSESSIONID parameter of every link will also be cached - and
returned to every user!

Another thing that come to mind is that if the cache contains some
kind of state (e.g. when persisting something clientside) things could
get messed up..

But in cases when one don't have urls or state in the cache it works perfectly.

Now, a more general cache component would be really nice to have in
the framework, so I guess this is some kind of feature request :)

--
/ted

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


RE: Dynamic images with relative path

Posted by Patrick Casey <pa...@adelphia.net>.
	Try some variant on this:



> -----Original Message-----
> From: Hacer Soran [mailto:hsoran@yahoo.com]
> Sent: Thursday, November 17, 2005 8:46 AM
> To: Tapestry users
> Subject: Dynamic images with relative path
> 
> Hi there,
>   I need to display dynamic images on a page using relative paths but
> couldn't succeed. If you have an idea how to this please help.
> 
>   Thanks in advance
>   H
> 
> 
> 
> ---------------------------------
> To help you stay safe and secure online, we've developed the all new
> Yahoo! Security Centre.

Dynamic images with relative path

Posted by Hacer Soran <hs...@yahoo.com>.
Hi there,
  I need to display dynamic images on a page using relative paths but  couldn't succeed. If you have an idea how to this please help.
  
  Thanks in advance
  H


		
---------------------------------
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.

Re: Cache component, great performance boost.

Posted by Konstantin Ignatyev <kg...@yahoo.com>.
But I guess the component can easily be extended to
support per-session cache. 

--- Ted Steen <te...@gmail.com> wrote:

> Beeing able to cache whole pages/components or parts
> of them is a real
> performance boost in many situations.
> 
> This components is a great start;
>
http://tapfx.sourceforge.net/multiproject/tapfx-components/apidocs/index.html
> 
> But...
> Problems may occur.
> For instance, you'll run into problems if you want
> to support sessions
> with url-rewriting (instead of cookies) and you also
> want to cache
> html content that contains direct - page -
> externallinks, because the
> JSESSIONID parameter of every link will also be
> cached - and
> returned to every user!
> 
> Another thing that come to mind is that if the cache
> contains some
> kind of state (e.g. when persisting something
> clientside) things could
> get messed up..
> 
> But in cases when one don't have urls or state in
> the cache it works perfectly.
> 
> Now, a more general cache component would be really
> nice to have in
> the framework, so I guess this is some kind of
> feature request :)
> 
> --
> /ted
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools.  New York:  State University of New York Press, 1997: (4) (5) (p.206)

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