Plugin Directory

Changeset 886669


Ignore:
Timestamp:
04/03/2014 08:24:05 AM (12 years ago)
Author:
budiony
Message:

New version 0.6

Location:
bodi0s-easy-cache/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • bodi0s-easy-cache/trunk/bodi0-easy-cache-admin.php

    r874634 r886669  
    55Author: Budiony Damyanov
    66Email: [email protected]
    7 Version: 0.5
     7Version: 0.6
    88License: GPL2
    99
     
    109109if (!file_exists($cache_folder)) {
    110110//Attempt to create the unique cache folder
    111 $cache_folder_created = mkdir($cache_folder, 0755);
     111$cache_folder_created = @mkdir($cache_folder, 0755);
    112112    if (!$cache_folder_created) {
    113113?>
     
    122122
    123123}   
    124 
    125 
    126 
    127124
    128125/*****************************************************************************************************************************/
     
    161158        }
    162159    }   
    163 
    164 
    165 
    166 
    167 
    168 
    169 
    170 
    171 
    172 
    173160
    174161
     
    256243
    257244if(isset($_GET['restore']) && $_GET['restore']=='defaults' && ( wp_verify_nonce( $nonce, 'easy-cache-nonce' ))) {
    258     update_option("easy_cache_option_cache_time","5");
     245    update_option("easy_cache_option_cache_time","30");
    259246    update_option("easy_cache_option_cache_folder",untrailingslashit($upload_dir['basedir']).DIRECTORY_SEPARATOR."cached".DIRECTORY_SEPARATOR);
    260247    update_option("easy_cache_option_exclude_search_queries","No");
     
    265252    update_option("easy_cache_option_minified_css_files","");
    266253    update_option("easy_cache_option_skip_jetpack_mobile_caching","Yes");
    267     update_option("easy_cache_option_search_cache_timeout","5");
     254    update_option("easy_cache_option_search_cache_timeout","15");
    268255    //Response handling
    269256?>
  • bodi0s-easy-cache/trunk/bodi0-easy-cache-settings.php

    r874644 r886669  
    55Author: Budiony Damyanov
    66Email: [email protected]
    7 Version: 0.5
     7Version: 0.6
    88License: GPL2
    99
  • bodi0s-easy-cache/trunk/bodi0-easy-cache-start.php

    r874634 r886669  
    55Author: Budiony Damyanov
    66Email: [email protected]
    7 Version: 0.5
     7Version: 0.6
    88License: GPL2
    99
  • bodi0s-easy-cache/trunk/bodi0-easy-cache.php

    r874638 r886669  
    55Plugin URI: http://wordpress.org/plugins/bodi0s-easy-cache/
    66Description: Caches the pages/posts in your blog for improved performance.
    7 Version: 0.5
     7Version: 0.6
    88Text Domain: bodi0-easy-cache
    99Domain Path: /languages
     
    3838/*Set the default plugin options*/
    3939$plugin_options = array(
    40 'easy_cache_option_cache_time'=>'5',
     40'easy_cache_option_cache_time'=>'30',
    4141'easy_cache_option_cache_folder'=>untrailingslashit($upload_dir['basedir']).DIRECTORY_SEPARATOR."cached".DIRECTORY_SEPARATOR,
    4242'easy_cache_option_exclude_search_queries'=>'No',
     
    4747'easy_cache_option_minified_css_files'=>'',
    4848'easy_cache_option_skip_jetpack_mobile_caching'=>'Yes',
    49 'easy_cache_option_search_cache_timeout'=>'5'
     49'easy_cache_option_search_cache_timeout'=>'15'
    5050
    5151
  • bodi0s-easy-cache/trunk/lib/func.php

    r874657 r886669  
    55Author: bodi0
    66Email: [email protected]
    7 Version: 0.5
     7Version: 0.6
    88License: GPL2
    99
     
    160160        $buffer = preg_replace('~(\s)\1+~', '$1', $buffer);
    161161        $buffer = str_replace(array("\t","\r","\t\r","\r\t"),"", $buffer);
    162         $buffer = str_replace(array(" />"),"/>", $buffer);
    163         $buffer = str_replace(array(" </"),"</", $buffer);
     162        $buffer = str_replace(array(" />","/>\r","/>\r ","/>\n","/>\n ","/>\r\n","/>\r\n "),"/>", $buffer);
     163        $buffer = str_replace(array(" </","\r</"," \r</","\n</"," \n</","\r\n</"," \r\n</"),"</", $buffer);
     164        $buffer = str_replace(array(";\r",";\r\n",";\n","; "," ;"," ; "),";", $buffer);
     165        $buffer = str_replace(array("{ "," {"," { ","{  ","{ ", "{\r","{\n","{\r\n"), "{", $buffer);
     166        $buffer = str_replace(array("} "," }"," } ","}\r","}\n","}\r\n"), "}", $buffer);
     167
    164168        return $buffer;
    165169    }
  • bodi0s-easy-cache/trunk/readme.txt

    r874634 r886669  
    55Requires at least: 3.2.0
    66Tested up to: 3.8.1
    7 Stable tag: 0.5
     7Stable tag: 0.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7777**Will comments or any other dynamic parts of my blog update immediately?**
    7878
    79 It depends on your configuration of Easy cache. There is an automatic cache expiration system, which runs through WordPress® behind-the-scene, according to your Cached file expires setting (see: `Settings -› Easy cache -› Cached file expires after` and `Settings -› Easy cache -› Rebuild cached file on page/post/comment update`). The default value of 5 minutes is suitable for most cases. If you don't update your site too often, you could set this to 240 minutes (which is 4 hours) or longer. The longer the cache expiration time is, the greater your performance gain. Alternatively, the shorter the expiration time, the fresher everything will remain on your site, but at cost of slowdowns.
     79It depends on your configuration of Easy cache. There is an automatic cache expiration system, which runs through WordPress® behind-the-scene, according to your Cached file expires setting (see: `Settings -› Easy cache -› Cached file expires after` and `Settings -› Easy cache -› Rebuild cached file on page/post/comment update`). The default value of 30 minutes is suitable for most cases. If you don't update your site too often, you could set this to 240 minutes (which is 4 hours) or longer. The longer the cache expiration time is, the greater your performance gain. Alternatively, the shorter the expiration time, the fresher everything will remain on your site, but at cost of slowdowns.
    8080
    8181
     
    146146== Changelog ==
    147147
     148= 0.6 =
     149
     150-Improved HTML page compression
     151
    148152= 0.5 =
    149153
Note: See TracChangeset for help on using the changeset viewer.