Thanks. The JSON update would be inside a module that prepares the data for an API implemented with Mojolicious.
Is there a way I can preserve this cache for subsequent and independent queries to the API? Would it be possible to specify that %cache is a global variable in the application?