Other than caching every hour, or every week, you may cache according to file data. [crayon-692616598166d116644054/] or use file modification…
To get host url of current server simply replace application\config\config.php [crayon-6926165981969380437169/] with [crayon-692616598196d357770948/]
You should first test the existence of a file by file_exists(). [crayon-6926165981a7d870404833/] or simple solution without exceptions: [crayon-6926165981a7f341568240/]
[crayon-6926165981b46742258211/] Output the random string with the call below: [crayon-6926165981b48022476399/]
Note: from WordPress Use it like this: [crayon-6926165981c66967277092/] Code: [crayon-6926165981c68265759175/]
[crayon-69261659b7af2742318318/] or [crayon-69261659b7b06923107891/]
[crayon-69261659b7d56549959066/] instead of [crayon-69261659b7d58440400928/] It will give you POST data as is. You will be able to decode it using…
The output look like: [crayon-69261659b7e2b610312567/] [crayon-69261659b7e2d243802703/]