2013-03-19 10:16:20 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
Plugin Name: WP-FFPC
|
2014-08-22 11:55:25 +01:00
|
|
|
Plugin URI: https://github.com/petermolnar/wp-ffpc
|
|
|
|
Description: WordPress in-memory full page cache plugin
|
2016-04-21 16:32:26 +01:00
|
|
|
Version: 1.11.1
|
2013-03-19 10:16:20 +00:00
|
|
|
Author: Peter Molnar <hello@petermolnar.eu>
|
|
|
|
Author URI: http://petermolnar.eu/
|
|
|
|
License: GPLv3
|
2016-04-21 16:32:26 +01:00
|
|
|
Text Domain: wp-ffpc
|
|
|
|
Domain Path: /languages/
|
2013-03-19 10:16:20 +00:00
|
|
|
*/
|
|
|
|
|
2014-12-17 10:48:02 +00:00
|
|
|
/* Copyright 2010-2014 Peter Molnar ( hello@petermolnar.eu )
|
2013-03-19 10:16:20 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
*/
|
|
|
|
|
2016-01-15 20:18:18 +00:00
|
|
|
defined('ABSPATH') or die("Walk away.");
|
|
|
|
|
2013-03-19 10:16:20 +00:00
|
|
|
include_once ( 'wp-ffpc-class.php' );
|
|
|
|
|
|
|
|
$wp_ffpc_defaults = array (
|
|
|
|
'hosts'=>'127.0.0.1:11211',
|
2015-04-29 09:40:12 +01:00
|
|
|
'memcached_binary' => false,
|
|
|
|
'authpass' => '',
|
|
|
|
'authuser' => '',
|
2015-10-23 12:40:09 +01:00
|
|
|
'browsercache' => 0,
|
|
|
|
'browsercache_home' => 0,
|
|
|
|
'browsercache_taxonomy' => 0,
|
2015-04-29 09:40:12 +01:00
|
|
|
'expire' => 300,
|
|
|
|
'expire_home' => 300,
|
|
|
|
'expire_taxonomy' => 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,
|
|
|
|
'nocache_cookies' => false,
|
|
|
|
'nocache_dyn' => true,
|
2016-04-21 16:32:26 +01:00
|
|
|
'nocache_woocommerce' => true,
|
|
|
|
'nocache_woocommerce_url' => '',
|
2015-04-29 09:40:12 +01:00
|
|
|
'nocache_url' => '^/wp-',
|
2015-10-14 20:14:09 +01:00
|
|
|
'nocache_comment' => '',
|
2015-04-29 09:40:12 +01:00
|
|
|
'response_header' => false,
|
|
|
|
'generate_time' => false,
|
|
|
|
'precache_schedule' => 'null',
|
|
|
|
'key' => '$scheme://$host$request_uri',
|
2014-05-12 15:48:22 +01:00
|
|
|
'comments_invalidate' => true,
|
2015-04-29 09:40:12 +01:00
|
|
|
'pingback_header' => false,
|
2015-04-29 23:07:40 +01:00
|
|
|
'hashkey' => false,
|
2013-03-19 10:16:20 +00:00
|
|
|
);
|
|
|
|
|
2016-04-22 11:16:28 +01:00
|
|
|
$wp_ffpc = new WP_FFPC ( 'wp-ffpc', '1.11.2', 'WP-FFPC', $wp_ffpc_defaults, 'PeterMolnar_WordPressPlugins_wp-ffpc_HU' , 'WP-FFPC' , 'FA3NT7XDVHPWU' );
|