who uses Caché code example
Example 1: 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: empty cache
a hard reload option
clears the browser cache before the hard reload is activated.
hard reloads usually only bypasses the cache.
but because web pages may download additional content
using JavaScript not part of the initial page load
that may be cached and loaded from cache
even if you do a hard reload.