OSCache doesn't play nicely with Tiles
I was hoping to use OSCache to cache my JSP pages to overcome my 15-seconds-to-load performance issue. I was hoping to simply place <cache:cache> tags around my entire Tile's baseLayout.jsp. However, I was disappointed to find that this did not work. I get this nice error message:
Can't insert page '/common/header.jsp' : Illegal to flush within a custom tag
I even tried it just surrounding my 200+ row table of indexed properties, but no dice, same error. Oh well, onto caching with Hibernate's JCS support.
Evil? Yes, evil. It means that you cannot surround the Tiles tag with any other custom tag, OSCache or not.
Hope that helps!
Mike
Posted by Mike Cannon-Brookes on March 29, 2003 at 12:34 AM MST #
Posted by Jonathan Gordon on December 15, 2003 at 09:58 PM MST #