Skip to content
Branch: master
Find file History
Pull request Compare This branch is 252 commits behind iluwatar:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
etc
src
.gitignore
README.md
pom.xml

README.md

layout title folder permalink categories tags
pattern
Caching
caching
/patterns/caching/
Other
Java
Difficulty-Intermediate
Performance

Intent

To avoid expensive re-acquisition of resources by not releasing the resources immediately after their use. The resources retain their identity, are kept in some fast-access storage, and are re-used to avoid having to acquire them again.

alt text

Applicability

Use the Caching pattern(s) when

  • Repetitious acquisition, initialization, and release of the same resource causes unnecessary performance overhead.

Credits

You can’t perform that action at this time.