Cron job to store content of iframe to a file that can be served with a php include

624 Views Asked by At

Is it possible to set up a cron job to download the content of an iframe (the iframe loads into my website currently, content is served from another website) and cache it to a php file (or another file like HTML etc) so I can serve the content without it having to reload on every page refresh etc and without actually using the iframe in my website.

If not a cron job just something similar, a server process so the content is already cached on the server daily without it having to load from another site when a visitor loads the page.

0

There are 0 best solutions below