<?php

require_once("home.php");

class test extends Home
{

    public function __construct()
    {
        parent::__construct();
    }

    public function index()
    {
      $this->mobile();
    }

    public function desktop()
    {
       $this->load->library("google");
       $this->load->library("site_check");

       echo "<pre>";
      $site_stat=$this->site_check->site_statistic_check("www.facebook.com");
      var_export($site_stat);
       echo "</pre>";
       exit();
       
       // $desktop_result=$this->google->google_page_speed_insight("http://facebook.com","desktop");
      
       $desktop_result=array ( 'kind' => 'pagespeedonline#result', 'id' => 'http://mysitespy.net/', 'responseCode' => 200, 'title' => 'SiteSpy | Complete Visitor & SEO Analytics', 'ruleGroups' => array ( 'SPEED' => array ( 'score' => 51, ), ), 'pageStats' => array ( 'numberResources' => 44, 'numberHosts' => 5, 'totalRequestBytes' => '3293', 'numberStaticResources' => 35, 'htmlResponseBytes' => '41892', 'overTheWireResponeBytes' => '1760405', 'cssResponseBytes' => '319056', 'imageResponseBytes' => '778536', 'javascriptResponseBytes' => '480340', 'otherResponseBytes' => '59015', 'numberJsResources' => 13, 'numberCssResources' => 10, ), 'formattedResults' => array ( 'locale' => 'en_US', 'ruleResults' => array ( 'AvoidLandingPageRedirects' => array ( 'localizedRuleName' => 'Avoid landing page redirects', 'ruleImpact' => 0.0, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Your page has no redirects. Learn more about {{BEGIN_LINK}}avoiding landing page redirects{{END_LINK}}.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/AvoidRedirects', ), ), ), ), 'EnableGzipCompression' => array ( 'localizedRuleName' => 'Enable compression', 'ruleImpact' => 51.932700000000004, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Enable compression{{END_LINK}} for the following resources to reduce their transfer size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/EnableCompression', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '507.2KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '82%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '122.6KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '85%', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/animate.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '65KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '93%', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/slick.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '64.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '83%', ), ), ), ), 3 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '53.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '79%', ), ), ), ), 4 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.mixitup.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '39.9KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '78%', ), ), ), ), 5 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/style.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '35.9KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '82%', ), ), ), ), 6 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '32.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '81%', ), ), ), ), 7 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/font-awesome.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '25.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '80%', ), ), ), ), 8 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.colorbox.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '19.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '69%', ), ), ), ), 9 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/wow.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '11.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '77%', ), ), ), ), 10 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/waypoints.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '10.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '78%', ), ), ), ), 11 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap-progressbar-3.3.4.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '85%', ), ), ), ), 12 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/theme-color/default-theme.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '80%', ), ), ), ), 13 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap-progressbar.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.4KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '74%', ), ), ), ), 14 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/custom.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.2KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '71%', ), ), ), ), 15 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/slick.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '3.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '74%', ), ), ), ), 16 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/colorbox.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '2.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '68%', ), ), ), ), 17 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.counterup.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.6KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '63%', ), ), ), ), ), ), ), ), 'LeverageBrowserCaching' => array ( 'localizedRuleName' => 'Leverage browser caching', 'ruleImpact' => 15.5, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Leverage browser caching{{END_LINK}} for the following cacheable resources:', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/LeverageBrowserCaching', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/animate.css', ), ), ), ), 1 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap-progressbar-3.3.4.css', ), ), ), ), 2 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap.css', ), ), ), ), 3 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/colorbox.css', ), ), ), ), 4 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/font-awesome.css', ), ), ), ), 5 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/slick.css', ), ), ), ), 6 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/theme-color/default-theme.css', ), ), ), ), 7 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/Cover.png', ), ), ), ), 8 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/cover1.png', ), ), ), ), 9 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/facebook.cover.jpg', ), ), ), ), 10 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/logo.png', ), ), ), ), 11 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/saasCover.png', ), ), ), ), 12 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/slider/1.jpg', ), ), ), ), 13 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/slider/2.jpg', ), ), ), ), 14 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/slider/3.jpg', ), ), ), ), 15 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/slider/4.jpg', ), ), ), ), 16 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/smscover.png', ), ), ), ), 17 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/testimonial-1.jpg', ), ), ), ), 18 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/video/what_is_sitespy.png', ), ), ), ), 19 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap-progressbar.js', ), ), ), ), 20 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap.js', ), ), ), ), 21 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/custom.js', ), ), ), ), 22 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.colorbox.js', ), ), ), ), 23 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.counterup.js', ), ), ), ), 24 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.mixitup.js', ), ), ), ), 25 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/slick.js', ), ), ), ), 26 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/waypoints.js', ), ), ), ), 27 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/wow.js', ), ), ), ), 28 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/style.css', ), ), ), ), 29 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://sitespy.webprogrammings.net/js/analytics_js/client.js', ), ), ), ), 30 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://sitespy.webprogrammings.net/js/analytics_js/useragent.js', ), ), ), ), ), ), ), ), 'MainResourceServerResponseTime' => array ( 'localizedRuleName' => 'Reduce server response time', 'ruleImpact' => 3.1499999999999999, 'groups' => array ( 0 => 'SPEED', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => 'In our test, your server responded in {{RESPONSE_TIME}}. There are many factors that can slow down your server response time. {{BEGIN_LINK}}Please read our recommendations{{END_LINK}} to learn how you can monitor and measure where your server is spending the most time.', 'args' => array ( 0 => array ( 'type' => 'DURATION', 'key' => 'RESPONSE_TIME', 'value' => '0.52 seconds', ), 1 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/Server', ), ), ), ), ), ), 'MinifyCss' => array ( 'localizedRuleName' => 'Minify CSS', 'ruleImpact' => 4.6530999999999993, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Compacting CSS code can save many bytes of data and speed up download and parse times.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Minify CSS{{END_LINK}} for the following resources to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/MinifyResources', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '45.4KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '16%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '17KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '12%', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/animate.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '11.9KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '18%', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/style.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '9.1KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '21%', ), ), ), ), 3 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/font-awesome.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '14%', ), ), ), ), 4 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/theme-color/default-theme.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '22%', ), ), ), ), 5 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/slick.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.1KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '24%', ), ), ), ), 6 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/colorbox.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '817B', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '20%', ), ), ), ), ), ), ), ), 'MinifyHTML' => array ( 'localizedRuleName' => 'Minify HTML', 'ruleImpact' => 1.4379000000000002, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Compacting HTML code, including any inline JavaScript and CSS contained in it, can save many bytes of data and speed up download and parse times.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Minify HTML{{END_LINK}} for the following resources to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/MinifyResources', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '14KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '36%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '14KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '36%', ), ), ), ), ), ), ), ), 'MinifyJavaScript' => array ( 'localizedRuleName' => 'Minify JavaScript', 'ruleImpact' => 9.9227000000000007, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Compacting JavaScript code can save many bytes of data and speed up downloading, parsing, and execution time.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Minify JavaScript{{END_LINK}} for the following resources to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/MinifyResources', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '96.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '36%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/slick.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '30.1KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '39%', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '21.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '33%', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.mixitup.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '16.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '32%', ), ), ), ), 3 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.colorbox.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '10KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '36%', ), ), ), ), 4 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/waypoints.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '5.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '44%', ), ), ), ), 5 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/wow.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '30%', ), ), ), ), 6 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/custom.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '3.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '64%', ), ), ), ), 7 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap-progressbar.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '2.4KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '41%', ), ), ), ), 8 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.counterup.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '51%', ), ), ), ), 9 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction) after compression.', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://sitespy.webprogrammings.net/js/analytics_js/client.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '680B', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '28%', ), ), ), ), ), ), ), ), 'MinimizeRenderBlockingResources' => array ( 'localizedRuleName' => 'Eliminate render-blocking JavaScript and CSS in above-the-fold content', 'ruleImpact' => 10.0, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Your page has {{NUM_SCRIPTS}} blocking script resources and {{NUM_CSS}} blocking CSS resources. This causes a delay in rendering your page.', 'args' => array ( 0 => array ( 'type' => 'INT_LITERAL', 'key' => 'NUM_SCRIPTS', 'value' => '2', ), 1 => array ( 'type' => 'INT_LITERAL', 'key' => 'NUM_CSS', 'value' => '10', ), ), ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => 'None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.', ), ), 1 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Remove render-blocking JavaScript{{END_LINK}}:', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/BlockingJS', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', ), ), ), ), 1 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.colorbox.js', ), ), ), ), ), ), 2 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Optimize CSS Delivery{{END_LINK}} of the following:', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/font-awesome.css', ), ), ), ), 1 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap.css', ), ), ), ), 2 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/slick.css', ), ), ), ), 3 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/animate.css', ), ), ), ), 4 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap-progressbar-3.3.4.css', ), ), ), ), 5 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/theme-color/default-theme.css', ), ), ), ), 6 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/style.css', ), ), ), ), 7 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/colorbox.css', ), ), ), ), 8 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'https://fonts.googleapis.com/css?family=Open+Sans', ), ), ), ), 9 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'https://fonts.googleapis.com/css?family=Lato', ), ), ), ), ), ), ), ), 'OptimizeImages' => array ( 'localizedRuleName' => 'Optimize images', 'ruleImpact' => 7.3256000000000006, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Properly formatting and compressing images can save many bytes of data.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Optimize the following images{{END_LINK}} to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/OptimizeImages', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '71.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '28%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/Cover.png', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '27KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '31%', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/smscover.png', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '24.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '25%', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/saasCover.png', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '18.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '32%', ), ), ), ), 3 => array ( 'result' => array ( 'format' => 'Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/logo.png', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.6KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '17%', ), ), ), ), ), ), ), ), 'PrioritizeVisibleContent' => array ( 'localizedRuleName' => 'Prioritize visible content', 'ruleImpact' => 0.0, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'You have the above-the-fold content properly prioritized. Learn more about {{BEGIN_LINK}}prioritizing visible content{{END_LINK}}.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent', ), ), ), ), ), ), 'version' => array ( 'major' => 1, 'minor' => 15, ), );

       echo "<pre>";
       print_r($desktop_result);
       echo "</pre>";

       $responseCode = isset($desktop_result["responseCode"]) ? $desktop_result["responseCode"] : "";
       
       $speed_score        = isset($desktop_result["ruleGroups"]["SPEED"]["score"]) ? $desktop_result["ruleGroups"]["SPEED"]["score"] : "";
       
       $pagestat     = isset($desktop_result["pageStats"]) ? $desktop_result["pageStats"] : array();
       $pagestat     = json_encode($pagestat);
       
       $avoid_landing_page_redirects = array();
       $avoid_landing_page_redirects["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["ruleImpact"] : 0;
       $avoid_landing_page_redirects["redirect_count"] = isset($desktop_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["summary"]["args"]["0"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["summary"]["args"]["0"]["value"] : 0;
       $avoid_landing_page_redirects["urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["urlBlocks"]["0"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["urlBlocks"]["0"]["urls"] : array();
       $avoid_landing_page_redirects=json_encode($avoid_landing_page_redirects);

       $gzip_compression = array();
       $gzip_compression["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["ruleImpact"] : 0;
       $gzip_compression["total_size_compressable"] = isset($desktop_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $gzip_compression["total_percentage_compressable"] = isset($desktop_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $gzip_compression["urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["urls"] : array();
       $gzip_compression=json_encode($gzip_compression);

       $leverage_browser_caching = array();
       $leverage_browser_caching["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["LeverageBrowserCaching"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["LeverageBrowserCaching"]["ruleImpact"] : 0;
       $leverage_browser_caching["urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["LeverageBrowserCaching"]["urlBlocks"]["0"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["LeverageBrowserCaching"]["urlBlocks"]["0"]["urls"] : array();
       $leverage_browser_caching=json_encode($leverage_browser_caching);

       $main_resource_server_response_time = array();
       $main_resource_server_response_time["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["MainResourceServerResponseTime"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["MainResourceServerResponseTime"]["ruleImpact"] : 0;
       $main_resource_server_response_time["response_time"] = isset($desktop_result["formattedResults"]["ruleResults"]["MainResourceServerResponseTime"]["urlBlocks"]["0"]["header"]["args"]["0"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["MainResourceServerResponseTime"]["urlBlocks"]["0"]["header"]["args"]["0"]["value"] : "";
       $main_resource_server_response_time=json_encode($main_resource_server_response_time);

       $minify_css = array();
       $minify_css["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyCss"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyCss"]["ruleImpact"] : 0;
       $minify_css["total_size_minifiable"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $minify_css["total_percentage_minifiable"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $minify_css["urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["urls"] : array();
       $minify_css=json_encode($minify_css);

       $minify_html = array();
       $minify_html["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyHTML"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyHTML"]["ruleImpact"] : 0;
       $minify_html["total_size_minifiable"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $minify_html["total_percentage_minifiable"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $minify_html["urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["urls"] : array();
       $minify_html=json_encode($minify_html);

       $minify_javaScript = array();
       $minify_javaScript["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["ruleImpact"] : 0;
       $minify_javaScript["total_size_minifiable"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $minify_javaScript["total_percentage_minifiable"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $minify_javaScript["urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["urls"] : array();
       $minify_javaScript=json_encode($minify_javaScript);

       $minimize_render_blocking_resources = array();
       $minimize_render_blocking_resources["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["ruleImpact"] : 0;
       $minimize_render_blocking_resources["js_urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["urlBlocks"]["1"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["urlBlocks"]["1"]["urls"] : array();
       $minimize_render_blocking_resources["css_urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["urlBlocks"]["2"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["urlBlocks"]["2"]["urls"] : array();
       $minimize_render_blocking_resources=json_encode($minimize_render_blocking_resources);

       $optimize_images = array();
       $optimize_images["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["OptimizeImages"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["OptimizeImages"]["ruleImpact"] : 0;
       $optimize_images["total_size_optimizable"] = isset($desktop_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $optimize_images["total_percentage_optimizable"] = isset($desktop_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $desktop_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $optimize_images["urls"] = isset($desktop_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["urls"]) ? $desktop_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["urls"] : array();
       $optimize_images=json_encode($optimize_images);

       $prioritize_visible_content = array();
       $prioritize_visible_content["rule_impact"] = isset($desktop_result["formattedResults"]["ruleResults"]["PrioritizeVisibleContent"]["ruleImpact"]) ? $desktop_result["formattedResults"]["ruleResults"]["PrioritizeVisibleContent"]["ruleImpact"] : 0;
       $prioritize_visible_content=json_encode($prioritize_visible_content);
    }

    public function mobile()
    {
       $this->load->library("google");
       
       // $mobile_result=$this->google->google_page_speed_insight("http://fbse.xeroneit.net/","mobile");

       $mobile_result=array ( 'kind' => 'pagespeedonline#result', 'id' => 'http://mysitespy.net/', 'responseCode' => 200, 'title' => 'SiteSpy | Complete Visitor & SEO Analytics', 'ruleGroups' => array ( 'SPEED' => array ( 'score' => 42, ), 'USABILITY' => array ( 'score' => 92, ), ), 'pageStats' => array ( 'numberResources' => 44, 'numberHosts' => 5, 'totalRequestBytes' => '3314', 'numberStaticResources' => 35, 'htmlResponseBytes' => '41892', 'overTheWireResponeBytes' => '1743328', 'cssResponseBytes' => '318992', 'imageResponseBytes' => '778536', 'javascriptResponseBytes' => '480338', 'otherResponseBytes' => '42004', 'numberJsResources' => 13, 'numberCssResources' => 10, ), 'formattedResults' => array ( 'locale' => 'en_US', 'ruleResults' => array ( 'AvoidInterstitials' => array ( 'localizedRuleName' => 'Avoid app install interstitials that hide content', 'ruleImpact' => 0.0, 'groups' => array ( 0 => 'USABILITY', ), 'summary' => array ( 'format' => 'Your page does not appear to have any app install interstitials that hide a significant amount of content. Learn more about the importance of {{BEGIN_LINK}}avoiding the use of app install interstitials{{END_LINK}}.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/webmasters/mobile-sites/mobile-seo/common-mistakes/avoid-interstitials', ), ), ), ), 'AvoidLandingPageRedirects' => array ( 'localizedRuleName' => 'Avoid landing page redirects', 'ruleImpact' => 0.0, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Your page has no redirects. Learn more about {{BEGIN_LINK}}avoiding landing page redirects{{END_LINK}}.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/AvoidRedirects', ), ), ), ), 'AvoidPlugins' => array ( 'localizedRuleName' => 'Avoid plugins', 'ruleImpact' => 0.0, 'groups' => array ( 0 => 'USABILITY', ), 'summary' => array ( 'format' => 'Your page does not appear to use plugins, which would prevent content from being usable on many platforms. Learn more about the importance of {{BEGIN_LINK}}avoiding plugins{{END_LINK}}.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/AvoidPlugins', ), ), ), ), 'ConfigureViewport' => array ( 'localizedRuleName' => 'Configure the viewport', 'ruleImpact' => 0.0, 'groups' => array ( 0 => 'USABILITY', ), 'summary' => array ( 'format' => 'Your page specifies a viewport matching the device\'s size, which allows it to render properly on all devices. Learn more about {{BEGIN_LINK}}configuring viewports{{END_LINK}}.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/ConfigureViewport', ), ), ), ), 'EnableGzipCompression' => array ( 'localizedRuleName' => 'Enable compression', 'ruleImpact' => 51.932700000000004, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Enable compression{{END_LINK}} for the following resources to reduce their transfer size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/EnableCompression', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '507.2KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '82%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '122.6KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '85%', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/animate.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '65KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '93%', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/slick.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '64.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '83%', ), ), ), ), 3 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '53.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '79%', ), ), ), ), 4 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.mixitup.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '39.9KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '78%', ), ), ), ), 5 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/style.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '35.9KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '82%', ), ), ), ), 6 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '32.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '81%', ), ), ), ), 7 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/font-awesome.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '25.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '80%', ), ), ), ), 8 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.colorbox.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '19.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '69%', ), ), ), ), 9 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/wow.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '11.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '77%', ), ), ), ), 10 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/waypoints.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '10.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '78%', ), ), ), ), 11 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap-progressbar-3.3.4.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '85%', ), ), ), ), 12 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/theme-color/default-theme.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '80%', ), ), ), ), 13 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap-progressbar.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.4KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '74%', ), ), ), ), 14 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/custom.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.2KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '71%', ), ), ), ), 15 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/slick.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '3.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '74%', ), ), ), ), 16 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/colorbox.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '2.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '68%', ), ), ), ), 17 => array ( 'result' => array ( 'format' => 'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.counterup.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.6KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '63%', ), ), ), ), ), ), ), ), 'LeverageBrowserCaching' => array ( 'localizedRuleName' => 'Leverage browser caching', 'ruleImpact' => 23.25, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Leverage browser caching{{END_LINK}} for the following cacheable resources:', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/LeverageBrowserCaching', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/animate.css', ), ), ), ), 1 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap-progressbar-3.3.4.css', ), ), ), ), 2 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap.css', ), ), ), ), 3 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/colorbox.css', ), ), ), ), 4 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/font-awesome.css', ), ), ), ), 5 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/slick.css', ), ), ), ), 6 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/theme-color/default-theme.css', ), ), ), ), 7 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/Cover.png', ), ), ), ), 8 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/cover1.png', ), ), ), ), 9 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/facebook.cover.jpg', ), ), ), ), 10 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/logo.png', ), ), ), ), 11 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/saasCover.png', ), ), ), ), 12 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/slider/1.jpg', ), ), ), ), 13 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/slider/2.jpg', ), ), ), ), 14 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/slider/3.jpg', ), ), ), ), 15 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/slider/4.jpg', ), ), ), ), 16 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/smscover.png', ), ), ), ), 17 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/testimonial-1.jpg', ), ), ), ), 18 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/video/what_is_sitespy.png', ), ), ), ), 19 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap-progressbar.js', ), ), ), ), 20 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap.js', ), ), ), ), 21 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/custom.js', ), ), ), ), 22 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.colorbox.js', ), ), ), ), 23 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.counterup.js', ), ), ), ), 24 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.mixitup.js', ), ), ), ), 25 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/slick.js', ), ), ), ), 26 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/waypoints.js', ), ), ), ), 27 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/wow.js', ), ), ), ), 28 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/style.css', ), ), ), ), 29 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://sitespy.webprogrammings.net/js/analytics_js/client.js', ), ), ), ), 30 => array ( 'result' => array ( 'format' => '{{URL}} (expiration not specified)', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://sitespy.webprogrammings.net/js/analytics_js/useragent.js', ), ), ), ), ), ), ), ), 'MainResourceServerResponseTime' => array ( 'localizedRuleName' => 'Reduce server response time', 'ruleImpact' => 4.7249999999999996, 'groups' => array ( 0 => 'SPEED', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => 'In our test, your server responded in {{RESPONSE_TIME}}. There are many factors that can slow down your server response time. {{BEGIN_LINK}}Please read our recommendations{{END_LINK}} to learn how you can monitor and measure where your server is spending the most time.', 'args' => array ( 0 => array ( 'type' => 'DURATION', 'key' => 'RESPONSE_TIME', 'value' => '0.52 seconds', ), 1 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/Server', ), ), ), ), ), ), 'MinifyCss' => array ( 'localizedRuleName' => 'Minify CSS', 'ruleImpact' => 4.6530999999999993, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Compacting CSS code can save many bytes of data and speed up download and parse times.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Minify CSS{{END_LINK}} for the following resources to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/MinifyResources', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '45.4KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '16%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '17KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '12%', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/animate.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '11.9KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '18%', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/style.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '9.1KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '21%', ), ), ), ), 3 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/font-awesome.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '14%', ), ), ), ), 4 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/theme-color/default-theme.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '22%', ), ), ), ), 5 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/slick.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.1KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '24%', ), ), ), ), 6 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/colorbox.css', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '817B', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '20%', ), ), ), ), ), ), ), ), 'MinifyHTML' => array ( 'localizedRuleName' => 'Minify HTML', 'ruleImpact' => 1.4379000000000002, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Compacting HTML code, including any inline JavaScript and CSS contained in it, can save many bytes of data and speed up download and parse times.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Minify HTML{{END_LINK}} for the following resources to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/MinifyResources', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '14KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '36%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '14KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '36%', ), ), ), ), ), ), ), ), 'MinifyJavaScript' => array ( 'localizedRuleName' => 'Minify JavaScript', 'ruleImpact' => 9.9227000000000007, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Compacting JavaScript code can save many bytes of data and speed up downloading, parsing, and execution time.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Minify JavaScript{{END_LINK}} for the following resources to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/MinifyResources', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '96.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '36%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/slick.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '30.1KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '39%', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '21.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '33%', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.mixitup.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '16.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '32%', ), ), ), ), 3 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.colorbox.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '10KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '36%', ), ), ), ), 4 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/waypoints.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '5.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '44%', ), ), ), ), 5 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/wow.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '4.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '30%', ), ), ), ), 6 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/custom.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '3.8KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '64%', ), ), ), ), 7 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap-progressbar.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '2.4KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '41%', ), ), ), ), 8 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.counterup.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '51%', ), ), ), ), 9 => array ( 'result' => array ( 'format' => 'Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction) after compression.', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://sitespy.webprogrammings.net/js/analytics_js/client.js', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '680B', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '28%', ), ), ), ), ), ), ), ), 'MinimizeRenderBlockingResources' => array ( 'localizedRuleName' => 'Eliminate render-blocking JavaScript and CSS in above-the-fold content', 'ruleImpact' => 40.0, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Your page has {{NUM_SCRIPTS}} blocking script resources and {{NUM_CSS}} blocking CSS resources. This causes a delay in rendering your page.', 'args' => array ( 0 => array ( 'type' => 'INT_LITERAL', 'key' => 'NUM_SCRIPTS', 'value' => '12', ), 1 => array ( 'type' => 'INT_LITERAL', 'key' => 'NUM_CSS', 'value' => '10', ), ), ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => 'None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.', ), ), 1 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Remove render-blocking JavaScript{{END_LINK}}:', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/BlockingJS', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', ), ), ), ), 1 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.colorbox.js', ), ), ), ), 2 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js', ), ), ), ), 3 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap.js', ), ), ), ), 4 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/slick.js', ), ), ), ), 5 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.mixitup.js', ), ), ), ), 6 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/waypoints.js', ), ), ), ), 7 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/jquery.counterup.js', ), ), ), ), 8 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/wow.js', ), ), ), ), 9 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/bootstrap-progressbar.js', ), ), ), ), 10 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/js/custom.js', ), ), ), ), 11 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://sitespy.webprogrammings.net/js/analytics_js/client.js', ), ), ), ), ), ), 2 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Optimize CSS Delivery{{END_LINK}} of the following:', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/font-awesome.css', ), ), ), ), 1 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap.css', ), ), ), ), 2 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/slick.css', ), ), ), ), 3 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/animate.css', ), ), ), ), 4 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/bootstrap-progressbar-3.3.4.css', ), ), ), ), 5 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/theme-color/default-theme.css', ), ), ), ), 6 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/style.css', ), ), ), ), 7 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/css/colorbox.css', ), ), ), ), 8 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'https://fonts.googleapis.com/css?family=Open+Sans', ), ), ), ), 9 => array ( 'result' => array ( 'format' => '{{URL}}', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'https://fonts.googleapis.com/css?family=Lato', ), ), ), ), ), ), ), ), 'OptimizeImages' => array ( 'localizedRuleName' => 'Optimize images', 'ruleImpact' => 7.3256000000000006, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Properly formatting and compressing images can save many bytes of data.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => '{{BEGIN_LINK}}Optimize the following images{{END_LINK}} to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/OptimizeImages', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '71.5KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '28%', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/Cover.png', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '27KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '31%', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/smscover.png', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '24.3KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '25%', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/saasCover.png', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '18.7KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '32%', ), ), ), ), 3 => array ( 'result' => array ( 'format' => 'Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).', 'args' => array ( 0 => array ( 'type' => 'URL', 'key' => 'URL', 'value' => 'http://mysitespy.net/assets/images/logo.png', ), 1 => array ( 'type' => 'BYTES', 'key' => 'SIZE_IN_BYTES', 'value' => '1.6KiB', ), 2 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '17%', ), ), ), ), ), ), ), ), 'PrioritizeVisibleContent' => array ( 'localizedRuleName' => 'Prioritize visible content', 'ruleImpact' => 8.0, 'groups' => array ( 0 => 'SPEED', ), 'summary' => array ( 'format' => 'Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.', ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => 'The entire HTML response was not sufficient to render the above-the-fold content. This usually indicates that additional resources, loaded after HTML parsing, were required to render above-the-fold content. {{BEGIN_LINK}}Prioritize visible content{{END_LINK}} that is needed for rendering above-the-fold by including it directly in the HTML response.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent', ), ), ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'Only about {{PERCENTAGE}} of the final above-the-fold content could be rendered with the full HTML response {{SCREENSHOT}}.', 'args' => array ( 0 => array ( 'type' => 'PERCENTAGE', 'key' => 'PERCENTAGE', 'value' => '61%', ), 1 => array ( 'type' => 'SNAPSHOT_RECT', 'key' => 'SCREENSHOT', 'value' => 'snapshot:24', ), ), ), ), ), ), ), ), 'SizeContentToViewport' => array ( 'localizedRuleName' => 'Size content to viewport', 'ruleImpact' => 0.0, 'groups' => array ( 0 => 'USABILITY', ), 'summary' => array ( 'format' => 'The contents of your page fit within the viewport. Learn more about {{BEGIN_LINK}}sizing content to the viewport{{END_LINK}}.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/SizeContentToViewport', ), ), ), ), 'SizeTapTargetsAppropriately' => array ( 'localizedRuleName' => 'Size tap targets appropriately', 'ruleImpact' => 6.8027210884353737, 'groups' => array ( 0 => 'USABILITY', ), 'summary' => array ( 'format' => 'Some of the links/buttons on your webpage may be too small for a user to easily tap on a touchscreen. Consider {{BEGIN_LINK}}making these tap targets larger{{END_LINK}} to provide a better user experience.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/SizeTapTargetsAppropriately', ), ), ), 'urlBlocks' => array ( 0 => array ( 'header' => array ( 'format' => 'The following tap targets are close to other nearby tap targets and may need additional spacing around them.', ), 'urls' => array ( 0 => array ( 'result' => array ( 'format' => 'The tap target {{HTML_TEXT}} and {{NUM_OTHERS}} others are close to other tap targets.', 'args' => array ( 0 => array ( 'type' => 'STRING_LITERAL', 'key' => 'HTML_TEXT', 'value' => '', ), 1 => array ( 'type' => 'INT_LITERAL', 'key' => 'NUM_OTHERS', 'value' => '1', ), ), ), ), 1 => array ( 'result' => array ( 'format' => 'The tap target {{HTML_TEXT}} and {{NUM_OTHERS}} others are close to other tap targets.', 'args' => array ( 0 => array ( 'type' => 'STRING_LITERAL', 'key' => 'HTML_TEXT', 'value' => '1', ), 1 => array ( 'type' => 'INT_LITERAL', 'key' => 'NUM_OTHERS', 'value' => '3', ), ), ), ), 2 => array ( 'result' => array ( 'format' => 'The tap target {{HTML_TEXT}} and {{NUM_OTHERS}} others are close to other tap targets.', 'args' => array ( 0 => array ( 'type' => 'STRING_LITERAL', 'key' => 'HTML_TEXT', 'value' => '', ), 1 => array ( 'type' => 'INT_LITERAL', 'key' => 'NUM_OTHERS', 'value' => '3', ), ), ), ), ), ), ), ), 'UseLegibleFontSizes' => array ( 'localizedRuleName' => 'Use legible font sizes', 'ruleImpact' => 0.0, 'groups' => array ( 0 => 'USABILITY', ), 'summary' => array ( 'format' => 'The text on your page is legible. Learn more about {{BEGIN_LINK}}using legible font sizes{{END_LINK}}.', 'args' => array ( 0 => array ( 'type' => 'HYPERLINK', 'key' => 'LINK', 'value' => 'https://developers.google.com/speed/docs/insights/UseLegibleFontSizes', ), ), ), ), ), ), 'version' => array ( 'major' => 1, 'minor' => 15, ), );

       echo "<pre>";
       print_r($mobile_result);
       echo "</pre>";

       $response_code_mobile = isset($mobile_result["responseCode"]) ? $mobile_result["responseCode"] : "";
       
       $speed_score_mobile   = isset($mobile_result["ruleGroups"]["SPEED"]["score"]) ? $mobile_result["ruleGroups"]["SPEED"]["score"] : "";
       
       $speed_usability_mobile   = isset($mobile_result["ruleGroups"]["USABILITY"]["score"]) ? $mobile_result["ruleGroups"]["USABILITY"]["score"] : "";
       
       $pagestat_mobile     = isset($mobile_result["pageStats"]) ? $mobile_result["pageStats"] : array();
       $pagestat_mobile     = json_encode($pagestat_mobile);
       
       $avoid_interstitials_mobile = array();
       $avoid_interstitials_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidInterstitials"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidInterstitials"]["ruleImpact"] : 0;
       $avoid_interstitials_mobile["app_count"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidInterstitials"]["summary"]["args"]["0"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidInterstitials"]["summary"]["args"]["0"]["value"] : 0;
       $avoid_interstitials_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidInterstitials"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidInterstitials"]["urlBlocks"]["0"]["urls"] : array();
       $avoid_interstitials_mobile=json_encode($avoid_interstitials_mobile);

       $avoid_plugins_mobile = array();
       $avoid_plugins_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidPlugins"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidPlugins"]["ruleImpact"] : 0;
       $avoid_plugins_mobile["plugin_count"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidPlugins"]["summary"]["args"]["0"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidPlugins"]["summary"]["args"]["0"]["value"] : 0;
       $avoid_plugins_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidPlugins"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidPlugins"]["urlBlocks"]["0"]["urls"] : array();
       $avoid_plugins_mobile=json_encode($avoid_plugins_mobile);

       $configure_viewport_mobile = array();
       $configure_viewport_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["ConfigureViewport"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["ConfigureViewport"]["ruleImpact"] : 0;
       $configure_viewport_mobile=json_encode($configure_viewport_mobile);

       $size_content_to_viewport_mobile = array();
       $size_content_to_viewport_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["SizeContentToViewport"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["SizeContentToViewport"]["ruleImpact"] : 0;
       $size_content_to_viewport_mobile["content_width"] = isset($mobile_result["formattedResults"]["ruleResults"]["SizeContentToViewport"]["urlBlocks"]["0"]["header"]["args"]["0"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["SizeContentToViewport"]["urlBlocks"]["0"]["header"]["args"]["0"]["value"] : "";
       $size_content_to_viewport_mobile["viewport_width"] = isset($mobile_result["formattedResults"]["ruleResults"]["SizeContentToViewport"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["SizeContentToViewport"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $size_content_to_viewport_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["SizeContentToViewport"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["SizeContentToViewport"]["urlBlocks"]["0"]["urls"] : array();
       $size_content_to_viewport_mobile=json_encode($size_content_to_viewport_mobile);

       $size_tap_targets_appropriately_mobile = array();
       $size_tap_targets_appropriately_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["SizeTapTargetsAppropriately"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["SizeTapTargetsAppropriately"]["ruleImpact"] : 0;
       $size_tap_targets_appropriately_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["SizeTapTargetsAppropriately"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["SizeTapTargetsAppropriately"]["urlBlocks"]["0"]["urls"] : array();
       $size_tap_targets_appropriately_mobile=json_encode($size_tap_targets_appropriately_mobile);

       $use_legible_font_sizes_mobile = array();
       $use_legible_font_sizes_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["UseLegibleFontSizes"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["UseLegibleFontSizes"]["ruleImpact"] : 0;
       $use_legible_font_sizes_mobile=json_encode($use_legible_font_sizes_mobile);

       $avoid_landing_page_redirects_mobile = array();
       $avoid_landing_page_redirects_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["ruleImpact"] : 0;
       $avoid_landing_page_redirects_mobile["redirect_count"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["summary"]["args"]["0"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["summary"]["args"]["0"]["value"] : 0;
       $avoid_landing_page_redirects_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["AvoidLandingPageRedirects"]["urlBlocks"]["0"]["urls"] : array();
       $avoid_landing_page_redirects_mobile=json_encode($avoid_landing_page_redirects_mobile);

       $gzip_compression_mobile = array();
       $gzip_compression_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["ruleImpact"] : 0;
       $gzip_compression_mobile["total_size_compressable"] = isset($mobile_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $gzip_compression_mobile["total_percentage_compressable"] = isset($mobile_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $gzip_compression_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["EnableGzipCompression"]["urlBlocks"]["0"]["urls"] : array();
       $gzip_compression_mobile=json_encode($gzip_compression_mobile);

       $leverage_browser_caching_mobile = array();
       $leverage_browser_caching_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["LeverageBrowserCaching"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["LeverageBrowserCaching"]["ruleImpact"] : 0;
       $leverage_browser_caching_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["LeverageBrowserCaching"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["LeverageBrowserCaching"]["urlBlocks"]["0"]["urls"] : array();
       $leverage_browser_caching_mobile=json_encode($leverage_browser_caching_mobile);

       $main_resource_server_response_time_mobile = array();
       $main_resource_server_response_time_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["MainResourceServerResponseTime"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["MainResourceServerResponseTime"]["ruleImpact"] : 0;
       $main_resource_server_response_time_mobile["response_time"] = isset($mobile_result["formattedResults"]["ruleResults"]["MainResourceServerResponseTime"]["urlBlocks"]["0"]["header"]["args"]["0"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["MainResourceServerResponseTime"]["urlBlocks"]["0"]["header"]["args"]["0"]["value"] : "";
       $main_resource_server_response_time_mobile=json_encode($main_resource_server_response_time_mobile);

       $minify_css_mobile = array();
       $minify_css_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyCss"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyCss"]["ruleImpact"] : 0;
       $minify_css_mobile["total_size_minifiable"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $minify_css_mobile["total_percentage_minifiable"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $minify_css_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyCss"]["urlBlocks"]["0"]["urls"] : array();
       $minify_css_mobile=json_encode($minify_css_mobile);

       $minify_html_mobile = array();
       $minify_html_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyHTML"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyHTML"]["ruleImpact"] : 0;
       $minify_html_mobile["total_size_minifiable"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $minify_html_mobile["total_percentage_minifiable"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $minify_html_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyHTML"]["urlBlocks"]["0"]["urls"] : array();
       $minify_html_mobile=json_encode($minify_html_mobile);

       $minify_javaScript_mobile = array();
       $minify_javaScript_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["ruleImpact"] : 0;
       $minify_javaScript_mobile["total_size_minifiable"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $minify_javaScript_mobile["total_percentage_minifiable"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $minify_javaScript_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinifyJavaScript"]["urlBlocks"]["0"]["urls"] : array();
       $minify_javaScript_mobile=json_encode($minify_javaScript_mobile);

       $minimize_render_blocking_resources_mobile = array();
       $minimize_render_blocking_resources_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["ruleImpact"] : 0;
       $minimize_render_blocking_resources_mobile["js_urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["urlBlocks"]["1"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["urlBlocks"]["1"]["urls"] : array();
       $minimize_render_blocking_resources_mobile["css_urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["urlBlocks"]["2"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["MinimizeRenderBlockingResources"]["urlBlocks"]["2"]["urls"] : array();
       $minimize_render_blocking_resources_mobile=json_encode($minimize_render_blocking_resources_mobile);

       $optimize_images_mobile = array();
       $optimize_images_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["OptimizeImages"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["OptimizeImages"]["ruleImpact"] : 0;
       $optimize_images_mobile["total_size_optimizable"] = isset($mobile_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["header"]["args"]["1"]["value"] : "";
       $optimize_images_mobile["total_percentage_optimizable"] = isset($mobile_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"]) ? $mobile_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["header"]["args"]["2"]["value"] : "";
       $optimize_images_mobile["urls"] = isset($mobile_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["urls"]) ? $mobile_result["formattedResults"]["ruleResults"]["OptimizeImages"]["urlBlocks"]["0"]["urls"] : array();
       $optimize_images_mobile=json_encode($optimize_images_mobile);

       $prioritize_visible_content_mobile = array();
       $prioritize_visible_content_mobile["rule_impact"] = isset($mobile_result["formattedResults"]["ruleResults"]["PrioritizeVisibleContent"]["ruleImpact"]) ? $mobile_result["formattedResults"]["ruleResults"]["PrioritizeVisibleContent"]["ruleImpact"] : 0;
       $prioritize_visible_content_mobile=json_encode($prioritize_visible_content_mobile);
    }
    
    
}
