add query-cache
add second-level cache flush/sync