wilm1998
03-21-2009, 09:56 PM
For the header on my web site at http://thebestplacesinsandiego.com I include weather information.
The weather information is pulled in to the header from a separate php file using
<?php require($DOCUMENT_ROOT . "http://thebestplacesinsandiego.com/wp-content/themes/default/test_weather_style.php5"); ?>
It takes a few seconds for the weather to load. As a result, the rest of my page is held up from loading as well.
What can I do so the rest of the page does not wait for the weather information to load?
I've looked at ways to 1. have the weather information load last and 2. have the weather information only load on the first page visit and then not reload on subsequent pages. Unfortunately, I haven't figured out a workable solution. So, I'd appreciate any details you could provide to figure out an answer to this challenge. Thank you.
The weather information is pulled in to the header from a separate php file using
<?php require($DOCUMENT_ROOT . "http://thebestplacesinsandiego.com/wp-content/themes/default/test_weather_style.php5"); ?>
It takes a few seconds for the weather to load. As a result, the rest of my page is held up from loading as well.
What can I do so the rest of the page does not wait for the weather information to load?
I've looked at ways to 1. have the weather information load last and 2. have the weather information only load on the first page visit and then not reload on subsequent pages. Unfortunately, I haven't figured out a workable solution. So, I'd appreciate any details you could provide to figure out an answer to this challenge. Thank you.