Php sets the corresponding key of the cache

I use thinkphp5

I don"t know how a key corresponds to a value when using cache

my preliminary idea is
to apply controller name concatenation method name splicing all passing parameters md5 encrypted string as key

when you get the cache, you also use the encrypted string to get

.

I don"t know what better way to do this

file file cache is now used for some reason

Feb.28,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2bbc7-40afd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2bbc7-40afd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?