2013-03-19 10:16:20 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
Plugin Name: WP-FFPC
|
|
|
|
Plugin URI: http://petermolnar.eu/wordpress/wp-ffpc
|
|
|
|
Description: WordPress cache plugin for memcached & nginx - unbeatable speed
|
2014-05-30 11:22:21 +01:00
|
|
|
Version: 1.5.0
|
2013-03-19 10:16:20 +00:00
|
|
|
Author: Peter Molnar <hello@petermolnar.eu>
|
|
|
|
Author URI: http://petermolnar.eu/
|
|
|
|
License: GPLv3
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Copyright 2010-2013 Peter Molnar ( hello@petermolnar.eu )
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License, version 3, as
|
|
|
|
published by the Free Software Foundation.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
include_once ( 'wp-ffpc-class.php' );
|
|
|
|
|
|
|
|
$wp_ffpc_defaults = array (
|
|
|
|
'hosts'=>'127.0.0.1:11211',
|
2014-06-02 16:02:13 +01:00
|
|
|
'authpass'=>'',
|
|
|
|
'authuser'=>'',
|
2013-03-19 10:16:20 +00:00
|
|
|
'expire'=>300,
|
|
|
|
'invalidation_method'=>0,
|
|
|
|
'prefix_meta' =>'meta-',
|
|
|
|
'prefix_data' =>'data-',
|
|
|
|
'charset' => 'utf-8',
|
|
|
|
'log' => true,
|
|
|
|
'cache_type' => 'memcached',
|
|
|
|
'cache_loggedin' => false,
|
|
|
|
'nocache_home' => false,
|
|
|
|
'nocache_feed' => false,
|
|
|
|
'nocache_archive' => false,
|
|
|
|
'nocache_single' => false,
|
|
|
|
'nocache_page' => false,
|
2013-04-19 21:42:09 +01:00
|
|
|
'nocache_cookies' => false,
|
2013-03-19 10:16:20 +00:00
|
|
|
'persistent' => false,
|
|
|
|
'response_header' => false,
|
2013-03-25 13:11:49 +00:00
|
|
|
'generate_time' => false,
|
2013-06-17 12:28:49 +01:00
|
|
|
'precache_schedule' => 'null',
|
|
|
|
'key' => '$scheme://$host$request_uri',
|
2014-05-12 15:48:22 +01:00
|
|
|
'comments_invalidate' => true,
|
2013-03-19 10:16:20 +00:00
|
|
|
);
|
|
|
|
|
2014-06-26 08:57:10 +01:00
|
|
|
$wp_ffpc = new WP_FFPC ( 'wp-ffpc', '1.6.0', 'WP-FFPC', $wp_ffpc_defaults, 'PeterMolnar_WordPressPlugins_wp-ffpc_HU' , 'WP-FFPC' , 'FA3NT7XDVHPWU' );
|
2013-03-19 10:16:20 +00:00
|
|
|
|
2014-04-04 11:45:37 +01:00
|
|
|
?>
|