I need to fetch Component data in a User Control from the Presentation Server, and I have 2 ways:
- First published the Component to Broker and then use the Broker API to fetch the content in the User Control.
- Publish the Component to the file system of the Content Delivery server in the form of an XML file and then fetch the content from that published XML.
I know that if I go for the Broker option, then there would be a server hit to DB, but also Broker provides caching. Whereas if I use the file system then there is no DB hit.
So here I am looking for a precise answer from some expert as I already used and familiar from both ways to fetch data.