Adrian,


That's why I suggested caching the widgets themselves. If the discussion is about a site that is getting a million hits per day, then caching the widgets should offer some level of improvement.

Reading and parsing the widget xml file might seem to go fast, but the reality is that every page request requires an xml file read, element parsing, converting parsed elements into a collection of java classes, and some validation. With a hypothetical million-hit-per-day site, all of those steps are repeated millions of times per day. Why not do those steps once, and then cache the result?

-Adrian

aren't widget definitions already cached?

Jacopo

Reply via email to