Caching: How it'll work - Seluj78/IntraPy GitHub Wiki
When a request is done (Manually through our library or with our methods), it should look at the time of last database update for the requested URL. If the last time of update is superior compared to the one in a config file, then the request will be done through the API. Otherwise, the data will be fetched in the DB.
We want to add a command/script that will add a manual update to the partial or whole database (In the case of the partial update, the user will specify which tables to update)
Otherwise, every so often, the script will run an automatic update that will check the config file and time of last update and act as needed