Alpha4615 / phpMyCache

A PHP library that caches mySQL SELECT queries to the file system
GNU General Public License v2.0
1 stars 1 forks source link

Execute query without caching results #2

Closed Alpha4615 closed 10 years ago

Alpha4615 commented 10 years ago

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.