Answer the question
In order to leave comments, you need to log in
How to refresh page for Simple_html_dom?
I use Simple HTML Dom sites for parsing one page . And then he noticed that he does not see the latest updates on the page, while regularly collecting posts that are no longer on this page, because. they moved to the second page of the tape. As I understand it, the script has something like its own cache, where it loads the pages and it is not clear how to make it clean it so that it works correctly again.
Answer the question
In order to leave comments, you need to log in
As far as I can see, there is no cache in it, and the page is requested using file_get_contents(). Can you show the code you are requesting the content of the page?
In general, Simple_html_dom has not been updated for three years. For this I prefer a slightly more complex, but cool zend_dom_query.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question