
The resultset of SELECTs that use functions whose result will always vary or whose result depend upon the user executing the query should not be cached. The list of functions is the same as that specified for the query cache of MariaDB: https://mariadb.com/kb/en/mariadb/query-cache/