Store it on disk yes/no?
Storing it on disk will of course increase performance but lose flexibility. In other words, if you store in on disk you’ll have to check every time whether or not the data you need has changed in the database. If so you’ll have to generate the XML file again. If your conversion code is fast enough you don’t have to save it into a file everytime. You might consider doing it anyway as a form of result caching though. 4.