Patent attributes
The disclosed embodiments provide a system that delivers content to an electronic device. The system includes a content provider that obtains a public address of the electronic device from a first request for the content from the electronic device. Next, the content provider uses the public address to identify a local caching server on a local area network (LAN) of the electronic device. Finally, the content provider provides a local address of the local caching server to the electronic device, wherein the local address is used by the electronic device to obtain the content from the local caching server and the LAN without accessing a content delivery network (CDN) outside the LAN.