Does Ecto use cache?

Hello. I’d like to know if ecto uses cache. I don’t know about cache system of database much though :smile:

1 Like

No, it doesn’t use cache.

3 Likes

Thank you.

But PostgreSQL has an internal/automatic cache. You’re using it by default

4 Likes

According to Dockyard, Ecto does cache the “planning phase” of queries in ETS tables.

2 Likes

is this different from storing results to e.g. Cachex for CRUD operations?

I believe it is different to storing the results.

1 Like