Other than caching every hour, or every week, you may cache according to file data. [crayon-662f1c95e316a201986750/] or use file modification…
To get host url of current server simply replace application\config\config.php [crayon-662f1c95e37f0774925082/] with [crayon-662f1c95e37f7463158264/]
You should first test the existence of a file by file_exists(). [crayon-662f1c95e3952562032532/] or simple solution without exceptions: [crayon-662f1c95e3958851198723/]
[crayon-662f1c95e3aba853522112/] Output the random string with the call below: [crayon-662f1c95e3ac0221885499/]
Note: from WordPress Use it like this: [crayon-662f1c95e3c79279146994/] Code: [crayon-662f1c95e3c7f803136506/]
[crayon-662f1c95e3f12303935600/] or [crayon-662f1c95e3f17454288805/]
[crayon-662f1c95e41aa106015191/] instead of [crayon-662f1c95e41b0435442203/] It will give you POST data as is. You will be able to decode it using…
The output look like: [crayon-662f1c95e42ee941396989/] [crayon-662f1c95e42f3463193934/]