Category Archives : Technology

Top Level Category for Technology


IIS 8.5 Dynamic Compression Issue

Windows Server 2012 R2 comes with IIS 8.5, and in this release an issue has been found in relation to the Dynamic Compression module.  The module sets the “Vary” header which is used to specify caching properties that the browser uses to determine whether the response should be cached or not. 

In IIS 8.0 and earlier, the Dynamic Compression module was overwriting the Vary header with the value “Accept-Encoding”, and as it happens this is the correct value to ensure that dynamic content is correctly cached – but – according to IIS it should be appending this value to the existing value and not overwriting it.

As it happens, this was supposed to be fixed in IIS 8.5 but the fix appears to be broken.   In IIS 8.5 (which ships with Windows Server 2012 R2) the Vary header is being set to “*” and the “Accept-Encoding” from the Dynamic Compression module is not appended.  The result of this is that no dynamic content is being cached by the browser.

Workaround

Thankfully there is an easy workaround in IIS 8.5 for this:

1. Select an IIS site, and go to Configuration Editor.

image

2. Select system.web/caching/outputCache section, then set the omitVaryStar property to true

image

image

Setting this value results in the Vary header being returned with a value of “Accept-Encoding” and the browser then caches the dynamic content.


Review: LifeProof Fre iPhone 6 Waterproof Case

Product IMG_0384
Introducing the LifeProof Fre iPhone Waterproof case

Earlier last month I happened to be in the market for a new mobile phone after I managed to destroy my old phone whilst on holidays in New Zealand.  As it turned out, I elected to update to the latest iPhone (the iPhone 6) which has only been released for a few months.

New phone, new case?

Within an hour of buying my new handset, it slipped from my hand and landed awkwardly on the cement floor of my garage.  Luckily, no harm done, however this immediately led to my first iPhone 6 accessory purchase – a cheap but sturdy case to protect the thin but large handset.

A better alternative

However, a better option is always welcome.  My previous handset met its demise due to being momentarily dipped in water, a journey which proved to be deadly.  Enter the LifeProof Fre waterproof case which is incidentally  available from a great local retailer MobileZap.

IMG_0386 IMG_6723
Opening the box, in preparation for installing the iPhone

With this case, the risk of damage due to water is very limited as the LifeProof case promises to be waterproof and to exceed US military shock standards.  A bold claim!  Is this *the* case for 24/7 action?  We shall see.

What’s in the box?

The packaging is simple but effective – it contains the aforementioned waterproof case, an instruction booklet, a cleaning cloth and a waterproof audio jack cable plus a card informing the user to program biometrics before installing their phone into the case.

IMG_6736 IMG_6737
Waterproofness extends to even the audio jack (supplied cable)

Impact

The first thing you tend to notice when using an iPhone case is that the device gets noticeably more bulky.  This is common sense – the added heft provides protection for the phone.  However, in this case the LifeProof really doesn’t overly inflate the phone’s dimensions.

IMG_6740IMG_6728
left: standard case vs. LifeProof Fre, right: the box contents

Here’s a photo (above) comparing the cheap plastic case first purchased, compared against the thin profile of the LifeProof case.  It’s snug, but secure.

Handling

Being a waterproof case, the phone is obviously fully encased, which means no direct contact with any of the iPhone’s buttons or the screen.  For a touch based interface this can be problematic, however gestures and even biometrics are no problem inside the LifeProof case.

My main concern was the impact of the protective layer over the crystal clear phone display – as you can see from the photos, there’s really no down side – the display is still crisp and clear.

IMG_6735 IMG_6731
The iPhone’s display is not diminished by the added protection

The case integrates intelligent switches to allow the user to, for example, toggle the silent mode switch with the flick of a button.  The power button is a little more stiff than when used directly, but this has a benefit of it being harder to accidentally power on the device when unintended.

IMG_6741 IMG_6742
Sleek look, sensible grip and access to all the phone’s key features and controls

Waterproofness

To be perfectly honest with you, I’m once bitten twice shy after the loss of my last handset.  I really want to conduct a waterproof test on the case, but I also want to give it a “road test”.  I’ve decided to conduct the latter first, and return to waterproofness a little bit later.

The case is constructed with a very long O-ring perimeter inside the case which, when properly sealed makes the case waterproof.  It even appears to cater for the iPhone’s speaker, with a valve allowing sound to emit, but keeping water and liquid out

IMG_6727
Minimal impact on the iPhone’s slim figure

Finally, as if it can’t get any more appealing, the case provides just the right amount of grip, so you don’t risk the accidental drop which I had the first time I had it with me!

Initial Conclusion

Initial verdict: winning

A brilliant upgrade, a sturdy and practical case for 24/7 use.  It has survived the initial “child test”, having been dropped, licked and used with sticky hands – and with a quick wash and clean, it’s brand new again.  I’m looking forward to carrying it around, with it’s smaller profile.

Stay tuned, I’ll update this article once I’ve had a chance to “field test” it in the wild.

While you’re reading, why not check out this case and more from MobileZap’s comprehensive range of mobile phone accessories over at MobileZap.

Official Site


Bad disk – but which one?

You might be unlucky enough to occasionally run into issues with a hard drive which has issues, and Windows will attempt to warn you via the System Log.  However, as the issues are logged from a low level (below the UI level), the disk identifier can be a bit cryptic.  Here’s an example:

“The device, \Device\Harddisk5\DR5, has a bad block.”

image

Which might be a little less than helpful, especially if you mainly know your disks by their assigned drive letters.  Fortunately, there’s a Microsoft KB article on this topic: http://support.microsoft.com/kb/159865

However, that’s a bit dated.  After trawling through some forums, I found a really succinct translation in an answer on this thread:

\Device\Harddisk#\DR#

DR# means drive, removable, and then the number Windows 7 has assigned that removable drive. # is the USB host controller ID assigned by Windows during setup. If you switch your HD to another USB port, the number should change.

In my case, this translation was spot on.  I had an external drive attached which actually had faulted and I was in the process of data recovery and (ultimately) a reformat:

image

So if you’re reading this – condolences – and I hope this article has helped you find the drive which is causing you some grief.  For help with disks, check out this page of really useful free disk data recovery tools.

I’ve been using TestDisk quite successfully, although it isn’t for a novice user.  If you’re not sure what you’re doing, read the documentation very carefully!

If you want to read an inspired answer on Server Fault, the first answer is enlightening.

/R