Non-blocking file_put_contents in function.php
Instead of contacting the remote site to get the information in an expensive HTTP request, why not have the remote site send you the data at regular intervals? Register a REST API endpoint to recieve the data on In that endpoint, take in the data and save it in all.json On the remote site add … Read more