Developers should standardize their database calls so that all calls go through the library, even ones they know shouldn't be cached.
Functionality should be added so the developer can specify an expiry time of zero that will result in immediate delegation of the query to the databaseResource and the results be immediately returned to the caller, with no caching.
Currently an expiry time of zero will work as expected, that is, cache is created but immediately considered stale.
Developers should standardize their database calls so that all calls go through the library, even ones they know shouldn't be cached.
Functionality should be added so the developer can specify an expiry time of zero that will result in immediate delegation of the query to the databaseResource and the results be immediately returned to the caller, with no caching.
Currently an expiry time of zero will work as expected, that is, cache is created but immediately considered stale.