Answer the question
In order to leave comments, you need to log in
Server load due to the parser: how to watch?
Hello!
For the site page, I parse variable data (about 4 lines from each) from four other sites through Php Simple DOM.
Each site parses a separate php file made by me. On the page, the data is displayed through:
<?php
$content = file_get_contents('https://site.ru/parser.php');
echo iconv("UTF-8", "UTF-8", $content);
?>
Answer the question
In order to leave comments, you need to log in
You can’t do much optimization here, it’s different to increase the number of phr threads
And just save the sites to disk and give it from the disk, and update the domain once every five minutes for the crown
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question