QT gets the data by scraping the NSE website; also, this is done by the user client and not by a QT server that subsequently distributes the data. If you use Metatrader, you should be in a better position to answer your question; maybe the same way that brokers provide the data by using a direct NSE feed and also caching it.
Thanks for the clarification