Hi,
The markup is cached anyway. You probably want the results cached.
There's tons of ways to do it, the most obvious ones being:
- using a seperate cache, e.g. implemented as a servlet filter. I've
used http://www.opensymphony.com/oscache/ for this in the past. If you
only have to cache bookmarkable pages (and actually caching
non-bookmarkable pages is not a good idea as they need session state),
that works quite good.
- generate static HTML. Many large sites just generate their whole
catalogue etc to static html files. You can't get better performance/
scalability than that. So, if you work on a really large scale site,
that might be an option.
Above two ways are not integrated with Wicket. We could consider
building in native support for caching, but as caching (at least the
kind of caching we're talking about here) spans multiple sessions, it
would not be a straight match with Wicket's design goals.
Eelco
Christian Essl wrote:
Hi,
My most used pages are product-catalog and product-detail. Both pages
are and should be bookmarkable. The product-catalog page uses a
ListView to show all products in a category. The detail pages uses a
form to add the prodcut to the shopping-basket:
Because the products do change only about every second week I want to
cache the markup for both pages (or better the actual panels which
show the products).
Is this possible in Wicket?
Thanks,
Christian
___________________________________________________________ Gesendet
von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden:
http://mail.yahoo.de
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar
happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted
by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user