Other than caching every hour, or every week, you may cache according to file data. [crayon-663e8b89ddc9b636779864/] or use file modification…
To get host url of current server simply replace application\config\config.php [crayon-663e8b89dde5a929533478/] with [crayon-663e8b89dde60202163831/]
You should first test the existence of a file by file_exists(). [crayon-663e8b89ddfe9411094621/] or simple solution without exceptions: [crayon-663e8b89ddff1355885562/]
[crayon-663e8b89de1f1000625629/] Output the random string with the call below: [crayon-663e8b89de20a793789658/]
Note: from WordPress Use it like this: [crayon-663e8b89de409195593095/] Code: [crayon-663e8b89de411649154010/]
[crayon-663e8b8a30ea9273028240/] or [crayon-663e8b8a30eb5691922433/]
[crayon-663e8b8a311d1721720048/] instead of [crayon-663e8b8a311d6080721979/] It will give you POST data as is. You will be able to decode it using…
The output look like: [crayon-663e8b8a3138e174419291/] [crayon-663e8b8a31395278917635/]