make caching of tables to be truncated optional