Ignore .cache
Switch to query sql as key

Dreading stringify_query() finally gone.