I have searched in a lot of places and didn't find any solution for my problem properly.. I have a PHP code that is taking about 1 minute to retrieve the informations, becouse it's fetching urls in a Open Graph php, so it has to open a lot of sites, find the meta datas (like: title, images, descriptions) and echo it for me... So, the whole system is working fine, but every time an user enters the site the php code has to do all the work again retrieving the meta datas and stuff...
I need to create a system that run the PHP in the background server and store the information, so when the user enter the site, all the work would be already done, showing only the results... any idea?
I did this test:
After the 1 min waiting and with the page already open showing the results, I entered in the Source Code, copied all the content and create a new .html page (copy and pasting the code generated), and of course everything was transformed in a simple html code showing the php results... And everything loaded in a sec, becouse all the Open Graph process was already done.. That is what I need, but automatically..
(english is not my main language, so, you know) :)