IIS7 – Slow page response with PHP
Last Updated on Friday, 20 January 2012 12:50 Written by Farstate Friday, 20 January 2012 12:50
A small titbit of information that is worth remembering if you are suffering from slow initial page response when running PHP on IIS7 (i.e. you browse to the web-site and nothing seemingly happens for a couple of seconds).
This only applies when you are also doing database queries (in this case, MySQL) – if you are using “localhost” as the hostname, then PHP has trouble trying to resolve localhost when IPv6 is also installed. To speed up page response, simply replace “localhost” with “127.0.0.1″. Alternatively, disable IPv6 but this may not be a good option moving forward.
Learn MoreWhere to find the report ID in the new Google Analytics
Last Updated on Friday, 9 December 2011 11:48 Written by Farstate Friday, 9 December 2011 11:48
Nothing is ever that straightforward! The report ID which used to be shown in the Google Analytics interface have now been merged into a longer ID which only seems to be in the URL of the analytics profile. So, if you are using GAPI or some other API/code that needs the report ID, following these steps to get it:
- Log into Goggle Analytics
- Select the profile you want
- When the page has loaded, look at the URL – you are looking for the last part of the URL (or at least as of 08/12/11 it was the last part), a bit of text that should start with an a and include a w and a p about 1/3 and 2/3 the way along. The text should look something like: aXXXXXXXwZZZZZZZZp12345678 where the X’s and Z’s are numbers and 12345678 is the report ID
Ajaxload.info
Last Updated on Friday, 9 December 2011 10:34 Written by Farstate Friday, 9 December 2011 10:34
Ajaxload.info provide a nice simple animated gif generator for creating (amongst other designs) those little circular rotating images that can sometimes provide a nice alternative to a blank screen, especially when waiting for third-party ajax plugins/scripts to load content into a web-page. They provide that nice extra little touch!
Learn More