This option works best for video cards with 6Gb memory or more, if you enable caching for video cards with less than 6Gb memory your miner can show error and stop working.

You can enable caching by writing these commands in your miner settings:

GMiner
--cache_dag 1
lolminer --enablezilcache
T-Rex(Windows)
--extra-dag-epoch 0
T-Rex(HiveOS)
"extra-dag-epoch": 0
TeamRedMiner
--eth_dag_cache=0
NBMiner(Windows)--enable-dag-cache
NBMiner(HiveOS)"enable-dag-cache": true
nanominer
zilEpoch = 0