> Use Client's Time Zone wordpress plugin resources analysis

Use Client's Time Zone wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Use Client's Time Zone
Version 1.1.3
Author M.D. Green
Rating 60
Last updated 2015-02-03 03:55:00
Downloads
1026
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: -2%

Post page

Delta: -2%
Use Client's Time Zone plugin has small negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 2%, while Post page PageSpeed score has been degraded by 2%

Use Client's Time Zone plugin added 11 kB of resources to the Home page and 11 kB of resources to the sample Post page.

Use Client's Time Zone plugin added 1 new host(s) to the Home page and 1 new host(s) to the sample Post page.

Great! Use Client's Time Zone plugin ads no tables to your Wordpress blog database.

This plugin retrieves the time zone of the client using "Automatic Timezone Detection Using JavaScript" (http://pellepim.bitbucket.org/jstz/) the first time that a client accesses the site, sets a cookie containing the client's time zone on the client, and reloads the page. This cookie is then read by PHP and the date_default_timezone_set() function (requires PHP 5 >= 5.1.0) is used to set the default time zone for PHP scripts. Since it runs just after all of the plugins are loaded, it changes the time zone for all of the PHP that follows. It is useful in cases where one wants users to see certain posts on certain days. E.g., if the post slug contains the day number, like "xyz-daynr," then the post can be specified by "$slug = 'xyz'.date(j);" in a theme template. The cookie does not expire for ten years, but is reset if the user changes time zones. So, unless the user deletes cookies or moves the page reload only occurs once every ten years.

Copyright 2012-2015 M.D. Green, SaeSolved:: LLC

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Eden Fresh screenshot

Eden Fresh

by: codename065

7600
20%
Sandbox screenshot

Sandbox

by: plaintxt.org

108163
80%