Other than caching every hour, or every week, you may cache according to file data.…
To get host url of current server simply replace application\config\config.php [crayon-693308de6dc70801702803/] with [crayon-693308de6dc76911950860/]
You should first test the existence of a file by file_exists(). [crayon-693308de6ddec227246185/] or simple solution…
[crayon-693308de6df46859135452/] Output the random string with the call below: [crayon-693308de6df4a362189225/]
Note: from WordPress Use it like this: [crayon-693308de6e02b385339644/] Code: [crayon-693308de6e02e990940378/]