Hi all...
I have built a simple web server that takes inputs form various sensors and then logs that data on to SD card - nothing new or clever here. I then post these to the web by using a template file from the SD card and replacing key words with this processed data. All works well on the LAN, very fast and no issues. However when accessing from outside the LAN, the page only fully loads one time in 5 or so. The connection works (i.e. I am getting some of the html page), but not all of it, and it takes a long time (several seconds) to get the page! I am using a MEGA 2560 and the new Ethernet card with the standard libraries etc. Am confused!
The server code is a copy of the Ladyada example, tweaked a little to use the template file on the SD card.