我有一个PHP脚本,可以通过卷发从Google获取XML RSS提要,然后解析和格式化以显示在网页上。几年来,HTML页面将立即加载,现在上个月,显示大约需要0.5秒钟。我不确定是否会放缓是通过检索内容或解析数据而放缓。
实际的RSS网页立即加载我的Web浏览器
我不确定如何调试 减速
I have a PHP script that grabs an XML RSS feed from Google via CURL and then parses and formats it for display on a web page. For several years the HTML page would load instantly, now for that last month it takes about .5 seconds to display. I'm not sure if the slowdown is from retrieving the content or from parsing the data.
The actual RSS web page loads in my web browser instantly
https://news.google.com/rss?hl=en-US&gl=US&ceid=US:en
I'm not sure how to go about debugging the slowdown
发布评论