I studied the Data sources help topic provided here but could not find a solution to my problem.
All I want to do is fetch data from a database and at the same time make a json file for temporary caching of data. Now if the same query is fired again, the data should fetch from the json file rather than the database.
So I want to fetch data from both the database and file in the same code. Please let me know if there’s a solution to this. Thanks in advance!