only show SQL if DEBUG_SQL = 1 - otherwise shows lots of debug statements when invoking process_stats with --verbose
also cache 'views' aka summary page hits