added 'cache' option - if set to '0', forces to never use the cache tables - useful for.. well generating the cache tables in fact