where is cache code example
Example 1: what is cache
What is the caching mechanism?
Caching is just the practice of storing data in
temporarily and retrieving data from a
high-performance store (usually memory)
either explicitly or implicitly. @CacheLookup
is used with @FindBy annotation and keeps
that web element in memory and makes it ready
to use everytime. You can use that approach
if you use any web elemnent frequently.
Example 2: what is a browser cache
When you visit a website, your browser takes pieces of
the page and stores them on your computer's hard drive.
Some of the assets your browser will store are:
Images - logos, pictures, backgrounds, etc.
HTML
CSS
JavaScript
In short, browsers typically cache what are known as
"static assets" - parts of a website that do not change
from visit to visit.