Markup parsing and caching

2012-04-12 Thread Ashoka Upadhya
In our case Markup for the component comes from CMS. We want to parse the markup and cache Markup object in memory. Parsing happens asynchronously (depending on the content change in CMS) in a separate thread from the request thread. We have custom MarkupParser that extends AbstractMarkupParse

Re: Markup parsing and caching

2012-04-13 Thread Martin Grigorov
Hi, You can create the parser before creating the thread and pass it as parameter to the thread. On Thu, Apr 12, 2012 at 8:31 PM, Ashoka Upadhya wrote: > In our case Markup for the component comes from CMS. We want to parse > the markup and cache Markup object in memory. > > Parsing happens asyn