Reputation
1,624
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 10 20
Newest
 Altruist
Impact
~60k people reached

Apr
21
comment How to pick which version of .ico image is favicon?
@Mike .ico files have supported multiple sizes for years, however the value of that is limited on websites as the tabs and address bar often only use the 16x16 or at most 32x32 version. They can go up to at least 128x128 with a 32bit colour depth now.
Apr
8
comment Why does my IP address become Google's IP address when using Chrome on the mobile?
It's like the old days of AOL where all their users appeared to come from Pennsylvania even when they were actually in the US.
Mar
19
comment Google reCAPTCHA “Type the Text”
The idea behind version 2 is to actually be less intrusive - it uses some heuristics around how the user interacts with the page/control to determine if it even needs to show you the puzzle - often it will just show the tick box and let you through. If you change the call to use the v1 reCAPTCHA, you'll also need to ensure that you have updated the server side code to support that version as well.
Mar
15
comment What might be causing my site's pages to load more slowly in these IIS Rewrite Module rules?
Have you tried disabling them one at a time and seeing if there's an obvious issue with one of the rules? The main thing I'd think is that you've got some broken script/image/css links in your page that are being rewritten to content pages when you enable those rules which may cause page blocking - check the Network tab of a browser's F12 tools to see if you're getting a number of odd requests on the page. Alternatively, locally you can enable trace logging in IIS which will report on every single part of the request and how long it takes processing rules, etc.
Mar
4
comment Is it possible to exclude Data-URIs (data:image/xxx) through robots.txt?
@richhallstoke - Could be, although I think most of those are looking for urls in data-src* attributes rather than pre-fetching the content of the src attributes. I'll double check with our front end team.
Feb
29
comment Is it possible to exclude Data-URIs (data:image/xxx) through robots.txt?
Apologies to BingBot/Yahoo - I think I'd mixed up two log lines - looks like it's actually some browsers attempting to pre-fetch content or similar ((mostly Chrome on ChromeOS, Safari on iPad and some Firefox instances) which is more painful :(
Feb
29
comment Is it possible to exclude Data-URIs (data:image/xxx) through robots.txt?
@w3dk - Sorry for the delay - yes the request is identical to that in the HTML. My server (IIS 7.5 running ASP.NET 4) responds with 500 Internal Server Error because it thinks this is "A potentially dangerous Request.Form value" (see white paper on this here). However digging deeper I think this isn't Bing/Yahoo but overzealous browser pre-fetches (mostly Chrome on ChromeOS, Safari on iPad and some Firefox instances - which is more painful).
Feb
26
comment Is it possible to exclude Data-URIs (data:image/xxx) through robots.txt?
Yes, I'm thinking it's an error with these bots - as they should be recognising that the data: scheme doesn't represent a relative link. Interesting to see that both BingBot and YahooSlurp might be able to be blocked via that extension - I'll give that a go and see how we get on.
Feb
26
comment Is it possible to exclude Data-URIs (data:image/xxx) through robots.txt?
@w3dk The Data URI scheme is supposed to be a fully contained base64 encoded representation of the binary object - meaning that the browser shouldn't be making another request - everything it needs is in the page already - see the question for an example of format - that's not a link to another part of the site. Yes, we've seen these for quite some time in our log files now.
Feb
25
comment Is it possible to exclude Data-URIs (data:image/xxx) through robots.txt?
We are seeing requests from both BingBot and YahooSlurp for urls like: /folder/path/data:image/gif;base64,... which is causing issues as we're then getting "Potentially dangerous request" errors in IIS.
Feb
20
comment Hosting HTML5 video on Youtube/Vimeo, without using player
Vimeo and YouTube offer you free hosting and bandwidth because they are able to sell adverts on your content (and show them through their players) - if they offered raw URLs then they wouldn't be able to include the adverts, and they would want to charge you for the bandwidth directly. Cloudfront and other CDNs will offer you alternative hosting options that may be cheaper than your current hosting provider.
Mar
31
comment IIS 7.5 and 404 error with non-www domain but no subdomain
Hmm, I wish you luck with that, you have no guarantee that that service will stick around as you're not paying for it :-( You'd be better off talking to your hosting provider and asking them if they support domains without the www. and if not consider switching to one who does.
Mar
27
comment Side effects of customising a users currency based upon their IP
Yes, should have been more specific - you're right, they won't show the exact option, but will hopefully show all options.
Mar
26
comment Side effects of customising a users currency based upon their IP
You could try rendering out all currencies in the mark-up and then show/hide the relevant ones through JS or CSS (I.e. Set a wrapper class based on region and then wrap each currency in a span so you could say .gb .usd {display: none;} to hide all US$ span elements
Mar
24
comment When webservers send a page, why don't they send all required CSS, JS, and images without being asked?
@DavidMeister Again that's a trade off that should really be made be the client, they are more likely to know what their local constraints are. If what you really want is alternate reality answers then your question should be "How can we modify servers and clients to minimise requests". However, you can already do this now: inline all your CSS and JS, base-64 encode your images and add those to the page, and loose out on the parallelization of requests to load your additional resources...
Mar
19
comment When webservers send a page, why don't they send all required CSS, JS, and images without being asked?
@DavidMeister Because the server doesn't always know what the client wants - a webcrawler for a search engine might not care about the CSS/JS, and there are many other resources linked in a document beyond those - there's no need to send the entire RSS feed down in the package to a web browser (most of the content is probably in the HTML already), while a feed reader might just parse the <head> element looking for the RSS alternate links to find just that - the client could send a list of what it's interested in, but then it needs to know what's available and we're back at the beginning
Mar
13
comment IIS 7.5 and 404 error with non-www domain but no subdomain
True - but they don't state that they are their 404 error pages ;) If the OP's seeing the correct 404's then there is an issue with the routing on their site (which is a different issue) rather than an issue with the bindings - if the 404's are coming from their site then the bindings must be correct.
Mar
13
comment IIS 7.5 and 404 error with non-www domain but no subdomain
Not sure what you were seeing in previous versions - if you explicitly set a domain and removed the default (domainless) binding, you always had to explicitly set both www. and non www. versions in IIS.
Feb
26
comment Update .NET website without reloading
In response to your bounty comment: the large websites I work on handle small changes to code the same way they handle large changes to code: through load-balancers and out of process sessions - because all code that is deployed to live needs to go through a review/sign-off process and we can't just drop code on the servers. I guess our definitions of "large" may not match ;)
Feb
20
comment Update .NET website without reloading
A good set of steps there - certainly something to consider :)