Speed Booster Pack - Version 2.3

Version Description

  • Added option to exclude certain CSS files from being loaded asynchronously.
  • Changed the position of the styles when they are inlined to the footer (before js files).
  • Added an experimental option to eliminate flash of unstyled content (FOUC) when all CSS styles are inlined to the footer.
  • Translations updated.
Download this release

Release Info

Developer tiguan
Plugin Icon 128x128 Speed Booster Pack
Version 2.3
Comparing to
See all releases

Code changes from version 2.2 to 2.3

css/sbp_style.min.css CHANGED
@@ -1 +1 @@
1
- .wrap .sb-pack .welcome-panel .welcome-panel-column:first-child{display:block!important}.wrap .sb-pack .welcome-panel h4{margin:1.33em 0 20px}.wrap .sb-pack .sbp-title-div{height:50px;clear:both}.wrap .sb-pack .sbp-amount{background-color:transparent;border:medium none;box-shadow:none;font-size:16px}.wrap .sb-pack .sbp-slider{width:40%}.wrap .sb-pack p{color:#464646;line-height:1.6}.wrap .sb-pack .debug-info{margin-top:19px;border:1px solid #1A9E51;padding:7px 10px;background-color:#2DCB73;color:#FFF;font-size:16px;text-shadow:1px 1px #1A9E51}.wrap .sb-pack .td-margin{margin:1.5em 0}.wrap .sb-pack .td-border{border-bottom:1px solid #E1E1E1;margin:4em 0 3em}.wrap .sb-pack .td-border-last{border-bottom:1px solid #E1E1E1;margin:1.5em 0}.wrap .sb-pack .sbp-radio-content{display:block}.wrap .sb-pack .sbp-radio-content label{display:block!important}.wrap .sb-pack .sbp-box hr{margin-left:70px}.wrap .sb-pack .sbp-1{padding-top:10px}.wrap .sb-pack .sbp-2{padding-bottom:15px}.wrap .sb-pack .sbp-3{padding-top:5px}.wrap .sb-pack .sbp-title-div .sbp-title{font-size:23px;font-weight:300;line-height:26px;padding-top:16px;padding-right:15px;display:block;float:left}.wrap .sb-pack .sbp-box{background:#fff;border:1px solid #E5E5E5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:15px;margin-bottom:15px;position:relative;overflow:hidden}.wrap .sb-pack .sbp-box p{margin:5px 0 5px 70px;color:#777}.wrap .sb-pack .sbp-infos{display:block;margin:0 auto;padding-left:70px;font-weight:700;color:#777}.wrap .sb-pack .sbp-infos span{color:#777;font-weight:400}.wrap .sb-pack .sbp-infos-title{font-weight:700;color:#777}.wrap .sb-pack .sbp-box-legend,.wrap .sb-pack .sbp-box-version{position:absolute;left:0;top:0;height:100%}.wrap .sb-pack .sbp-box-version{background:none repeat scroll 0 0 #80828F;padding:20px 15px}.wrap .sb-pack .sbp-box-legend{background:none repeat scroll 0 0 #FCC500;padding:15px}.wrap .sb-pack .sbp-box-legend:hover{background-color:#F39C12}.wrap .sb-pack .sbp-box-version:hover{background-color:#6C6E79}.wrap .sb-pack .sbp-icon-help,.wrap .sb-pack .sbp-icon-version{color:#FFF;font-size:25px}.wrap .sb-pack .sbp-icon:before{content:"\f185";display:inline-block;-webkit-font-smoothing:antialiased;font:400 36px/0.7 dashicons;vertical-align:top;color:#FA5148;padding-right:5px}.wrap .sb-pack label{display:inline-block;cursor:pointer;position:relative;padding-left:35px;font-size:16px}.wrap .sb-pack label:before{content:"\2717";font-size:16px;-webkit-font-smoothing:antialiased;text-align:center;color:#fff;display:inline-block;width:26px;height:26px;margin-right:10px;position:absolute;left:0;background:#C9D6E2;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);border:1px solid #B2BFCA}.wrap .sb-pack input[type=checkbox],.wrap .sb-pack input[type=radio]{display:none}.wrap .sb-pack input[type=checkbox]:checked+label:before{content:"\2714";background:#2DCB73;text-shadow:1px 1px 1px #148D44;border:1px solid #1A9E51;font-size:16px;-webkit-font-smoothing:antialiased;color:#fff;text-align:center}.wrap .sb-pack .sbp-icon-version:before{content:"\f348";display:inline-block;-webkit-font-smoothing:antialiased;font:400 30px/1 dashicons;vertical-align:top}.wrap .sb-pack .sbp-icon-help:before{content:"\f123";display:inline-block;-webkit-font-smoothing:antialiased;font:400 30px/1 dashicons;vertical-align:top}.wrap .sb-pack .sbp-stats{font-size:16px;line-height:1.5}.wrap .sb-pack .ui-widget-content .ui-state-default,.wrap .sb-pack .ui-widget-header .ui-state-default,.wrap .sb-pack.ui-state-default{border:1px solid #1A9E51;background-color:#2DCB73;font-weight:400;color:#555;outline:0 none;cursor:pointer}.wrap .sb-pack .ui-state-default:before,.wrap .sb-pack .ui-widget-content .ui-state-default:before,.wrap .sb-pack .ui-widget-header .ui-state-default:before{content:"\2630";display:inline-block;-webkit-font-smoothing:antialiased;color:#fff;font-weight:700;text-shadow:0 1px #1A9E51}.wrap .sb-pack .ui-state-default a,.wrap .sb-pack .ui-state-default a:link,.wrap .sb-pack .ui-state-default a:visited{color:#fff;text-decoration:none}.wrap .sb-pack .ui-state-focus,.wrap .sb-pack .ui-state-hover,.wrap .sb-pack .ui-widget-content .ui-state-focus,.wrap .sb-pack .ui-widget-content .ui-state-hover,.wrap .sb-pack .ui-widget-header .ui-state-focus,.wrap .sb-pack .ui-widget-header .ui-state-hover{background:#3CE281}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-left,.wrap .sb-pack .ui-corner-tl,.wrap .sb-pack .ui-corner-top{border-top-left-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-right,.wrap .sb-pack .ui-corner-top,.wrap .sb-pack .ui-corner-tr{border-top-right-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-bottom,.wrap .sb-pack .ui-corner-br,.wrap .sb-pack .ui-corner-right{border-bottom-right-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-bl,.wrap .sb-pack .ui-corner-bottom,.wrap .sb-pack .ui-corner-left{border-bottom-left-radius:0}.wrap .sb-pack .ui-slider-horizontal{height:1.3em}.wrap .sb-pack .ui-slider .ui-slider-handle{width:1.8em;height:1.8em;cursor:pointer;text-align:center}.wrap .sb-pack .ui-widget-content{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);border:1px solid #B2BFCA;background:#F1F2F7;color:#222}.wrap .sb-pack .sbp-progress.queries,.wrap .sb-pack .sbp-progress.time{height:30px;width:77%;display:inline-block;position:relative;background-color:#F1F2F7;overflow:hidden;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.wrap .sbp-progress.queries>span,.wrap .sbp-progress.time>span{background-color:#7EDBA5;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#7EDBA5),color-stop(1,#2DCB73));background-image:-webkit-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-moz-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-ms-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-o-linear-gradient(top,#7EDBA5,#f36d0a);color:#fff;width:0;max-width:98%;float:left;display:block;height:100%;position:relative;overflow:hidden}.wrap .sb-pack .sbp-progress.time>span{-webkit-animation:progress-bar-time 2s 1 forwards;-moz-animation:progress-bar-time 2s 1 forwards;-ms-animation:progress-bar-time 2s 1 forwards;-o-animation:progress-bar-time 2s 1 forwards;animation:progress-bar-time 2s 1 forwards}.wrap .sb-pack .sbp-progress.queries>span{-webkit-animation:progress-bar-queries 2s 1 forwards;-moz-animation:progress-bar-queries 2s 1 forwards;-ms-animation:progress-bar-queries 2s 1 forwards;-o-animation:progress-bar-queries 2s 1 forwards;animation:progress-bar-queries 2s 1 forwards}.wrap .sb-pack .sbp-values{float:right;padding:0 5px;background-color:#1AB4EF;color:#fff;width:18%;height:30px;line-height:30px;text-align:center;text-shadow:0 -2px #1AB4EF}.wrap .sb-pack .sbp-numbers{-webkit-animation:opacity 2s;-moz-animation:opacity 2s;-ms-animation:opacity 2s;-o-animation:opacity 2s;animation:opacity 2s;transition-delay:2s;-moz-transition-delay:2s;-webkit-transition-delay:2s;-o-transition-delay:2s;font-size:16px}@keyframes opacity{from{opacity:0}to{opacity:1}}@-moz-keyframes opacity{from{opacity:0}to{opacity:1}}@-webkit-keyframes opacity{from{opacity:0}to{opacity:1}}@-ms-keyframes opacity{from{opacity:0}to{opacity:1}}@-o-keyframes opacity{from{opacity:0}to{opacity:1}}
1
+ .wrap .sb-pack .welcome-panel .welcome-panel-column:first-child{display:block!important}.wrap .sb-pack .welcome-panel h4{margin:1.33em 0 20px}@media screen and (max-width:783px){.wrap .sb-pack input.regular-text{width:14em}}@media screen and (min-width:784px){.wrap .sb-pack input.regular-text{width:45em}}.wrap .sb-pack .sbp-inline-wrap{display:inline-block;margin-right:10px;vertical-align:top}.wrap .sb-pack .sbp-col2{display:inline-block;vertical-align:top}.wrap .sb-pack .sbp-title-div{height:50px;clear:both}.wrap .sb-pack .sbp-amount{background-color:transparent;border:none;box-shadow:none;font-size:16px}.wrap .sb-pack .sbp-slider{width:40%}.wrap .sb-pack p{color:#464646;line-height:1.6}.wrap .sb-pack .debug-info{margin-top:19px;border:1px solid #1A9E51;padding:7px 10px;background-color:#2DCB73;color:#FFF;font-size:16px;text-shadow:1px 1px #1A9E51}.wrap .sb-pack .td-margin{margin:1.5em 0}.wrap .sb-pack .td-border{border-bottom:1px solid #E1E1E1;margin:4em 0 3em}.wrap .sb-pack .td-border-last{border-bottom:1px solid #E1E1E1;margin:1.5em 0}.wrap .sb-pack .sbp-radio-content{display:block}.wrap .sb-pack .sbp-radio-content label{display:block!important}.wrap .sb-pack .sbp-box hr{margin-left:70px}.wrap .sb-pack .sbp-1{padding-top:10px}.wrap .sb-pack .sbp-2{padding-bottom:15px}.wrap .sb-pack .sbp-3{padding-top:5px}.wrap .sb-pack .sbp-title-div .sbp-title{font-size:23px;font-weight:300;line-height:26px;padding-top:16px;padding-right:15px;display:block;float:left}.wrap .sb-pack .sbp-box{background:#fff;border:1px solid #E5E5E5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:15px;margin-bottom:15px;position:relative;overflow:hidden}.wrap .sb-pack .sbp-box p{margin:5px 0 5px 70px;color:#777}.wrap .sb-pack .sbp-infos{display:block;margin:0 auto;padding-left:70px;font-weight:700;color:#777}.wrap .sb-pack .sbp-infos span{color:#777;font-weight:400}.wrap .sb-pack .sbp-infos-title{font-weight:700;color:#777}.wrap .sb-pack .sbp-box-legend,.wrap .sb-pack .sbp-box-version{position:absolute;left:0;top:0;height:100%}.wrap .sb-pack .sbp-box-version{background:none repeat scroll 0 0 #80828F;padding:20px 15px}.wrap .sb-pack .sbp-box-legend{background:none repeat scroll 0 0 #FCC500;padding:15px}.wrap .sb-pack .sbp-box-legend:hover{background-color:#F39C12}.wrap .sb-pack .sbp-box-version:hover{background-color:#6C6E79}.wrap .sb-pack .sbp-icon-help,.wrap .sb-pack .sbp-icon-version{color:#FFF;font-size:25px}.wrap .sb-pack .sbp-icon:before{content:"\f185";display:inline-block;-webkit-font-smoothing:antialiased;font:400 36px/0.7 dashicons;vertical-align:top;color:#FA5148;padding-right:5px}.wrap .sb-pack .sbp-icon-information:before{content:"\f348";display:inline-block;-webkit-font-smoothing:antialiased;font:400 28px/1 dashicons;vertical-align:top;color:#C9D6E2;padding-right:5px}.wrap .sb-pack label{display:inline-block;cursor:pointer;position:relative;padding-left:35px;font-size:16px}.wrap .sb-pack label:before{content:"\2717";font-size:16px;-webkit-font-smoothing:antialiased;text-align:center;color:#fff;display:inline-block;width:26px;height:26px;margin-right:10px;position:absolute;left:0;background:#C9D6E2;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);border:1px solid #B2BFCA}.wrap .sb-pack input[type=checkbox],.wrap .sb-pack input[type=radio]{display:none}.wrap .sb-pack input[type=checkbox]:checked+label:before{content:"\2714";background:#2DCB73;text-shadow:1px 1px 1px #148D44;border:1px solid #1A9E51;font-size:16px;-webkit-font-smoothing:antialiased;color:#fff;text-align:center}.wrap .sb-pack .sbp-icon-version:before{content:"\f348";display:inline-block;-webkit-font-smoothing:antialiased;font:400 30px/1 dashicons;vertical-align:top}.wrap .sb-pack .sbp-icon-help:before{content:"\f123";display:inline-block;-webkit-font-smoothing:antialiased;font:400 30px/1 dashicons;vertical-align:top}.wrap .sb-pack .sbp-stats{font-size:16px;line-height:1.5}.wrap .sb-pack .ui-widget-content .ui-state-default,.wrap .sb-pack .ui-widget-header .ui-state-default,.wrap .sb-pack.ui-state-default{border:1px solid #1A9E51;background-color:#2DCB73;font-weight:400;color:#555;outline:0;cursor:pointer}.wrap .sb-pack .ui-state-default:before,.wrap .sb-pack .ui-widget-content .ui-state-default:before,.wrap .sb-pack .ui-widget-header .ui-state-default:before{content:"\2630";display:inline-block;-webkit-font-smoothing:antialiased;color:#fff;font-weight:700;text-shadow:0 1px #1A9E51}.wrap .sb-pack .ui-state-default a,.wrap .sb-pack .ui-state-default a:link,.wrap .sb-pack .ui-state-default a:visited{color:#fff;text-decoration:none}.wrap .sb-pack .ui-state-focus,.wrap .sb-pack .ui-state-hover,.wrap .sb-pack .ui-widget-content .ui-state-focus,.wrap .sb-pack .ui-widget-content .ui-state-hover,.wrap .sb-pack .ui-widget-header .ui-state-focus,.wrap .sb-pack .ui-widget-header .ui-state-hover{background:#3CE281}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-left,.wrap .sb-pack .ui-corner-tl,.wrap .sb-pack .ui-corner-top{border-top-left-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-right,.wrap .sb-pack .ui-corner-top,.wrap .sb-pack .ui-corner-tr{border-top-right-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-bottom,.wrap .sb-pack .ui-corner-br,.wrap .sb-pack .ui-corner-right{border-bottom-right-radius:0}.wrap .sb-pack .ui-corner-all,.wrap .sb-pack .ui-corner-bl,.wrap .sb-pack .ui-corner-bottom,.wrap .sb-pack .ui-corner-left{border-bottom-left-radius:0}.wrap .sb-pack .ui-slider-horizontal{height:1.3em}.wrap .sb-pack .ui-slider .ui-slider-handle{width:1.8em;height:1.8em;cursor:pointer;text-align:center}.wrap .sb-pack .ui-widget-content{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);border:1px solid #B2BFCA;background:#F1F2F7;color:#222}.wrap .sb-pack .sbp-progress.queries,.wrap .sb-pack .sbp-progress.time{height:30px;width:77%;display:inline-block;position:relative;background-color:#F1F2F7;overflow:hidden;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.wrap .sbp-progress.queries>span,.wrap .sbp-progress.time>span{background-color:#7EDBA5;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#7EDBA5),color-stop(1,#2DCB73));background-image:-webkit-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-moz-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-ms-linear-gradient(top,#7EDBA5,#2DCB73);background-image:-o-linear-gradient(top,#7EDBA5,#f36d0a);color:#fff;width:0;max-width:98%;float:left;display:block;height:100%;position:relative;overflow:hidden}.wrap .sb-pack .sbp-progress.time>span{-webkit-animation:progress-bar-time 2s 1 forwards;-moz-animation:progress-bar-time 2s 1 forwards;-ms-animation:progress-bar-time 2s 1 forwards;-o-animation:progress-bar-time 2s 1 forwards;animation:progress-bar-time 2s 1 forwards}.wrap .sb-pack .sbp-progress.queries>span{-webkit-animation:progress-bar-queries 2s 1 forwards;-moz-animation:progress-bar-queries 2s 1 forwards;-ms-animation:progress-bar-queries 2s 1 forwards;-o-animation:progress-bar-queries 2s 1 forwards;animation:progress-bar-queries 2s 1 forwards}.wrap .sb-pack .sbp-values{float:right;padding:0 5px;background-color:#1AB4EF;color:#fff;width:18%;height:30px;line-height:30px;text-align:center;text-shadow:0 -2px #1AB4EF}.wrap .sb-pack .sbp-numbers{-webkit-animation:opacity 2s;-moz-animation:opacity 2s;-ms-animation:opacity 2s;-o-animation:opacity 2s;animation:opacity 2s;transition-delay:2s;-moz-transition-delay:2s;-webkit-transition-delay:2s;-o-transition-delay:2s;font-size:16px}@keyframes opacity{from{opacity:0}to{opacity:1}}@-moz-keyframes opacity{from{opacity:0}to{opacity:1}}@-webkit-keyframes opacity{from{opacity:0}to{opacity:1}}@-ms-keyframes opacity{from{opacity:0}to{opacity:1}}@-o-keyframes opacity{from{opacity:0}to{opacity:1}}
css/style.dev.css CHANGED
@@ -6,6 +6,29 @@
6
  margin: 1.33em 0 20px;
7
  }
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  .wrap .sb-pack .sbp-title-div {
10
  height: 50px;
11
  clear: both;
@@ -159,6 +182,16 @@
159
  padding-right: 5px;
160
  }
161
 
 
 
 
 
 
 
 
 
 
 
162
  .wrap .sb-pack label {
163
  display: inline-block;
164
  cursor: pointer;
6
  margin: 1.33em 0 20px;
7
  }
8
 
9
+ @media screen and (max-width: 783px) {
10
+ .wrap .sb-pack input.regular-text {
11
+ width: 14em;
12
+ }
13
+ }
14
+
15
+ @media screen and (min-width: 784px) {
16
+ .wrap .sb-pack input.regular-text {
17
+ width: 45em;
18
+ }
19
+ }
20
+
21
+ .wrap .sb-pack .sbp-inline-wrap {
22
+ display: inline-block;
23
+ margin-right: 10px;
24
+ vertical-align: top;
25
+ }
26
+
27
+ .wrap .sb-pack .sbp-col2 {
28
+ display: inline-block;
29
+ vertical-align: top;
30
+ }
31
+
32
  .wrap .sb-pack .sbp-title-div {
33
  height: 50px;
34
  clear: both;
182
  padding-right: 5px;
183
  }
184
 
185
+ .wrap .sb-pack .sbp-icon-information:before {
186
+ content: "\f348";
187
+ display: inline-block;
188
+ -webkit-font-smoothing: antialiased;
189
+ font: normal 28px/1 'dashicons';
190
+ vertical-align: top;
191
+ color: #C9D6E2;
192
+ padding-right: 5px;
193
+ }
194
+
195
  .wrap .sb-pack label {
196
  display: inline-block;
197
  cursor: pointer;
inc/core.php CHANGED
@@ -11,7 +11,8 @@ if( !class_exists( 'Speed_Booster_Pack_Core' ) ) {
11
  public function __construct() {
12
 
13
  global $sbp_options;
14
-
 
15
  add_action( 'wp_enqueue_scripts', array( $this, 'sbp_no_more_fontawesome'), 9999 );
16
  add_action( 'wp_enqueue_scripts', array( $this, 'sbp_move_scripts_to_footer' ) );
17
  add_action( 'wp_footer', array( $this, 'sbp_show_page_load_stats' ), 999 );
@@ -72,6 +73,35 @@ if( !class_exists( 'Speed_Booster_Pack_Core' ) ) {
72
  } // END public public function __construct
73
 
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  /*--------------------------------------------------------------------------------------------------------
76
  Init the CSS Optimizer actions
77
  ---------------------------------------------------------------------------------------------------------*/
@@ -84,7 +114,7 @@ function sbp_init() {
84
  return;
85
  }
86
 
87
- if ( isset( $sbp_options['sbp_css_async'] ) ) {
88
  add_action( 'wp_print_styles', array( $this, 'sbp_print_styles' ), SBP_FOOTER );
89
  add_action( 'wp_footer', array( $this, 'sbp_print_delayed_styles' ), SBP_FOOTER+1 );
90
  }
@@ -159,7 +189,7 @@ if ( !isset( $sbp_options['sbp_footer_css'] ) ) {
159
  }
160
  if ( !empty( $not_inlined) ) {
161
  foreach ( $not_inlined as $style ){
162
- ?><link rel="stylesheet" href="<?php echo $style['src']?>" type="text/css" <?php echo $style['media'] ? "media=\"{$style['media']}\"" : ''?> /><?php
163
  }
164
  }
165
  }
@@ -195,7 +225,7 @@ if ( isset( $sbp_options['sbp_footer_css'] ) ) {
195
  }
196
  if ( !empty( $not_inlined ) ) {
197
  foreach ( $not_inlined as $style ) {
198
- ?><link rel="stylesheet" href="<?php echo $style['src']?>" type="text/css" <?php echo $style['media'] ? "media=\"{$style['media']}\"" : ''?> /><?php
199
  }
200
  }
201
  }
11
  public function __construct() {
12
 
13
  global $sbp_options;
14
+ add_action( 'wp_head', array( $this, 'sbp_prevent_fouc_start' ) );
15
+ add_action( 'wp_footer', array( $this, 'sbp_prevent_fouc_end' ), SBP_FOOTER_LAST );
16
  add_action( 'wp_enqueue_scripts', array( $this, 'sbp_no_more_fontawesome'), 9999 );
17
  add_action( 'wp_enqueue_scripts', array( $this, 'sbp_move_scripts_to_footer' ) );
18
  add_action( 'wp_footer', array( $this, 'sbp_show_page_load_stats' ), 999 );
73
  } // END public public function __construct
74
 
75
 
76
+ /*--------------------------------------------------------------------------------------------------------
77
+ Prevent Flash of Unstyled Content (FOUC) - BETA
78
+ ---------------------------------------------------------------------------------------------------------*/
79
+
80
+ function sbp_prevent_fouc_start() {
81
+ global $sbp_options;
82
+ if ( isset( $sbp_options['sbp_css_async'] ) and isset( $sbp_options['sbp_footer_css'] ) and isset ( $sbp_options['sbp_prevent_fouc'] ) ) {
83
+ echo '<style>.no-js{display:none;}</style>';
84
+ }
85
+ }
86
+
87
+
88
+ function sbp_prevent_fouc_end() {
89
+ global $sbp_options;
90
+ if ( isset( $sbp_options['sbp_css_async'] ) and isset( $sbp_options['sbp_footer_css'] ) and isset ( $sbp_options['sbp_prevent_fouc'] ) ) {
91
+ echo "<script>
92
+ (function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)
93
+ </script>
94
+ <script type=\"text/javascript\" >
95
+ $(document).ready(function() {
96
+ loadeddocument();
97
+ });
98
+ </script>
99
+ " ;
100
+ }
101
+ }
102
+
103
+
104
+
105
  /*--------------------------------------------------------------------------------------------------------
106
  Init the CSS Optimizer actions
107
  ---------------------------------------------------------------------------------------------------------*/
114
  return;
115
  }
116
 
117
+ if ( !is_admin() and isset( $sbp_options['sbp_css_async'] ) ) {
118
  add_action( 'wp_print_styles', array( $this, 'sbp_print_styles' ), SBP_FOOTER );
119
  add_action( 'wp_footer', array( $this, 'sbp_print_delayed_styles' ), SBP_FOOTER+1 );
120
  }
189
  }
190
  if ( !empty( $not_inlined) ) {
191
  foreach ( $not_inlined as $style ){
192
+ ?><link rel="stylesheet" href="<?php echo $style['src']?>" type="text/css" <?php echo $style['media'] ? "media=\"{$style['media']}\"" : ''?> /><?php
193
  }
194
  }
195
  }
225
  }
226
  if ( !empty( $not_inlined ) ) {
227
  foreach ( $not_inlined as $style ) {
228
+ ?><link rel="stylesheet" href="<?php echo $style['src']?>" type="text/css" <?php echo $style['media'] ? "media=\"{$style['media']}\"" : ''?> /><?php
229
  }
230
  }
231
  }
inc/css-optimizer.php CHANGED
@@ -11,14 +11,16 @@ function sbp_generate_styles_list() {
11
  $list = array();
12
  if ( isset( $wp_styles->queue ) && is_array( $wp_styles->queue ) ) {
13
  foreach ( $wp_styles->queue as $style ) {
14
-
 
 
15
  $list[] = array(
16
  'src' => $wp_styles->registered[$style]->src,
17
  'media' => $wp_styles->registered[$style]->args
18
- );
 
19
  }
20
  }
21
-
22
  return $list;
23
 
24
  } // END function sbp_generate_styles_list
@@ -35,6 +37,10 @@ function sbp_unregister_styles() {
35
  if ( isset( $wp_styles->queue ) && is_array( $wp_styles->queue ) ) {
36
 
37
  foreach ( $wp_styles->queue as $style ){
 
 
 
 
38
  wp_dequeue_style( $style );
39
  wp_deregister_style( $style );
40
  }
@@ -154,4 +160,45 @@ function sbp_remove_multiline_comments( $code,$method=0 ) {
154
  }
155
 
156
  return $code;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
11
  $list = array();
12
  if ( isset( $wp_styles->queue ) && is_array( $wp_styles->queue ) ) {
13
  foreach ( $wp_styles->queue as $style ) {
14
+ if ( is_css_excluded( $style ) ) {
15
+ // load excluded stylesheet in render-blocking manner
16
+ } else {
17
  $list[] = array(
18
  'src' => $wp_styles->registered[$style]->src,
19
  'media' => $wp_styles->registered[$style]->args
20
+ );
21
+ }
22
  }
23
  }
 
24
  return $list;
25
 
26
  } // END function sbp_generate_styles_list
37
  if ( isset( $wp_styles->queue ) && is_array( $wp_styles->queue ) ) {
38
 
39
  foreach ( $wp_styles->queue as $style ){
40
+ if ( is_css_excluded( $style )) {
41
+ continue;
42
+ }
43
+
44
  wp_dequeue_style( $style );
45
  wp_deregister_style( $style );
46
  }
160
  }
161
 
162
  return $code;
163
+ }
164
+
165
+
166
+ /*--------------------------------------------------------------------------------------------------------
167
+ CSS OPTIMIZER - get stylesheets exception list
168
+ ---------------------------------------------------------------------------------------------------------*/
169
+
170
+ function sbp_style_exceptions() {
171
+
172
+ $array = explode("\n",get_option( 'sbp_css_exceptions' ));
173
+ $css_exceptions = array();
174
+ foreach ($array as $key=>$ex) {
175
+ if (trim($ex)!=''){
176
+ $css_exceptions[$key] = trim($ex);
177
+ }
178
+ }
179
+
180
+ return $css_exceptions;
181
+ }
182
+
183
+
184
+ /*--------------------------------------------------------------------------------------------------------
185
+ CSS OPTIMIZER - get stylesheets exception names
186
+ ---------------------------------------------------------------------------------------------------------*/
187
+
188
+ function is_css_excluded( $file ) {
189
+ global $wp_styles;
190
+ $css_exceptions = sbp_style_exceptions();
191
+
192
+ if( is_string( $file ) && isset( $wp_styles->registered[$file] ) ) {
193
+ $filename = $file;
194
+ $file = $wp_styles->registered[$file];
195
+ }
196
+
197
+ foreach ( $css_exceptions as $ex ){
198
+ if ( $file->handle==$ex || (strpos($ex,'.')!==FALSE && strpos($file->src,$ex)!==FALSE) ){
199
+ return true;
200
+ }
201
+ }
202
+
203
+ return false;
204
  }
inc/settings.php CHANGED
@@ -22,6 +22,7 @@ if( !class_exists( 'Speed_Booster_Pack_Options' ) ) {
22
 
23
  register_setting( 'speed_booster_settings_group', 'sbp_settings' );
24
  register_setting( 'speed_booster_settings_group', 'sbp_integer' );
 
25
 
26
  } // END public function admin_init
27
 
@@ -53,12 +54,20 @@ if( !class_exists( 'Speed_Booster_Pack_Options' ) ) {
53
  $page_queries = get_option( 'sbp_page_queries' );
54
  $response = wp_remote_get( $url, array() );
55
 
 
56
  if ( get_option( 'sbp_integer' ) ) {
57
  $this->image_compression = get_option( 'sbp_integer' );
58
  } else {
59
  $this->image_compression = 90;
60
  }
61
 
 
 
 
 
 
 
 
62
  // Render the plugin options page HTML
63
  include( SPEED_BOOSTER_PACK_PATH . 'css/dynamic-css.php' );
64
 
22
 
23
  register_setting( 'speed_booster_settings_group', 'sbp_settings' );
24
  register_setting( 'speed_booster_settings_group', 'sbp_integer' );
25
+ register_setting( 'speed_booster_settings_group', 'sbp_css_exceptions' );
26
 
27
  } // END public function admin_init
28
 
54
  $page_queries = get_option( 'sbp_page_queries' );
55
  $response = wp_remote_get( $url, array() );
56
 
57
+ // fallback for image compression integer
58
  if ( get_option( 'sbp_integer' ) ) {
59
  $this->image_compression = get_option( 'sbp_integer' );
60
  } else {
61
  $this->image_compression = 90;
62
  }
63
 
64
+ // fallback for stylesheets exception handle
65
+ if ( get_option( 'sbp_css_exceptions' ) ) {
66
+ $css_exceptions = get_option( 'sbp_css_exceptions' );
67
+ } else {
68
+ $css_exceptions = '' ;
69
+ }
70
+
71
  // Render the plugin options page HTML
72
  include( SPEED_BOOSTER_PACK_PATH . 'css/dynamic-css.php' );
73
 
inc/template/options.php CHANGED
@@ -199,10 +199,25 @@ var jpegCompression = '<?php echo $this->image_compression; ?>';
199
  <label for="sbp_settings[sbp_is_mobile]"><?php _e( 'Disable all above CSS options on mobile devices', 'sb-pack' ); ?></label>
200
  </p>
201
 
 
 
 
 
 
 
202
 
203
- <p class ="description"><?php _e( '*Inserting all CSS styles inline to the footer will eliminate render-blocking CSS warning in Google Page Speed test. If there is something broken after activation, you need to disable this option. Please note that before enabling this sensitive option, it is strongly recommended that you also enable the "Move scripts to the footer" option.', 'sb-pack' ); ?>
 
 
 
204
  </p>
205
 
 
 
 
 
 
 
206
  </div><!-- END sbp-radio-content -->
207
  </div><!-- END sbp-css-content -->
208
 
199
  <label for="sbp_settings[sbp_is_mobile]"><?php _e( 'Disable all above CSS options on mobile devices', 'sb-pack' ); ?></label>
200
  </p>
201
 
202
+ <p>
203
+ <input id="sbp_settings[sbp_prevent_fouc]" name="sbp_settings[sbp_prevent_fouc]" type="checkbox" value="1" <?php checked( 1, isset( $sbp_options['sbp_prevent_fouc'] ) ); ?> />
204
+ <label for="sbp_settings[sbp_prevent_fouc]"><?php _e( 'Eliminate flash of unstyled content (FOUC)', 'sb-pack' ); ?></label>
205
+ </p>
206
+
207
+ <div class="td-border-last"></div>
208
 
209
+ <h3><?php _e( 'Exclude styles from asynchronously option: ', 'sb-pack' ); ?></h3>
210
+ <p><textarea cols="50" rows="3" name="sbp_css_exceptions" id="sbp_css_exceptions" value="<?php echo $css_exceptions; ?>" /><?php echo $css_exceptions; ?></textarea></p>
211
+ <p class="description">
212
+ <?php _e('Enter one by line, the handles or css files or the final part of the style URL. For example: font-awesome or font-awesome.min.css', 'sb-pack' ); ?>
213
  </p>
214
 
215
+ <div class="td-border-last"></div>
216
+ <h4 class="sbp-icon-information"><?php _e( 'Additional information:', 'sb-pack' ); ?></h4>
217
+ <p class ="description"><strong><?php _e( 'Insert all CSS styles inline to the footer: ', 'sb-pack' ); ?></strong><?php _e( 'this option will eliminate render-blocking CSS warning in Google Page Speed test. If there is something broken after activation, you need to disable this option. Please note that before enabling this sensitive option, it is strongly recommended that you also enable the "Move scripts to the footer" option.', 'sb-pack' ); ?></p>
218
+ <p class ="description"><strong><?php _e( 'Eliminate flash of unstyled content (FOUC): ', 'sb-pack' ); ?></strong><?php _e( 'inserting all CSS styles inline to the footer could create some type of flash of unstyled content(FOUC), i.e. first it shows your site content as though it has not styles then the styled content appear after a very short time (half of second or so). Enabling this option could eliminate this unwanted effect. Please note that this is a beta option so if there is something broken after activation, you need to disable this option.', 'sb-pack' ); ?></p>
219
+
220
+
221
  </div><!-- END sbp-radio-content -->
222
  </div><!-- END sbp-css-content -->
223
 
lang/ro_RO.mo CHANGED
Binary file
lang/ro_RO.po CHANGED
@@ -2,46 +2,34 @@ msgid ""
2
  msgstr ""
3
  "Content-Type: text/plain; charset=UTF-8\n"
4
  "Content-Transfer-Encoding: 8bit\n"
5
- "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
6
- "2:1));\n"
7
  "Project-Id-Version: Speed Booster Pack\n"
8
  "POT-Creation-Date: \n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: Liviu Costache <tiguan@tiguandesign.com>\n"
11
  "Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
12
  "MIME-Version: 1.0\n"
 
13
  "X-Generator: Poedit 1.6.6\n"
14
  "X-Poedit-KeywordsList: _e;__\n"
15
  "X-Poedit-Basepath: .\n"
16
- "Language: ro\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
  #. Text in echo
20
- #: speed-booster-pack/inc/template/options.php:213
21
  msgid " with guidelines to enhance your website performance."
22
  msgstr "care conţine îndrumari pentru a îmbunătăți performanța site-ul tău."
23
 
24
- #. Text in echo
25
- #: speed-booster-pack/inc/template/options.php:182
26
- msgid ""
27
- "*Inserting all CSS styles inline to the footer will eliminate render-"
28
- "blocking CSS warning in Google Page Speed test. If there is something broken "
29
- "after activation, you need to disable this option. Please note that before "
30
- "enabling this sensitive option, it is strongly recommended that you also "
31
- "enable the \"Move scripts to the footer\" option."
32
- msgstr ""
33
- "*Încărcând toate stilurile CSS inline în partea de jos a site-ului va "
34
- "elimina avertizarea din testul Google Page Speed despre JavaScript şi CSS "
35
- "care blochează redarea conţinutului. Dacă designul site-ului este afectat "
36
- "sau ceva nu funcţionează după activare, va trebui să dezactivezi această "
37
- "opţiune. Te rugăm să reţii că înainte de a activă această opţiune sensibilă, "
38
- "este obligatoriu să ai activată si opţiunea \"Mutaţi script-uri în footer\"."
39
-
40
  #. Text in echo
41
  #: speed-booster-pack/inc/template/options.php:123
42
  msgid "Active Plugins:"
43
  msgstr "Pluginuri Active:"
44
 
 
 
 
 
 
45
  #. Text in echo
46
  #: speed-booster-pack/inc/template/options.php:15
47
  msgid "Boost Your Website Speed!"
@@ -53,7 +41,7 @@ msgid "Change the default image compression level"
53
  msgstr "Schimbă nivelul de compresie al imaginilor"
54
 
55
  #. Text in echo
56
- #: speed-booster-pack/inc/template/options.php:143
57
  msgid "Compression level:"
58
  msgstr "Nivelul de compresie:"
59
 
@@ -62,18 +50,53 @@ msgstr "Nivelul de compresie:"
62
  msgid "Defer parsing of javascript files"
63
  msgstr "Amână analizarea fişierelor javascript"
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  #. Text in echo
66
  #: speed-booster-pack/inc/template/options.php:95
67
  msgid "Home Page Load Stats"
68
  msgstr "Încărcarea paginii de bază"
69
 
70
  #. Text in echo
71
- #: speed-booster-pack/inc/template/options.php:179
72
  msgid "Insert all CSS styles inline to the footer"
73
- msgstr "Încarcă toate stilurile CSS inline în footer"
74
 
75
  #. Text in echo
76
- #: speed-booster-pack/inc/template/options.php:230
 
 
 
 
 
77
  msgid "Installed Version:"
78
  msgstr "Versiunea instalată:"
79
 
@@ -83,7 +106,7 @@ msgid "Lazy load images to improve page load times"
83
  msgstr "Întârzie încărcarea imaginilor"
84
 
85
  #. Text in echo
86
- #: speed-booster-pack/inc/template/options.php:164
87
  msgid "Load CSS asynchronously"
88
  msgstr "Încărcare CSS în mod asincron"
89
 
@@ -98,7 +121,7 @@ msgid "Main plugin options"
98
  msgstr "Opţiunile principale"
99
 
100
  #. Text in echo
101
- #: speed-booster-pack/inc/template/options.php:172
102
  msgid "Minify all CSS styles"
103
  msgstr "Comprimă toate fişierele CSS"
104
 
@@ -108,7 +131,7 @@ msgid "Move scripts to the footer"
108
  msgstr "Muta script-uri in footer"
109
 
110
  #. Text in echo
111
- #: speed-booster-pack/inc/template/options.php:153
112
  msgid ""
113
  "Note that any changes you make will only affect new images uploaded to your "
114
  "site. If you want to update all of your images with the new sizes, install "
@@ -126,7 +149,7 @@ msgstr ""
126
  #. Text in echo
127
  #: speed-booster-pack/inc/template/options.php:109
128
  msgid "Number of executed queries:"
129
- msgstr "Numărul de interogări(queries) executate:"
130
 
131
  #. Text in echo
132
  #: speed-booster-pack/inc/template/options.php:97
@@ -139,12 +162,12 @@ msgid "Peak Memory Used:"
139
  msgstr "Memoria folosită"
140
 
141
  #. Text in echo
142
- #: speed-booster-pack/inc/template/options.php:213
143
  msgid "Read online plugin documentation"
144
  msgstr "Citeşte online documentaţia pluginului"
145
 
146
  #. Text in echo
147
- #: speed-booster-pack/inc/template/options.php:237
148
  msgid "Released date:"
149
  msgstr "Data lansării:"
150
 
@@ -194,12 +217,12 @@ msgid "Removes extra Font Awesome stylesheets"
194
  msgstr "Elimină extra Font Awesome CSS"
195
 
196
  #. Text in echo
197
- #: speed-booster-pack/inc/template/options.php:160
198
  msgid "Still need more speed?"
199
  msgstr "Încă ai nevoie de mai multă viteză?"
200
 
201
  #. Text in echo
202
- #: speed-booster-pack/inc/template/options.php:152
203
  msgid ""
204
  "The default image compression setting in WordPress is 90%. Compressing your "
205
  "images further than the default will make your file sizes even smaller and "
@@ -210,15 +233,33 @@ msgstr ""
210
  "micşora dimensiunile fişierelor şi va stimula performanta site-ului tău."
211
 
212
  #. Text in echo
213
- #: speed-booster-pack/inc/template/options.php:219
214
  msgid "Version Information"
215
  msgstr "Informaţii despre versiune"
216
 
217
  #. Text in echo
218
- #: speed-booster-pack/inc/template/options.php:203
219
  msgid "What do these settings mean?"
220
  msgstr "Ce reprezintă toate aceste opţiuni?"
221
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  #. Text in echo
223
  #: speed-booster-pack/inc/template/options.php:117
224
  msgid "q"
@@ -228,3 +269,18 @@ msgstr "q"
228
  #: speed-booster-pack/inc/template/options.php:105
229
  msgid "s"
230
  msgstr "s"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Content-Type: text/plain; charset=UTF-8\n"
4
  "Content-Transfer-Encoding: 8bit\n"
5
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
6
  "Project-Id-Version: Speed Booster Pack\n"
7
  "POT-Creation-Date: \n"
8
  "PO-Revision-Date: \n"
9
  "Last-Translator: Liviu Costache <tiguan@tiguandesign.com>\n"
10
  "Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
11
  "MIME-Version: 1.0\n"
12
+ "Language: en\n"
13
  "X-Generator: Poedit 1.6.6\n"
14
  "X-Poedit-KeywordsList: _e;__\n"
15
  "X-Poedit-Basepath: .\n"
 
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
  #. Text in echo
19
+ #: speed-booster-pack/inc/template/options.php:249
20
  msgid " with guidelines to enhance your website performance."
21
  msgstr "care conţine îndrumari pentru a îmbunătăți performanța site-ul tău."
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  #. Text in echo
24
  #: speed-booster-pack/inc/template/options.php:123
25
  msgid "Active Plugins:"
26
  msgstr "Pluginuri Active:"
27
 
28
+ #. Text in echo
29
+ #: speed-booster-pack/inc/template/options.php:216
30
+ msgid "Additional information:"
31
+ msgstr "Informaţii suplimentare:"
32
+
33
  #. Text in echo
34
  #: speed-booster-pack/inc/template/options.php:15
35
  msgid "Boost Your Website Speed!"
41
  msgstr "Schimbă nivelul de compresie al imaginilor"
42
 
43
  #. Text in echo
44
+ #: speed-booster-pack/inc/template/options.php:158
45
  msgid "Compression level:"
46
  msgstr "Nivelul de compresie:"
47
 
50
  msgid "Defer parsing of javascript files"
51
  msgstr "Amână analizarea fişierelor javascript"
52
 
53
+ #. Text in echo
54
+ #: speed-booster-pack/inc/template/options.php:199
55
+ msgid "Disable all above CSS options on mobile devices"
56
+ msgstr ""
57
+ "Dezactivează toate opţiunile CSS de mai sus pentru dispozitivele mobile"
58
+
59
+ #. Text in echo
60
+ #: speed-booster-pack/inc/template/options.php:204
61
+ msgid "Eliminate flash of unstyled content (FOUC)"
62
+ msgstr "Elimina efectul de conţinut fără stil (FOUC)"
63
+
64
+ #. Text in echo
65
+ #: speed-booster-pack/inc/template/options.php:218
66
+ msgid "Eliminate flash of unstyled content (FOUC): "
67
+ msgstr "Elimina efectul de conţinut fără stil (FOUC):"
68
+
69
+ #. Text in echo
70
+ #: speed-booster-pack/inc/template/options.php:212
71
+ msgid ""
72
+ "Enter one by line, the handles or css files or the final part of the style "
73
+ "URL. For example: font-awesome or font-awesome.min.css"
74
+ msgstr ""
75
+ "Introdu câte una pe linie, denumirile fişierelor CSS sau partea finală a URL-"
76
+ "ului acestora. De exemplu: font-awesome sau font-awesome.min.css"
77
+
78
+ #. Text in echo
79
+ #: speed-booster-pack/inc/template/options.php:209
80
+ msgid "Exclude styles from asynchronously option: "
81
+ msgstr "Exclude stiluri CSS de la opţiunea asincron"
82
+
83
  #. Text in echo
84
  #: speed-booster-pack/inc/template/options.php:95
85
  msgid "Home Page Load Stats"
86
  msgstr "Încărcarea paginii de bază"
87
 
88
  #. Text in echo
89
+ #: speed-booster-pack/inc/template/options.php:194
90
  msgid "Insert all CSS styles inline to the footer"
91
+ msgstr "Mută toate stilurile CSS în linie în footer"
92
 
93
  #. Text in echo
94
+ #: speed-booster-pack/inc/template/options.php:217
95
+ msgid "Insert all CSS styles inline to the footer: "
96
+ msgstr "Mută toate stilurile CSS în linie în footer:"
97
+
98
+ #. Text in echo
99
+ #: speed-booster-pack/inc/template/options.php:266
100
  msgid "Installed Version:"
101
  msgstr "Versiunea instalată:"
102
 
106
  msgstr "Întârzie încărcarea imaginilor"
107
 
108
  #. Text in echo
109
+ #: speed-booster-pack/inc/template/options.php:179
110
  msgid "Load CSS asynchronously"
111
  msgstr "Încărcare CSS în mod asincron"
112
 
121
  msgstr "Opţiunile principale"
122
 
123
  #. Text in echo
124
+ #: speed-booster-pack/inc/template/options.php:187
125
  msgid "Minify all CSS styles"
126
  msgstr "Comprimă toate fişierele CSS"
127
 
131
  msgstr "Muta script-uri in footer"
132
 
133
  #. Text in echo
134
+ #: speed-booster-pack/inc/template/options.php:168
135
  msgid ""
136
  "Note that any changes you make will only affect new images uploaded to your "
137
  "site. If you want to update all of your images with the new sizes, install "
149
  #. Text in echo
150
  #: speed-booster-pack/inc/template/options.php:109
151
  msgid "Number of executed queries:"
152
+ msgstr "Numărul de interogări (queries) executate:"
153
 
154
  #. Text in echo
155
  #: speed-booster-pack/inc/template/options.php:97
162
  msgstr "Memoria folosită"
163
 
164
  #. Text in echo
165
+ #: speed-booster-pack/inc/template/options.php:249
166
  msgid "Read online plugin documentation"
167
  msgstr "Citeşte online documentaţia pluginului"
168
 
169
  #. Text in echo
170
+ #: speed-booster-pack/inc/template/options.php:273
171
  msgid "Released date:"
172
  msgstr "Data lansării:"
173
 
217
  msgstr "Elimină extra Font Awesome CSS"
218
 
219
  #. Text in echo
220
+ #: speed-booster-pack/inc/template/options.php:175
221
  msgid "Still need more speed?"
222
  msgstr "Încă ai nevoie de mai multă viteză?"
223
 
224
  #. Text in echo
225
+ #: speed-booster-pack/inc/template/options.php:167
226
  msgid ""
227
  "The default image compression setting in WordPress is 90%. Compressing your "
228
  "images further than the default will make your file sizes even smaller and "
233
  "micşora dimensiunile fişierelor şi va stimula performanta site-ului tău."
234
 
235
  #. Text in echo
236
+ #: speed-booster-pack/inc/template/options.php:255
237
  msgid "Version Information"
238
  msgstr "Informaţii despre versiune"
239
 
240
  #. Text in echo
241
+ #: speed-booster-pack/inc/template/options.php:239
242
  msgid "What do these settings mean?"
243
  msgstr "Ce reprezintă toate aceste opţiuni?"
244
 
245
+ #. Text in echo
246
+ #: speed-booster-pack/inc/template/options.php:218
247
+ msgid ""
248
+ "inserting all CSS styles inline to the footer could create some type of "
249
+ "flash of unstyled content(FOUC), i.e. first it shows your site content as "
250
+ "though it has not styles then the styled content appear after a very short "
251
+ "time (half of second or so). Enabling this option could eliminate this "
252
+ "unwanted effect. Please note that this is a beta option so if there is "
253
+ "something broken after activation, you need to disable this option."
254
+ msgstr ""
255
+ "mutând toate stilurile CSS în footer ar putea crea un efect nedorit denumit "
256
+ "FOUC. De exemplu, la încărcarea site-ului în primele milisecunde, site-ul va "
257
+ "arăta ca şi cum nu conţine stiluri, conţinutul cu stil apărând după un "
258
+ "foarte scurt timp.. Activând această opţiune ar putea elimina acest efect "
259
+ "nedorit. Te rog să notezi că această opţiune este experimentală aşa că dacă "
260
+ "observi că ceva nu merge după activare, va trebui să dezactivezi această "
261
+ "opţiune."
262
+
263
  #. Text in echo
264
  #: speed-booster-pack/inc/template/options.php:117
265
  msgid "q"
269
  #: speed-booster-pack/inc/template/options.php:105
270
  msgid "s"
271
  msgstr "s"
272
+
273
+ #. Text in echo
274
+ #: speed-booster-pack/inc/template/options.php:217
275
+ msgid ""
276
+ "this option will eliminate render-blocking CSS warning in Google Page Speed "
277
+ "test. If there is something broken after activation, you need to disable "
278
+ "this option. Please note that before enabling this sensitive option, it is "
279
+ "strongly recommended that you also enable the \"Move scripts to the footer\" "
280
+ "option."
281
+ msgstr ""
282
+ "această opţiune va elimina mesajul render-blocking CSS din Google Page "
283
+ "Speed. Dacă observi că ceva nu merge după activare, va trebui să dezactivezi "
284
+ "această opţiune. Te rog să notezi că înainte de activarea acestei opţiuni "
285
+ "sensibile, este neapărat necesar că şi opţiunea de mutare a scripturilor în "
286
+ "footer trebuie să fie activă."
lang/sb-pack.mo CHANGED
Binary file
lang/sb-pack.po CHANGED
@@ -9,30 +9,25 @@ msgstr ""
9
  "Last-Translator: Liviu Costache <tiguan@tiguandesign.com>\n"
10
  "Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
11
  "MIME-Version: 1.0\n"
 
12
  "X-Generator: Poedit 1.6.6\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
- "Language: en\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
  #. Text in echo
19
- #: speed-booster-pack/inc/template/options.php:213
20
  msgid " with guidelines to enhance your website performance."
21
  msgstr ""
22
 
23
  #. Text in echo
24
- #: speed-booster-pack/inc/template/options.php:182
25
- msgid ""
26
- "*Inserting all CSS styles inline to the footer will eliminate render-"
27
- "blocking CSS warning in Google Page Speed test. If there is something broken "
28
- "after activation, you need to disable this option. Please note that before "
29
- "enabling this sensitive option, it is strongly recommended that you also "
30
- "enable the \"Move scripts to the footer\" option."
31
  msgstr ""
32
 
33
  #. Text in echo
34
- #: speed-booster-pack/inc/template/options.php:123
35
- msgid "Active Plugins:"
36
  msgstr ""
37
 
38
  #. Text in echo
@@ -46,7 +41,7 @@ msgid "Change the default image compression level"
46
  msgstr ""
47
 
48
  #. Text in echo
49
- #: speed-booster-pack/inc/template/options.php:143
50
  msgid "Compression level:"
51
  msgstr ""
52
 
@@ -55,18 +50,50 @@ msgstr ""
55
  msgid "Defer parsing of javascript files"
56
  msgstr ""
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  #. Text in echo
59
  #: speed-booster-pack/inc/template/options.php:95
60
  msgid "Home Page Load Stats"
61
  msgstr ""
62
 
63
  #. Text in echo
64
- #: speed-booster-pack/inc/template/options.php:179
65
  msgid "Insert all CSS styles inline to the footer"
66
  msgstr ""
67
 
68
  #. Text in echo
69
- #: speed-booster-pack/inc/template/options.php:230
 
 
 
 
 
70
  msgid "Installed Version:"
71
  msgstr ""
72
 
@@ -76,7 +103,7 @@ msgid "Lazy load images to improve page load times"
76
  msgstr ""
77
 
78
  #. Text in echo
79
- #: speed-booster-pack/inc/template/options.php:164
80
  msgid "Load CSS asynchronously"
81
  msgstr ""
82
 
@@ -91,7 +118,7 @@ msgid "Main plugin options"
91
  msgstr ""
92
 
93
  #. Text in echo
94
- #: speed-booster-pack/inc/template/options.php:172
95
  msgid "Minify all CSS styles"
96
  msgstr ""
97
 
@@ -101,7 +128,7 @@ msgid "Move scripts to the footer"
101
  msgstr ""
102
 
103
  #. Text in echo
104
- #: speed-booster-pack/inc/template/options.php:153
105
  msgid ""
106
  "Note that any changes you make will only affect new images uploaded to your "
107
  "site. If you want to update all of your images with the new sizes, install "
@@ -126,12 +153,12 @@ msgid "Peak Memory Used:"
126
  msgstr ""
127
 
128
  #. Text in echo
129
- #: speed-booster-pack/inc/template/options.php:213
130
  msgid "Read online plugin documentation"
131
  msgstr ""
132
 
133
  #. Text in echo
134
- #: speed-booster-pack/inc/template/options.php:237
135
  msgid "Released date:"
136
  msgstr ""
137
 
@@ -181,12 +208,12 @@ msgid "Removes extra Font Awesome stylesheets"
181
  msgstr ""
182
 
183
  #. Text in echo
184
- #: speed-booster-pack/inc/template/options.php:160
185
  msgid "Still need more speed?"
186
  msgstr ""
187
 
188
  #. Text in echo
189
- #: speed-booster-pack/inc/template/options.php:152
190
  msgid ""
191
  "The default image compression setting in WordPress is 90%. Compressing your "
192
  "images further than the default will make your file sizes even smaller and "
@@ -194,15 +221,26 @@ msgid ""
194
  msgstr ""
195
 
196
  #. Text in echo
197
- #: speed-booster-pack/inc/template/options.php:219
198
  msgid "Version Information"
199
  msgstr ""
200
 
201
  #. Text in echo
202
- #: speed-booster-pack/inc/template/options.php:203
203
  msgid "What do these settings mean?"
204
  msgstr ""
205
 
 
 
 
 
 
 
 
 
 
 
 
206
  #. Text in echo
207
  #: speed-booster-pack/inc/template/options.php:117
208
  msgid "q"
@@ -212,3 +250,13 @@ msgstr ""
212
  #: speed-booster-pack/inc/template/options.php:105
213
  msgid "s"
214
  msgstr ""
 
 
 
 
 
 
 
 
 
 
9
  "Last-Translator: Liviu Costache <tiguan@tiguandesign.com>\n"
10
  "Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
11
  "MIME-Version: 1.0\n"
12
+ "Language: en\n"
13
  "X-Generator: Poedit 1.6.6\n"
14
  "X-Poedit-KeywordsList: _e;__\n"
15
  "X-Poedit-Basepath: .\n"
 
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
  #. Text in echo
19
+ #: speed-booster-pack/inc/template/options.php:249
20
  msgid " with guidelines to enhance your website performance."
21
  msgstr ""
22
 
23
  #. Text in echo
24
+ #: speed-booster-pack/inc/template/options.php:123
25
+ msgid "Active Plugins:"
 
 
 
 
 
26
  msgstr ""
27
 
28
  #. Text in echo
29
+ #: speed-booster-pack/inc/template/options.php:216
30
+ msgid "Additional information:"
31
  msgstr ""
32
 
33
  #. Text in echo
41
  msgstr ""
42
 
43
  #. Text in echo
44
+ #: speed-booster-pack/inc/template/options.php:158
45
  msgid "Compression level:"
46
  msgstr ""
47
 
50
  msgid "Defer parsing of javascript files"
51
  msgstr ""
52
 
53
+ #. Text in echo
54
+ #: speed-booster-pack/inc/template/options.php:199
55
+ msgid "Disable all above CSS options on mobile devices"
56
+ msgstr ""
57
+
58
+ #. Text in echo
59
+ #: speed-booster-pack/inc/template/options.php:204
60
+ msgid "Eliminate flash of unstyled content (FOUC)"
61
+ msgstr ""
62
+
63
+ #. Text in echo
64
+ #: speed-booster-pack/inc/template/options.php:218
65
+ msgid "Eliminate flash of unstyled content (FOUC): "
66
+ msgstr ""
67
+
68
+ #. Text in echo
69
+ #: speed-booster-pack/inc/template/options.php:212
70
+ msgid ""
71
+ "Enter one by line, the handles or css files or the final part of the style "
72
+ "URL. For example: font-awesome or font-awesome.min.css"
73
+ msgstr ""
74
+
75
+ #. Text in echo
76
+ #: speed-booster-pack/inc/template/options.php:209
77
+ msgid "Exclude styles from asynchronously option: "
78
+ msgstr ""
79
+
80
  #. Text in echo
81
  #: speed-booster-pack/inc/template/options.php:95
82
  msgid "Home Page Load Stats"
83
  msgstr ""
84
 
85
  #. Text in echo
86
+ #: speed-booster-pack/inc/template/options.php:194
87
  msgid "Insert all CSS styles inline to the footer"
88
  msgstr ""
89
 
90
  #. Text in echo
91
+ #: speed-booster-pack/inc/template/options.php:217
92
+ msgid "Insert all CSS styles inline to the footer: "
93
+ msgstr ""
94
+
95
+ #. Text in echo
96
+ #: speed-booster-pack/inc/template/options.php:266
97
  msgid "Installed Version:"
98
  msgstr ""
99
 
103
  msgstr ""
104
 
105
  #. Text in echo
106
+ #: speed-booster-pack/inc/template/options.php:179
107
  msgid "Load CSS asynchronously"
108
  msgstr ""
109
 
118
  msgstr ""
119
 
120
  #. Text in echo
121
+ #: speed-booster-pack/inc/template/options.php:187
122
  msgid "Minify all CSS styles"
123
  msgstr ""
124
 
128
  msgstr ""
129
 
130
  #. Text in echo
131
+ #: speed-booster-pack/inc/template/options.php:168
132
  msgid ""
133
  "Note that any changes you make will only affect new images uploaded to your "
134
  "site. If you want to update all of your images with the new sizes, install "
153
  msgstr ""
154
 
155
  #. Text in echo
156
+ #: speed-booster-pack/inc/template/options.php:249
157
  msgid "Read online plugin documentation"
158
  msgstr ""
159
 
160
  #. Text in echo
161
+ #: speed-booster-pack/inc/template/options.php:273
162
  msgid "Released date:"
163
  msgstr ""
164
 
208
  msgstr ""
209
 
210
  #. Text in echo
211
+ #: speed-booster-pack/inc/template/options.php:175
212
  msgid "Still need more speed?"
213
  msgstr ""
214
 
215
  #. Text in echo
216
+ #: speed-booster-pack/inc/template/options.php:167
217
  msgid ""
218
  "The default image compression setting in WordPress is 90%. Compressing your "
219
  "images further than the default will make your file sizes even smaller and "
221
  msgstr ""
222
 
223
  #. Text in echo
224
+ #: speed-booster-pack/inc/template/options.php:255
225
  msgid "Version Information"
226
  msgstr ""
227
 
228
  #. Text in echo
229
+ #: speed-booster-pack/inc/template/options.php:239
230
  msgid "What do these settings mean?"
231
  msgstr ""
232
 
233
+ #. Text in echo
234
+ #: speed-booster-pack/inc/template/options.php:218
235
+ msgid ""
236
+ "inserting all CSS styles inline to the footer could create some type of "
237
+ "flash of unstyled content(FOUC), i.e. first it shows your site content as "
238
+ "though it has not styles then the styled content appear after a very short "
239
+ "time (half of second or so). Enabling this option could eliminate this "
240
+ "unwanted effect. Please note that this is a beta option so if there is "
241
+ "something broken after activation, you need to disable this option."
242
+ msgstr ""
243
+
244
  #. Text in echo
245
  #: speed-booster-pack/inc/template/options.php:117
246
  msgid "q"
250
  #: speed-booster-pack/inc/template/options.php:105
251
  msgid "s"
252
  msgstr ""
253
+
254
+ #. Text in echo
255
+ #: speed-booster-pack/inc/template/options.php:217
256
+ msgid ""
257
+ "this option will eliminate render-blocking CSS warning in Google Page Speed "
258
+ "test. If there is something broken after activation, you need to disable "
259
+ "this option. Please note that before enabling this sensitive option, it is "
260
+ "strongly recommended that you also enable the \"Move scripts to the footer\" "
261
+ "option."
262
+ msgstr ""
lang/sb-pack.pot CHANGED
@@ -9,30 +9,25 @@ msgstr ""
9
  "Last-Translator: Liviu Costache <tiguan@tiguandesign.com>\n"
10
  "Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
11
  "MIME-Version: 1.0\n"
 
12
  "X-Generator: Poedit 1.6.6\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
- "Language: en\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
  #. Text in echo
19
- #: speed-booster-pack/inc/template/options.php:213
20
  msgid " with guidelines to enhance your website performance."
21
  msgstr ""
22
 
23
  #. Text in echo
24
- #: speed-booster-pack/inc/template/options.php:182
25
- msgid ""
26
- "*Inserting all CSS styles inline to the footer will eliminate render-"
27
- "blocking CSS warning in Google Page Speed test. If there is something broken "
28
- "after activation, you need to disable this option. Please note that before "
29
- "enabling this sensitive option, it is strongly recommended that you also "
30
- "enable the \"Move scripts to the footer\" option."
31
  msgstr ""
32
 
33
  #. Text in echo
34
- #: speed-booster-pack/inc/template/options.php:123
35
- msgid "Active Plugins:"
36
  msgstr ""
37
 
38
  #. Text in echo
@@ -46,7 +41,7 @@ msgid "Change the default image compression level"
46
  msgstr ""
47
 
48
  #. Text in echo
49
- #: speed-booster-pack/inc/template/options.php:143
50
  msgid "Compression level:"
51
  msgstr ""
52
 
@@ -55,18 +50,50 @@ msgstr ""
55
  msgid "Defer parsing of javascript files"
56
  msgstr ""
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  #. Text in echo
59
  #: speed-booster-pack/inc/template/options.php:95
60
  msgid "Home Page Load Stats"
61
  msgstr ""
62
 
63
  #. Text in echo
64
- #: speed-booster-pack/inc/template/options.php:179
65
  msgid "Insert all CSS styles inline to the footer"
66
  msgstr ""
67
 
68
  #. Text in echo
69
- #: speed-booster-pack/inc/template/options.php:230
 
 
 
 
 
70
  msgid "Installed Version:"
71
  msgstr ""
72
 
@@ -76,7 +103,7 @@ msgid "Lazy load images to improve page load times"
76
  msgstr ""
77
 
78
  #. Text in echo
79
- #: speed-booster-pack/inc/template/options.php:164
80
  msgid "Load CSS asynchronously"
81
  msgstr ""
82
 
@@ -91,7 +118,7 @@ msgid "Main plugin options"
91
  msgstr ""
92
 
93
  #. Text in echo
94
- #: speed-booster-pack/inc/template/options.php:172
95
  msgid "Minify all CSS styles"
96
  msgstr ""
97
 
@@ -101,7 +128,7 @@ msgid "Move scripts to the footer"
101
  msgstr ""
102
 
103
  #. Text in echo
104
- #: speed-booster-pack/inc/template/options.php:153
105
  msgid ""
106
  "Note that any changes you make will only affect new images uploaded to your "
107
  "site. If you want to update all of your images with the new sizes, install "
@@ -126,12 +153,12 @@ msgid "Peak Memory Used:"
126
  msgstr ""
127
 
128
  #. Text in echo
129
- #: speed-booster-pack/inc/template/options.php:213
130
  msgid "Read online plugin documentation"
131
  msgstr ""
132
 
133
  #. Text in echo
134
- #: speed-booster-pack/inc/template/options.php:237
135
  msgid "Released date:"
136
  msgstr ""
137
 
@@ -181,12 +208,12 @@ msgid "Removes extra Font Awesome stylesheets"
181
  msgstr ""
182
 
183
  #. Text in echo
184
- #: speed-booster-pack/inc/template/options.php:160
185
  msgid "Still need more speed?"
186
  msgstr ""
187
 
188
  #. Text in echo
189
- #: speed-booster-pack/inc/template/options.php:152
190
  msgid ""
191
  "The default image compression setting in WordPress is 90%. Compressing your "
192
  "images further than the default will make your file sizes even smaller and "
@@ -194,15 +221,26 @@ msgid ""
194
  msgstr ""
195
 
196
  #. Text in echo
197
- #: speed-booster-pack/inc/template/options.php:219
198
  msgid "Version Information"
199
  msgstr ""
200
 
201
  #. Text in echo
202
- #: speed-booster-pack/inc/template/options.php:203
203
  msgid "What do these settings mean?"
204
  msgstr ""
205
 
 
 
 
 
 
 
 
 
 
 
 
206
  #. Text in echo
207
  #: speed-booster-pack/inc/template/options.php:117
208
  msgid "q"
@@ -212,3 +250,13 @@ msgstr ""
212
  #: speed-booster-pack/inc/template/options.php:105
213
  msgid "s"
214
  msgstr ""
 
 
 
 
 
 
 
 
 
 
9
  "Last-Translator: Liviu Costache <tiguan@tiguandesign.com>\n"
10
  "Language-Team: Tiguandesign.com <tiguan@tiguandesign.com>\n"
11
  "MIME-Version: 1.0\n"
12
+ "Language: en\n"
13
  "X-Generator: Poedit 1.6.6\n"
14
  "X-Poedit-KeywordsList: _e;__\n"
15
  "X-Poedit-Basepath: .\n"
 
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
  #. Text in echo
19
+ #: speed-booster-pack/inc/template/options.php:249
20
  msgid " with guidelines to enhance your website performance."
21
  msgstr ""
22
 
23
  #. Text in echo
24
+ #: speed-booster-pack/inc/template/options.php:123
25
+ msgid "Active Plugins:"
 
 
 
 
 
26
  msgstr ""
27
 
28
  #. Text in echo
29
+ #: speed-booster-pack/inc/template/options.php:216
30
+ msgid "Additional information:"
31
  msgstr ""
32
 
33
  #. Text in echo
41
  msgstr ""
42
 
43
  #. Text in echo
44
+ #: speed-booster-pack/inc/template/options.php:158
45
  msgid "Compression level:"
46
  msgstr ""
47
 
50
  msgid "Defer parsing of javascript files"
51
  msgstr ""
52
 
53
+ #. Text in echo
54
+ #: speed-booster-pack/inc/template/options.php:199
55
+ msgid "Disable all above CSS options on mobile devices"
56
+ msgstr ""
57
+
58
+ #. Text in echo
59
+ #: speed-booster-pack/inc/template/options.php:204
60
+ msgid "Eliminate flash of unstyled content (FOUC)"
61
+ msgstr ""
62
+
63
+ #. Text in echo
64
+ #: speed-booster-pack/inc/template/options.php:218
65
+ msgid "Eliminate flash of unstyled content (FOUC): "
66
+ msgstr ""
67
+
68
+ #. Text in echo
69
+ #: speed-booster-pack/inc/template/options.php:212
70
+ msgid ""
71
+ "Enter one by line, the handles or css files or the final part of the style "
72
+ "URL. For example: font-awesome or font-awesome.min.css"
73
+ msgstr ""
74
+
75
+ #. Text in echo
76
+ #: speed-booster-pack/inc/template/options.php:209
77
+ msgid "Exclude styles from asynchronously option: "
78
+ msgstr ""
79
+
80
  #. Text in echo
81
  #: speed-booster-pack/inc/template/options.php:95
82
  msgid "Home Page Load Stats"
83
  msgstr ""
84
 
85
  #. Text in echo
86
+ #: speed-booster-pack/inc/template/options.php:194
87
  msgid "Insert all CSS styles inline to the footer"
88
  msgstr ""
89
 
90
  #. Text in echo
91
+ #: speed-booster-pack/inc/template/options.php:217
92
+ msgid "Insert all CSS styles inline to the footer: "
93
+ msgstr ""
94
+
95
+ #. Text in echo
96
+ #: speed-booster-pack/inc/template/options.php:266
97
  msgid "Installed Version:"
98
  msgstr ""
99
 
103
  msgstr ""
104
 
105
  #. Text in echo
106
+ #: speed-booster-pack/inc/template/options.php:179
107
  msgid "Load CSS asynchronously"
108
  msgstr ""
109
 
118
  msgstr ""
119
 
120
  #. Text in echo
121
+ #: speed-booster-pack/inc/template/options.php:187
122
  msgid "Minify all CSS styles"
123
  msgstr ""
124
 
128
  msgstr ""
129
 
130
  #. Text in echo
131
+ #: speed-booster-pack/inc/template/options.php:168
132
  msgid ""
133
  "Note that any changes you make will only affect new images uploaded to your "
134
  "site. If you want to update all of your images with the new sizes, install "
153
  msgstr ""
154
 
155
  #. Text in echo
156
+ #: speed-booster-pack/inc/template/options.php:249
157
  msgid "Read online plugin documentation"
158
  msgstr ""
159
 
160
  #. Text in echo
161
+ #: speed-booster-pack/inc/template/options.php:273
162
  msgid "Released date:"
163
  msgstr ""
164
 
208
  msgstr ""
209
 
210
  #. Text in echo
211
+ #: speed-booster-pack/inc/template/options.php:175
212
  msgid "Still need more speed?"
213
  msgstr ""
214
 
215
  #. Text in echo
216
+ #: speed-booster-pack/inc/template/options.php:167
217
  msgid ""
218
  "The default image compression setting in WordPress is 90%. Compressing your "
219
  "images further than the default will make your file sizes even smaller and "
221
  msgstr ""
222
 
223
  #. Text in echo
224
+ #: speed-booster-pack/inc/template/options.php:255
225
  msgid "Version Information"
226
  msgstr ""
227
 
228
  #. Text in echo
229
+ #: speed-booster-pack/inc/template/options.php:239
230
  msgid "What do these settings mean?"
231
  msgstr ""
232
 
233
+ #. Text in echo
234
+ #: speed-booster-pack/inc/template/options.php:218
235
+ msgid ""
236
+ "inserting all CSS styles inline to the footer could create some type of "
237
+ "flash of unstyled content(FOUC), i.e. first it shows your site content as "
238
+ "though it has not styles then the styled content appear after a very short "
239
+ "time (half of second or so). Enabling this option could eliminate this "
240
+ "unwanted effect. Please note that this is a beta option so if there is "
241
+ "something broken after activation, you need to disable this option."
242
+ msgstr ""
243
+
244
  #. Text in echo
245
  #: speed-booster-pack/inc/template/options.php:117
246
  msgid "q"
250
  #: speed-booster-pack/inc/template/options.php:105
251
  msgid "s"
252
  msgstr ""
253
+
254
+ #. Text in echo
255
+ #: speed-booster-pack/inc/template/options.php:217
256
+ msgid ""
257
+ "this option will eliminate render-blocking CSS warning in Google Page Speed "
258
+ "test. If there is something broken after activation, you need to disable "
259
+ "this option. Please note that before enabling this sensitive option, it is "
260
+ "strongly recommended that you also enable the \"Move scripts to the footer\" "
261
+ "option."
262
+ msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: speed, optimization, performance, scripts to the footer, google libraries, font awesome cdn, defer parsing of javascript, remove query strings, lazy load images, gtmetrix, google pageSpeed, yslow, eliminate external render-blocking javascript and css, compression, async, render-blocking css
5
  Requires at least: 3.6
6
  Tested up to: 3.9.1
7
- Stable tag: 2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -23,6 +23,12 @@ When visitors lands on your site for the first time, you only have 3 seconds to
23
  * 40% of people will abandon a site that takes more than 3 seconds to load
24
  * 80% of online consumers are less likely to return to a slow website
25
 
 
 
 
 
 
 
26
  = Main Plugin Features =
27
 
28
  * **Eliminates external render-blocking javascript and css** in above-the-fold content.
@@ -55,14 +61,20 @@ When visitors lands on your site for the first time, you only have 3 seconds to
55
  5. A new sub menu item `Speed Booster Pack` will appear in your main Settings menu.
56
 
57
  == Screenshots ==
58
- 1. Plugin options page, simple view (v2.1)
59
 
60
  == Changelog ==
61
 
 
 
 
 
 
 
62
  = 2.2 =
63
  * Fixed option to disable all CSS Async features on mobile devices.
64
  * Fixed incompatibility with WPtouch plugin. Thanks to [@DevilIce](http://profiles.wordpress.org/devilice) for the [bug report](http://wordpress.org/support/topic/css-asynchronously-and-wptouch-issue).
65
- * Update function wp_is_mobile() on lazy load images to really disabled this feature on mobile devices.
66
 
67
  = 2.1 =
68
  *Added an option to disable all CSS Async features on mobile devices, to avoid some appearance issues until finding a clean solution to fix it.
4
  Tags: speed, optimization, performance, scripts to the footer, google libraries, font awesome cdn, defer parsing of javascript, remove query strings, lazy load images, gtmetrix, google pageSpeed, yslow, eliminate external render-blocking javascript and css, compression, async, render-blocking css
5
  Requires at least: 3.6
6
  Tested up to: 3.9.1
7
+ Stable tag: 2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
23
  * 40% of people will abandon a site that takes more than 3 seconds to load
24
  * 80% of online consumers are less likely to return to a slow website
25
 
26
+ The following video is not about "how to get a score of 100 in Google Page Speed" but want to show the difference in points Before and After activating Speed ​​Booster Pack plugin:
27
+
28
+ https://www.youtube.com/watch?v=u0G6pk2mX4M
29
+
30
+ [This](http://tiguandesign.com/testing-speed-booster) is the website used in the video for testing Speed Booster Pack plugin. Test it yourself!
31
+
32
  = Main Plugin Features =
33
 
34
  * **Eliminates external render-blocking javascript and css** in above-the-fold content.
61
  5. A new sub menu item `Speed Booster Pack` will appear in your main Settings menu.
62
 
63
  == Screenshots ==
64
+ 1. Plugin options page, simple view (v2.3)
65
 
66
  == Changelog ==
67
 
68
+ = 2.3 =
69
+ * Added option to exclude certain CSS files from being loaded asynchronously.
70
+ * Changed the position of the styles when they are inlined to the footer (before js files).
71
+ * Added an experimental option to eliminate flash of unstyled content (FOUC) when all CSS styles are inlined to the footer.
72
+ * Translations updated.
73
+
74
  = 2.2 =
75
  * Fixed option to disable all CSS Async features on mobile devices.
76
  * Fixed incompatibility with WPtouch plugin. Thanks to [@DevilIce](http://profiles.wordpress.org/devilice) for the [bug report](http://wordpress.org/support/topic/css-asynchronously-and-wptouch-issue).
77
+ * Updated function wp_is_mobile() on lazy load images to really disabled this feature on mobile devices.
78
 
79
  = 2.1 =
80
  *Added an option to disable all CSS Async features on mobile devices, to avoid some appearance issues until finding a clean solution to fix it.
speed-booster-pack.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Speed Booster Pack
4
  * Plugin URI: http://wordpress.org/plugins/speed-booster-pack/
5
  * Description: Speed Booster Pack allows you to improve your page loading speed and get a higher score on the major speed testing services such as <a href="http://gtmetrix.com/">GTmetrix</a>, <a href="http://developers.google.com/speed/pagespeed/insights/">Google PageSpeed</a> or other speed testing tools.
6
- * Version: 2.2
7
  * Author: Tiguan
8
  * Author URI: http://tiguandesign.com
9
  * License: GPLv2
@@ -38,9 +38,10 @@ $sbp_options = get_option( 'sbp_settings', 'checked' ); // retrieve the plugin s
38
 
39
  define( 'SPEED_BOOSTER_PACK_RELEASE_DATE', date_i18n( 'F j, Y', '1400569200' ) ); // Defining plugin release date
40
  define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) ); // Defining plugin dir path
41
- define( 'SPEED_BOOSTER_PACK_VERSION', 'v2.2'); // Defining plugin version
42
  define( 'SPEED_BOOSTER_PACK_NAME', 'Speed Booster Pack Plugin'); // Defining plugin name
43
- define( 'SBP_FOOTER', 9999999 ); // Defining css position
 
44
 
45
  /*----------------------------------------------------------------------------------------------------------
46
  Main Plugin Class
@@ -78,7 +79,7 @@ define( 'SBP_FOOTER', 9999999 ); // Defining css position
78
  add_action( 'wp_enqueue_scripts', array( $this, 'sbp_enqueue_scripts' ) );
79
 
80
  // Render debugging information
81
- add_action( 'wp_footer', array( $this, 'sbp_debugg' ), SBP_FOOTER+3 );
82
 
83
  // Filters
84
  $this->path = plugin_basename( __FILE__ );
3
  * Plugin Name: Speed Booster Pack
4
  * Plugin URI: http://wordpress.org/plugins/speed-booster-pack/
5
  * Description: Speed Booster Pack allows you to improve your page loading speed and get a higher score on the major speed testing services such as <a href="http://gtmetrix.com/">GTmetrix</a>, <a href="http://developers.google.com/speed/pagespeed/insights/">Google PageSpeed</a> or other speed testing tools.
6
+ * Version: 2.3
7
  * Author: Tiguan
8
  * Author URI: http://tiguandesign.com
9
  * License: GPLv2
38
 
39
  define( 'SPEED_BOOSTER_PACK_RELEASE_DATE', date_i18n( 'F j, Y', '1400569200' ) ); // Defining plugin release date
40
  define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) ); // Defining plugin dir path
41
+ define( 'SPEED_BOOSTER_PACK_VERSION', 'v2.3'); // Defining plugin version
42
  define( 'SPEED_BOOSTER_PACK_NAME', 'Speed Booster Pack Plugin'); // Defining plugin name
43
+ define( 'SBP_FOOTER', 10 ); // Defining css position
44
+ define( 'SBP_FOOTER_LAST', 99999 ); // Defining css last position
45
 
46
  /*----------------------------------------------------------------------------------------------------------
47
  Main Plugin Class
79
  add_action( 'wp_enqueue_scripts', array( $this, 'sbp_enqueue_scripts' ) );
80
 
81
  // Render debugging information
82
+ add_action( 'wp_footer', array( $this, 'sbp_debugg' ), SBP_FOOTER_LAST );
83
 
84
  // Filters
85
  $this->path = plugin_basename( __FILE__ );