diff --git a/content/screen.sass b/content/screen.sass index 2d4a43f..f7c9d4e 100644 --- a/content/screen.sass +++ b/content/screen.sass @@ -384,6 +384,37 @@ img.feed-icon width: 10em margin: 0 + .seperator + text-align: center + color: #EEE + margin-bottom: 1em + font-size: smaller + + hr + width: 33% + height: 1px + display: inline-block + border: none + background-color: #eeeeee + margin: 5px 0.5em + + &.right + background-image: -webkit-gradient(linear, left center, right center, from(rgb(238, 238, 238)), to(rgb(255, 255, 255))) + background-image: -webkit-linear-gradient(left, rgb(238, 238, 238), rgb(255, 255, 255)) + background-image: -moz-linear-gradient(left, rgb(238, 238, 238), rgb(255, 255, 255)) + background-image: -o-linear-gradient(left, rgb(238, 238, 238), rgb(255, 255, 255)) + background-image: -ms-linear-gradient(left, rgb(238, 238, 238), rgb(255, 255, 255)) + background-image: linear-gradient(left, rgb(238, 238, 238), rgb(255, 255, 255)) + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#eeeeee', EndColorStr='#ffffff') + + &.left + background-image: -webkit-gradient(linear, right center, left center, from(rgb(238, 238, 238)), to(rgb(255, 255, 255))) + background-image: -webkit-linear-gradient(right, rgb(238, 238, 238), rgb(255, 255, 255)) + background-image: -moz-linear-gradient(right, rgb(238, 238, 238), rgb(255, 255, 255)) + background-image: -o-linear-gradient(right, rgb(238, 238, 238), rgb(255, 255, 255)) + background-image: -ms-linear-gradient(right, rgb(238, 238, 238), rgb(255, 255, 255)) + background-image: linear-gradient(right, rgb(238, 238, 238), rgb(255, 255, 255)) + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#ffffff', EndColorStr='#eeeeee') table &.left_headers, &.top_headers @@ -420,6 +451,8 @@ table margin: 0 1em 1em 0 + + // Weather body.weather diff --git a/content/technical/2013/01/speed-up-slow-ios-downloads-with-proxy.html b/content/technical/2013/01/speed-up-slow-ios-downloads-with-proxy.html new file mode 100644 index 0000000..d7c4871 --- /dev/null +++ b/content/technical/2013/01/speed-up-slow-ios-downloads-with-proxy.html @@ -0,0 +1,100 @@ +--- +title: Speed Up Slow Downloads on iOS with a Proxy or CDN +extra: How to speed up downloads on iOS. +kind: article +section: technical +created_at: 2013-01-13 12:39:00 +keywords: +- ios +- proxy +- download +- podcast +- squid +- launchd +- cdn +--- + +Whilst developing the Radiopaedia iOS app I ran into the problem of very slow +download speeds within the app. The app has packs of content avaiable for +purchase. The download speed was fine in the simulator but on the device it +was painfully slow. Profiling the code didn't reveal any issues either. + +Some searching revealed people compaining about YouTube videos downloading +faster over 3G than Wi-Fi. There were a number of theories and proposed fixes +for this including: + + * YouTube was sending higher bitrate video when on Wi-Fi + * Checking Wi-Fi access point settings + * Set access point to 802.11b and it goes faster + +At the time I read something that I can no longer find that said that the +iOS Wi-Fi stack has problems when it has a low latency Wi-Fi +connection that is communicating to a comparatively high latency +destination, for example YouTube servers in the US from AU (it +appears there's YouTube end-points in AU these days). From memory I think the +article cited power management under these circumstance as the issue. Howver +since I can't find the original article I might be making that up. + +With this in mind I tested hosting the content packs on an Australian server, +instead of in Amazon S3. This showed a huge improvement in download speed. At +the time Amazon's CloudFront CDN did not have an Australian presence so we +switched to hosting the packs on RackSpace's CloudFiles, which uses the much +more extensive Akamai CDN and ensured that users of the app would have the +best possible download speeds. + +