2,016 reputation
1615
bio website tfountain.co.uk
location United Kingdom
age 33
visits member for 4 years
seen 22 mins ago

PHP/Zend Framework Developer based in the UK.


May
28
comment How should I work out VAT (UK tax) in my eCommerce site?
I'm not sure what ecommerce solution you're using but isn't there a fourth option: round the product prices to 2dp before doing the tax calculation? That way the result matches but you still have your 4dp product prices.
May
24
awarded  Nice Answer
May
21
awarded  Enthusiast
May
20
comment How to respond to attack on web site
apps.db.ripe.net/search/… - is the whois for that IP. The abuse email address is on there if you wish to report the issue to the ISP
May
11
revised Etags are not appearing on PHP pages
added 9 characters in body
May
11
comment Expiry date in response header contradicts the cache-control setting
Cache-Control and Expires are separate headers. Do you have something else setting the Expires header?
May
11
comment Etags are not appearing on PHP pages
If you mean the modified date of the PHP script, this is risky, but it depends a bit on what your script does. Imagine a PHP script that simply outputs the current time - if that script sent an ETag based on it's own last modified date, it would be wrong, as the HTML content would change when the time does but the ETag would not.
May
11
answered Etags are not appearing on PHP pages
May
8
answered Check old urls for backlinks - same domain new design and urls
May
7
comment Yandex.Metrica: can I redirect from /favicon.ico to the 1×1 gif counter?
Just to add that browsers definitely do cache favicons that do exist, this is quite easy to verify: webpagetest.org/result/130507_A7_Q9A (compare favicon request in first view and its absence in the repeat view).
May
7
comment Yandex.Metrica: can I redirect from /favicon.ico to the 1×1 gif counter?
I wouldn't expect browsers to cache the result of a request that resulted in a 404, but if you've ever tried to change a favicon you'll know that browsers can hang on to the old one for much longer than they would a normal image (regardless of cache headers) so I think they treat them differently. I take your point about page rendering, but if I can pedantically argue semantics, the favicon is part of the 'page load', so adding in a redirect does slow down the page load, even if it may well technically improve the page render time.
May
7
answered Yandex.Metrica: can I redirect from /favicon.ico to the 1×1 gif counter?
May
7
awarded  Caucus
May
1
revised optimize htaccess
Improved formatting and grammar
May
1
suggested suggested edit on optimize htaccess
Apr
26
comment Soft 404 error on redirected outbound links
Can you provide the URL to a page with one of these links on?
Apr
24
awarded  Citizen Patrol
Apr
23
comment How Do I Make A Dynamic PHP Link 'No-Follow'?
The important point is, adding nofollow to a link doesn't save any 'link juice'. This is something Google changed a few years ago to prevent what was called 'page rank sculpting'. nofollow is for links you don't trust, it was created primarily to combat comment spam. So like Zistoloen said, there's no reason to use it on your own links.
Apr
23
answered How Do I Make A Dynamic PHP Link 'No-Follow'?
Apr
20
comment How can I set parameters in Google webmaster tools so that my dynamic content is indexed?
If that's just for pagination, Googlebot will be able to index the other pages assuming they're linked from page 1. But you'll probably find Google will ignore those if they look very similar to the first page.