What is different between level 1 cache level 2 cache and level3 cache?

1 answer

Answer

1224586

2026-08-15 08:25

+ Follow

Caching implemented by the underlying technology is the first level cache. Usually it comes by default with them. For example, hibernate session or HTTP session holds certain objects in the cache.

In addition, if the application enables additional caching by using a caching provider such as ehcache or api available, it will be termed as "second level" caching. For example, in Hibernate, we can use the <cache> element or pragmatically say "query.setCacheable(true)" to enable second level caching.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.