In my Rails application I see a few 'cache' during SQL query in the server log:
[DEBUG] CACHE (0.0ms) SELECT
regions.* FROMregionsWHEREregions.name= 'NY' LIMIT 1
I want to know if these caching are done by Rails, or by the MySQL itself? In another word, do these cached queries touch the database layer at all?