From ee76a2a9d8634a62afdeade0ac84d00f8576660c Mon Sep 17 00:00:00 2001 From: Gabriele Lauricella Date: Thu, 21 Apr 2016 17:32:26 +0200 Subject: [PATCH 1/3] = 1.11.1 = * exclude cache for WooCommerce * fix load textdomain * add Italian (it_IT) translation --- readme.txt | 1176 +++++++++++++++++++++--------------------- wp-ffpc-abstract.php | 8 + wp-ffpc-acache.php | 10 + wp-ffpc-class.php | 31 +- wp-ffpc.php | 6 +- 5 files changed, 640 insertions(+), 591 deletions(-) diff --git a/readme.txt b/readme.txt index 88ddec1..b4baed7 100644 --- a/readme.txt +++ b/readme.txt @@ -1,584 +1,592 @@ -=== WP-FFPC === -Contributors: cadeyrn, ameir, haroldkyle, plescheff, dkcwd, IgorCode -Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XU3DG7LLA76WC -Tags: cache, page cache, full page cache, nginx, memcached, apc, speed -Requires at least: 3.0 -Tested up to: 4.4.1 -Stable tag: 1.11.0 -License: GPLv3 -License URI: http://www.gnu.org/licenses/gpl-3.0.html - -The fastest way to cache: use the memory! - -== Description == - -WP-FFPC ( WordPress Fast Full Page Cache ) is a cache plugin for [WordPress](http://wordpress.org/ "WordPress"). It works with any webserver, including apache2, lighttpd, nginx. - -It can be configured to join forces with [NGiNX](http://NGiNX.org "NGiNX")'s built-in [memcached plugin](http://nginx.org/en/docs/http/ngx_http_memcached_module.html "memcached plugin"). - -= **IMPORTANT NOTES, PLEASE READ THIS LIST** = - -* Requirements: - * WordPress >= 3.0 - * **at least one** of the following for storage backend: - * memcached with [PHP Memcached](http://php.net/manual/en/book.memcached.php "Memcached") > 0.1.0 - * memcached with [PHP Memcache](http://php.net/manual/en/book.memcache.php "Memcache") > 2.1.0 - * [APC](http://php.net/manual/en/book.apc.php "APC") - * [APCu](http://pecl.php.net/package/APCu "APC User Cache") - * PHP 5.3+ is really highly recommended, see "Known issues" -* This plugin does **not** kick in right after activation. You have to adjust the setting in Settings -> WP-FFPC and save the settings.* - - -= Known issues = - -* errors will not be displayed on the admin section if PHP < 5.3, only in the logs. This is due to the limitations of displaying the errors ( admin_notices is a hook, not a filter ) and due to the lack of proper anonymus functions in older PHP. PHP 5.3 is 5 years old, so it's time to upgrade. -* APC with PHP 5.4 is buggy; the plugin with that setup can even make your site slower. Please use APCu or memcached if you're using PHP >= 5.4 - -= Features: = - -* Wordpress Network support - * fully supported domain/subdomain based WordPress Networks on per site setup as well - * will work in Network Enabled mode only for subdirectory based Multisites ( per site settings will not work in this case ) -* supports various backends - * memcached with [PHP Memcached](http://php.net/manual/en/book.memcached.php "Memcached") - * memcached with [PHP Memcache](http://php.net/manual/en/book.memcache.php "Memcache") - * [APC](http://php.net/manual/en/book.apc.php "APC") - * [APCu](http://pecl.php.net/package/APCu "APC User Cache") - * [Xcache](http://xcache.lighttpd.net/ "Xcache") - not stable yet, volunteer testers required! -* cache exclude options ( home, feeds, archieves, pages, singles; regex based url exclusion ) -* (optional) cache for logged-in users -* 404 caching -* canonical redirects caching -* Last Modified HTTP header support ( for 304 responses ) -* shortlink HTTP header preservation -* pingback HTTP header preservation -* talkative log for [WP_DEBUG](http://codex.wordpress.org/WP_DEBUG "WP_DEBUG") -* multiple memcached upstream support -* precache ( manually or by timed by wp-cron ) -* varying expiration time for posts, taxonomies and home - - -Many thanks for donations, contributors, supporters, testers & bug reporters: - -* [Harold Kyle](https://github.com/haroldkyle) -* [Eric Gilette](http://www.ericgillette.com/) -* [doconeill](http://wordpress.org/support/profile/doconeill) -* Mark Costlow -* Jason Miller -* [Dave Clark](https://github.com/dkcwd) -* Miguel Clara -* [Anton Pelešev](https://github.com/plescheff) -* Firas Dib -* [CotswoldPhoto](http://wordpress.org/support/profile/cotswoldphoto) -* [tamagokun](https://github.com/tamagokun) -* Many Ayromlou -* mailgarant.nl -* Christian Rößner -* [Ameir Abdeldayem](https://github.com/ameir) -* [Alvaro Gonzalez](https://github.com/andor-pierdelacabeza) -* Meint Post -* Knut Sparhell -* Christian Kernbeis -* Gausden Barry -* Maksim Bukreyeu -* Lissome Hong Kong Limited - -== Installation == - -1. Upload contents of `wp-ffpc.zip` to the `/wp-content/plugins/` directory -2. Enable WordPress cache by adding `define('WP_CACHE',true);` in wp-config.php -3. Activate the plugin through the `Plugins` menu in WordPress ( site or Network wide ) -4. Check the settings in `Settings` ( site or Network Admin, depending on activation wideness ) -> `WP-FFPC` menu in WordPress. -5. Save the settings. THIS STEP IS MANDATORY: without saving the settings, there will be no activated caching! - -= Using the plugin with NGiNX = -If the storage engine is either PHP Memcache or PHP Memcached extension, the created entries can be read and served directly from NGiNX ( if it has memcache or memc extension ) -A short configuration example is generated on the plugin settings page, under `NGiNX` tab according to the saved settings. -**NOTE:** Some features ( most of additional HTTP headers for example, like pingback, shortlink, etc. ) will not be available with this solution. - -== Frequently Asked Questions == - -= How to use the plugin on Amazon Linux? = -You have to remove the default yum package, named `php-pecl-memcache` and install `Memcached` through PECL. - -= How to use the plugin in a WordPress Network = -From version 1.0, the plugin supports subdomain based WordPress Network with possible different per site cache settings. If the plugin is network active, obviously the network wide settings will be used for all of the sites. If it's activated only on some of the sites, the other will not be affected and even the cache storage backend can be different from site to site. - -= How logging works in the plugin? = -Log levels by default ( if logging enabled ) includes warning and error level standard PHP messages. -Additional info level log is available when [WP_DEBUG](http://codex.wordpress.org/WP_DEBUG "WP_DEBUG") is enabled. - -= How can I contribute? = -In order to make contributions a lot easier, I've moved the plugin development to [GitHub](https://github.com/petermolnar/wp-ffpc "GitHub"), feel free to fork and put shiny, new things in it and get in touch with me [hello@petermolnar.eu](mailto:hello@petermolnar.eu "hello@petermolnar.eu") when you have it ready. - -= Where can I turn for support? = -I provide support for the plugin as best as I can, but it comes without guarantee. -Please post feature requests to [WP-FFPC feature request topic](http://wordpress.org/support/topic/feature-requests-14 "WP-FFPC feature request topic") and any questions on the forum. - -== Screenshots == - -1. settings screen, cache type and basic settings -2. debug and in depth-options -3. cache exceptions -4. memcached servers settings -5. NGiNX example - -== Changelog == - -Version numbering logic: - -* every A. indicates BIG changes. -* every .B version indicates new features. -* every ..C indicates bugfixes for A.B version. - -= 1.11.0 = -*2016-01-15* - -* merged filter for HTML before it hits the cache -* refactored logging - -= 1.10.1 = -*2015-10-30* - -* fixed nginx configuration sample snippets -* nginx configuration moved from Settings tab to Help tab, so if you're looking for the "nginx" tab, you need to look under "Help" on the WP-FFPC Settings page. - -= 1.10.0 = -*2015-10-23* - -*IMPORTANT, READ THIS* - -* Proper browser cache support: - * new options to set real browser cache expiry for singles, taxonomy and home - * added Etag support based on browser cache expiry - * added proper Expires header according to cache entry generation time + browser cache expiry - * added support for Last Modified header for home & taxonomy ( singles already had it) based on the last post modified date within the taxonomy - -= 1.9.1 = -*2015-10-18* - -* bugfix for is_writable check failures ( see: https://wordpress.org/support/topic/settings-saved-but-getting-not-saved-error-message) -* bugfix for memcached.protocol notice -* typo fixes -* replace variable with string constant in translatable messages - -= 1.9.0 = -*2015-10-14* - -* adding exclude option based on text entry matching ( regex ) - -= 1.8.4 = -*2015-10-13* - -* changes in HTML debug comment: instead of the former, single comment, now 2 comments are added. The first is added when the cache entry is generated; the second only appears if the page was served from the cached entry. Please note that this last bit will - should - change with every single refresh. -* backend code is now split into separate files -* more debug code - -= 1.8.3 = -*2015-05-07* - -* small change in key creation: prefix is kept in front of sha1 hashes for debugging purposes - -= 1.8.2 = -*2015-04-30* - -* sha1 key hashing made to be optional -* added additional debug condition of WP_FFPC__DEBUG_MODE constant to be `true` - - -= 1.8.1 = -*2015-04-29* - -* fixing the wrong release of 1.8.0 - -= 1.8.0 = -*2015-04-29* - -What's new: - -* backend keys are now sha1 hashes instead of full url; this is to prevent too long key error with memcached - -Under the hood: -* wp-common is removed; no more git submodules -* logging method changed - -= 1.7.9 = -*2015-02-02* - -What's new: - -* detailed log messages for other log message clarification -* added auto-upgrade for advanced-cache.php on plugin upgrade - - -= 1.7.8 = -*2015-01-30* - -What's new: - -* merged pull request for [wp-ffpc-purge](https://github.com/zeroturnaround/wp-ffpc-purge) - - -= 1.7.7 = -*2015-01-14* - -What's fixed: - -* fixed alert backwards compatibility for PHP < 5.3 - - -= 1.7.6 = -*2015-01-09* - -What's fixed: - -* anonymus function call only for PHP 5.3 - -= 1.7.5 = -*2014-12-29* - -What's fixed: - -* wp-ffpc was not actually alerting when it had issues; this should be fixed now - -This was a really bad bug and it could have cause a lot of issues since the plugin was probably not working in some cases when the alerts went unnoticed. Due to WordPress restrictions on admin_notices hook I had to use PHP features only present since 5.3. Please keep this in mind. - - -= 1.7.4 = -*2014-12-17* - -What's changed: - -* localhost cache forced exclude removed; instead please use `define('WP_CACHE', $_SERVER['REMOTE_ADDR'] !== '127.0.0.1');` instead as pointed out by [plescheff](https://github.com/petermolnar/wp-ffpc/commit/eb4942005273822aec8c2da09f0e763807f94f9c#commitcomment-9006031) if required -* compatibility tested up to WordPress 4.1 - -= 1.7.3 = -*2014-12-17* - -What's fixed: - -* expiration time set to '0' resulted instant expiration instead of infinite keep; fixed now - -= 1.7.2 = -*2014-12-08* - -What's changed: - -* merged pull request for memcached proxy compatibility; memcached binary mode if off by default from now on - -= 1.7.1 = -*2014-12-04* - -What's fixed: - -* [Unable to determine path from Post Permalink](https://wordpress.org/support/topic/unable-to-determine-path-from-post-permalink) noise fixed -* potential Multisite precache bug fixed ( database prefixes were not set according to original prefix ) - -What's new: - -* added permanent cache exception of localhost - -What's changed: - -* pingback header preservation is now off by default and can manually be turned on - -= 1.7.0 = -*2014-09-19* - -What's new: - -* added varying expiration time options - -What's changed: - -* **dropped Xcache support**: the reasons behind this is the outstandingly terrible documentation of Xcache -* **dropped persistent memcache mode**: no one was using it and even if the were only caused trouble -* **removed '/wp-' hardcoded cache exception**; this is now the default in the regex exceptions field as ^/wp-; please add this manually in case you've already been using the regex field - -= 1.6.4 = -*2014-09-12* - -What's fixed: - -* downgraded log level from halting-level fatal to warning ( thank you PHP for the consistent naming... ) in case the selected extension is missing -* leftover code parts cleanup - -= 1.6.3 = -*2014-09-12* - -What's fixed: - -* there were still some alway-on log messages - -= 1.6.2 = -*2014-09-05* - -What's fixed: - -* merge pulled from [plescheff](https://github.com/petermolnar/wp-ffpc/pull/25) -* fixed bug of alway-on log messages ( warning was set to default where notice should have been ) - -= 1.6.1 = -*2014-09-04* - -What's fixed: - -1.6 release, correcting SVN madness with non-recursive copies. - -= 1.6.0 = -*2014-05-30* - -What's new: - -* added functionality to exclude regex urls, contribution from [plescheff](https://github.com/plescheff/wp-ffpc/commit/3c875ad4fe1e083d3968421dd83b9c179c686649) -* added functionality to include "?" containing URL - -What's fixed: - -* some warning messages removed in case there's not a single backend installed when the plugin is activated -* fixed issue of resetting settings when new version of defaults was released - -Under the hood: - -* major changes to the abstract wp-common class for better interoperability between my plugins - - -= 1.5.0 = -*2014-05-30* - -What's new: - -* APCu backend added ( APCu is a stripped version of APC with only user object cache functionality what can be used with PHP 5.4 & 5.5 besides [Opcache](http://php.net/manual/en/book.opcache.php "PHP Opcache") ) - -= 1.4.0 = -*2014-05-12* - -What's new: - -* Xcache backend added ( theoretical, partially tested, volunteer testers required ) - -What's fixed: - -* invalidation for comment actions added - -= 1.3.3 = -*2014-04-29* - -What's changed: - -* removed broadcast message -* better logs ( additional logs and adding translation compatibility ) - -= 1.3.2 = -*2014-04-09* - -What's fixed: - -* 1.3.1 was a quickfix for an uncommitted change required for 1.3 to work. -* removed PHP warning in case WP_CACHE was off ( see https://github.com/petermolnar/wp-ffpc/issues/14 ) -* PHP notices in log from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") -* ms is really second - - -= 1.3 = -*2014-04-04* - -What's fixed: - -* uninstall will not fail anymore ( and I hate PHP for it's retarted language restrictions ) -* typo fix for memcache functions from [Dave Clark](https://github.com/dkcwd "Dave Clark") -* uninstall security lines from [Dave Clark](https://github.com/dkcwd "Dave Clark") -* modification to nginx sample file from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") to skip all urls with query string present - -What's new: - -* added unix socket memcache module support ( ONLY for memcache backend for now ) - -= 1.2.2 = -*2013-11-07* - -What's fixed: - -* 404 for first hit of 404 pages; bug report from [phoenix13](wordpress.org/support/profile/phoenix13 phoenix13) - -= 1.2.1 = -*2013-07-23* - -What's fixed: - -* call to undefined function get_blog_option error fixed - -= 1.2 = -*2013-07-17* - -What's new: - -* additional cookie patterns to exclude visitors from cache, contribution from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") -* syslog dropped; using "regular" PHP log instead -* pre-cache from wp-cron -* changeable key scheme ( was fixed previously ); possibility to add user-specific cache if PHPESSID cookie is present - -What's fixed: - -* logged in cookie check fixed ( was not checking all WordPress cookies ) -* global error messages to show if settings are not saved - -**Dropped functionalities** - -* there's no info log on/off anymore, it's triggered when WP_DEBUG is active -* sync protocols has been removed for two reasons: this has to be done by other systems and causes issues in special cases - -**For Devs** - -* the abstract class have been moved into a separate Github repository, [wp-common](https://github.com/petermolnar/wp-common "wp-common"). Because PHP is not capable of replacing/redefining classes, there's a versioning with the abstract and the utilities class, please be aware of this. - -= 1.1.1 = -*2013-04-25* - -* bugfix: Memcache plugin was diplaying server status incorrectly ( although the plugin was working ) -* bugfix: typo prevented log to work correctly - -= 1.1 = -*2013-04-24* - -What's new: - -* HTML comment option for displaying cache info before closing "body" tag ( a.k.a make sure it works "noob" method ) -* pre-cache function ( only manual pre-cache is enabled for now; uses permalinks structure ) -* new, additional invalidation method: clear post & all taxonomy cache, including feeds -* full virtual server example to use the plugin with nginx ( originally it was only a snippet required to use the plugin ) - -What's fixed: - -* contributed fixes from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") to surpress PHP notices and warnings; better CSS & JS enqueue; corrected admin panel descriptions -* bugfix for status check ( there were situations where the status was not updated correctly ) -* manual flush cache bug fixed ( was only flushing if the settings were on "flush all" ) -* bugfix on data & meta prefixes ( some places used hardcoded prefixes ) -* feed caching fixed ( due to a security check it turned out feeds were excluded for a long time ) - -= 1.0 = -*2013-03-22* - -* plugin development using [GitHub repository](https://github.com/petermolnar/wp-ffpc "GitHub repository") from this version -* Software licence change from GPLv2 to GPLv3 -* backend code completely replaced ( object-based backend, improved readability & better structure, lot less global vars, etc. ) -* added proper uninstall ( uninstall hook was not removing options from DB, uninstall.php will ) -* revisited multisite support ( eliminated overwriting-problems ) -* preparations for localization support ( all strings are now go through WordPress translate if available ) -* more detailed log & error messages -* retouched Memcache initialization ( faster connect, cleaner persistent connections ) -* proper settings migration from previous versions - -**Bugfixes** - -* faulty expiration times fixed -* eliminated warning message for memcache when no memcache extension is present -* fixed multisite settings overwriting issue - -**Dropped functions** - -* APC entry compression support - -= 0.6.1 = -*2013-03-08* - -* refactored & corrected backend status check for memcached driver - -= 0.6 = -*2013-03-08* - -* true WordPress Network support: - * if enabled network-wide, settings will be the same for every site - * if enabled only per site settings could vary from site to site and cache could be active or disabled on a per site basis without interfering other sites -* delete options button to help solving problems - -= 0.5.1 = -*2013-03-07* - -* settings link for plugins page -* readme cleanup -* setting link URL repair & cleanup - -= 0.5 = -*2013-03-06* -WARNING, MAJOR CHANGES! - -* default values bug ( causing %3C bug ) really fixed by the help of Mark Costlow -* UI cleanup, new tabbed layout -* WP-FFPC options moved from global menu to under Settings in both Site and Network Admin interfaces -* added 'persistent' checkbox for memcached connections -* added support for multiple memcached servers, feature request from ivan.buttinoni ( ivanbuttinoni @ WordPress.org forum ) -* case-sensitive string checks replaced with case-insensitives, contribution of Mark Costlow -* refactored settings saving mechanism -* additional syslog informations -* additional comments on the code -* lots of minor fixes and code cleanup -* donation link on the top - -= 0.4.3 = -*2013-03-03* - -* long-running %3C bug fixed by the help of Mark Costlow , many thanks for it. It was cause by a bad check in the default values set-up: is_numeric applies for string numbers as well, which was unknown to me, and cause some of the values to be 0 where they should have been something different. - -= 0.4.2 = -*2012-12-07* - -* added optional sync protocoll option: replace all http->https or https->http depending on request protocol -* binary mode is working correctly with memcached extension -* added warning message for memcache extension in binary mode - -**KNOWN ISSUES** - -There are major problems with the "memcache" driver, the source is yet unkown. The situation is that there's no response from the memcached server using this driver; please avoid using it! - -= 0.4.1 = -*2012-08-16* - -* storage key extended with scheme ( http; https; etc. ), the miss caused problems when https request server CSS and JS files via http. - -= 0.4 = -*2012-08-06* - -* tested against new WordPress versions -* added lines to "memcached" storage to be able to work with NGiNX as well -* added lines to "memcached" to use binary protocol ( tested with PHP Memcached version 2.0.1 ) - -**KNOWN ISSUES** - -* "memcache" extension fails in binary mode; the reason is under investigation - -= 0.3.2 = -*2012-02-27* - -* apc_cache_info replaced with apc_sma_info, makes plugin faster - -= 0.3 = -*2012-02-21* - -* added syslog debug messages possibility -* bugfix: removed (accidently used) short_open_tags - -= 0.2.3 = -*2012-02-21* - -* NGiNX-sample.conf file added, NGiNX config is created from here - -= 0.2.2 = -*2012-02-21* - -* memcache types bugfix, reported in forum, thanks! - -= 0.2.1 = -*2012-02-21* - -* bugfix, duplicated inclusion could emerge, fix added, thanks for Géza Kuti for reporting! - -= 0.2 = -*2012-02-19* - -* added APC compression option ( requires PHP ZLIB ). Useful is output pages are large. Compression is on lowest level, therefore size/CPU load is more or less optimal. - -= 0.1 = -*2012-02-16* - -* first public release +=== WP-FFPC === +Contributors: cadeyrn, ameir, haroldkyle, plescheff, dkcwd, IgorCode +Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XU3DG7LLA76WC +Tags: cache, page cache, full page cache, nginx, memcached, apc, speed +Requires at least: 3.0 +Tested up to: 4.5 +Stable tag: 1.11.1 +License: GPLv3 +License URI: http://www.gnu.org/licenses/gpl-3.0.html + +The fastest way to cache: use the memory! + +== Description == + +WP-FFPC ( WordPress Fast Full Page Cache ) is a cache plugin for [WordPress](http://wordpress.org/ "WordPress"). It works with any webserver, including apache2, lighttpd, nginx. + +It can be configured to join forces with [NGiNX](http://NGiNX.org "NGiNX")'s built-in [memcached plugin](http://nginx.org/en/docs/http/ngx_http_memcached_module.html "memcached plugin"). + += **IMPORTANT NOTES, PLEASE READ THIS LIST** = + +* Requirements: + * WordPress >= 3.0 + * **at least one** of the following for storage backend: + * memcached with [PHP Memcached](http://php.net/manual/en/book.memcached.php "Memcached") > 0.1.0 + * memcached with [PHP Memcache](http://php.net/manual/en/book.memcache.php "Memcache") > 2.1.0 + * [APC](http://php.net/manual/en/book.apc.php "APC") + * [APCu](http://pecl.php.net/package/APCu "APC User Cache") + * PHP 5.3+ is really highly recommended, see "Known issues" +* This plugin does **not** kick in right after activation. You have to adjust the setting in Settings -> WP-FFPC and save the settings.* + + += Known issues = + +* errors will not be displayed on the admin section if PHP < 5.3, only in the logs. This is due to the limitations of displaying the errors ( admin_notices is a hook, not a filter ) and due to the lack of proper anonymus functions in older PHP. PHP 5.3 is 5 years old, so it's time to upgrade. +* APC with PHP 5.4 is buggy; the plugin with that setup can even make your site slower. Please use APCu or memcached if you're using PHP >= 5.4 + += Features: = + +* Wordpress Network support + * fully supported domain/subdomain based WordPress Networks on per site setup as well + * will work in Network Enabled mode only for subdirectory based Multisites ( per site settings will not work in this case ) +* supports various backends + * memcached with [PHP Memcached](http://php.net/manual/en/book.memcached.php "Memcached") + * memcached with [PHP Memcache](http://php.net/manual/en/book.memcache.php "Memcache") + * [APC](http://php.net/manual/en/book.apc.php "APC") + * [APCu](http://pecl.php.net/package/APCu "APC User Cache") + * [Xcache](http://xcache.lighttpd.net/ "Xcache") - not stable yet, volunteer testers required! +* cache exclude options ( home, feeds, archieves, pages, singles; regex based url exclusion ) +* (optional) cache for logged-in users +* 404 caching +* canonical redirects caching +* Last Modified HTTP header support ( for 304 responses ) +* shortlink HTTP header preservation +* pingback HTTP header preservation +* talkative log for [WP_DEBUG](http://codex.wordpress.org/WP_DEBUG "WP_DEBUG") +* multiple memcached upstream support +* precache ( manually or by timed by wp-cron ) +* varying expiration time for posts, taxonomies and home + + +Many thanks for donations, contributors, supporters, testers & bug reporters: + +* [Harold Kyle](https://github.com/haroldkyle) +* [Eric Gilette](http://www.ericgillette.com/) +* [doconeill](http://wordpress.org/support/profile/doconeill) +* Mark Costlow +* Jason Miller +* [Dave Clark](https://github.com/dkcwd) +* Miguel Clara +* [Anton Pelešev](https://github.com/plescheff) +* Firas Dib +* [CotswoldPhoto](http://wordpress.org/support/profile/cotswoldphoto) +* [tamagokun](https://github.com/tamagokun) +* Many Ayromlou +* mailgarant.nl +* Christian Rößner +* [Ameir Abdeldayem](https://github.com/ameir) +* [Alvaro Gonzalez](https://github.com/andor-pierdelacabeza) +* Meint Post +* Knut Sparhell +* Christian Kernbeis +* Gausden Barry +* Maksim Bukreyeu +* Lissome Hong Kong Limited +* [Gabriele Lauricella](https://github.com/gablau) + +== Installation == + +1. Upload contents of `wp-ffpc.zip` to the `/wp-content/plugins/` directory +2. Enable WordPress cache by adding `define('WP_CACHE',true);` in wp-config.php +3. Activate the plugin through the `Plugins` menu in WordPress ( site or Network wide ) +4. Check the settings in `Settings` ( site or Network Admin, depending on activation wideness ) -> `WP-FFPC` menu in WordPress. +5. Save the settings. THIS STEP IS MANDATORY: without saving the settings, there will be no activated caching! + += Using the plugin with NGiNX = +If the storage engine is either PHP Memcache or PHP Memcached extension, the created entries can be read and served directly from NGiNX ( if it has memcache or memc extension ) +A short configuration example is generated on the plugin settings page, under `NGiNX` tab according to the saved settings. +**NOTE:** Some features ( most of additional HTTP headers for example, like pingback, shortlink, etc. ) will not be available with this solution. + +== Frequently Asked Questions == + += How to use the plugin on Amazon Linux? = +You have to remove the default yum package, named `php-pecl-memcache` and install `Memcached` through PECL. + += How to use the plugin in a WordPress Network = +From version 1.0, the plugin supports subdomain based WordPress Network with possible different per site cache settings. If the plugin is network active, obviously the network wide settings will be used for all of the sites. If it's activated only on some of the sites, the other will not be affected and even the cache storage backend can be different from site to site. + += How logging works in the plugin? = +Log levels by default ( if logging enabled ) includes warning and error level standard PHP messages. +Additional info level log is available when [WP_DEBUG](http://codex.wordpress.org/WP_DEBUG "WP_DEBUG") is enabled. + += How can I contribute? = +In order to make contributions a lot easier, I've moved the plugin development to [GitHub](https://github.com/petermolnar/wp-ffpc "GitHub"), feel free to fork and put shiny, new things in it and get in touch with me [hello@petermolnar.eu](mailto:hello@petermolnar.eu "hello@petermolnar.eu") when you have it ready. + += Where can I turn for support? = +I provide support for the plugin as best as I can, but it comes without guarantee. +Please post feature requests to [WP-FFPC feature request topic](http://wordpress.org/support/topic/feature-requests-14 "WP-FFPC feature request topic") and any questions on the forum. + +== Screenshots == + +1. settings screen, cache type and basic settings +2. debug and in depth-options +3. cache exceptions +4. memcached servers settings +5. NGiNX example + +== Changelog == + +Version numbering logic: + +* every A. indicates BIG changes. +* every .B version indicates new features. +* every ..C indicates bugfixes for A.B version. + += 1.11.1 = +*2016-04-21* + +* exclude cache for WooCommerce +* fix load textdomain +* add Italian (it_IT) translation + += 1.11.0 = +*2016-01-15* + +* merged filter for HTML before it hits the cache +* refactored logging + += 1.10.1 = +*2015-10-30* + +* fixed nginx configuration sample snippets +* nginx configuration moved from Settings tab to Help tab, so if you're looking for the "nginx" tab, you need to look under "Help" on the WP-FFPC Settings page. + += 1.10.0 = +*2015-10-23* + +*IMPORTANT, READ THIS* + +* Proper browser cache support: + * new options to set real browser cache expiry for singles, taxonomy and home + * added Etag support based on browser cache expiry + * added proper Expires header according to cache entry generation time + browser cache expiry + * added support for Last Modified header for home & taxonomy ( singles already had it) based on the last post modified date within the taxonomy + += 1.9.1 = +*2015-10-18* + +* bugfix for is_writable check failures ( see: https://wordpress.org/support/topic/settings-saved-but-getting-not-saved-error-message) +* bugfix for memcached.protocol notice +* typo fixes +* replace variable with string constant in translatable messages + += 1.9.0 = +*2015-10-14* + +* adding exclude option based on text entry matching ( regex ) + += 1.8.4 = +*2015-10-13* + +* changes in HTML debug comment: instead of the former, single comment, now 2 comments are added. The first is added when the cache entry is generated; the second only appears if the page was served from the cached entry. Please note that this last bit will - should - change with every single refresh. +* backend code is now split into separate files +* more debug code + += 1.8.3 = +*2015-05-07* + +* small change in key creation: prefix is kept in front of sha1 hashes for debugging purposes + += 1.8.2 = +*2015-04-30* + +* sha1 key hashing made to be optional +* added additional debug condition of WP_FFPC__DEBUG_MODE constant to be `true` + + += 1.8.1 = +*2015-04-29* + +* fixing the wrong release of 1.8.0 + += 1.8.0 = +*2015-04-29* + +What's new: + +* backend keys are now sha1 hashes instead of full url; this is to prevent too long key error with memcached + +Under the hood: +* wp-common is removed; no more git submodules +* logging method changed + += 1.7.9 = +*2015-02-02* + +What's new: + +* detailed log messages for other log message clarification +* added auto-upgrade for advanced-cache.php on plugin upgrade + + += 1.7.8 = +*2015-01-30* + +What's new: + +* merged pull request for [wp-ffpc-purge](https://github.com/zeroturnaround/wp-ffpc-purge) + + += 1.7.7 = +*2015-01-14* + +What's fixed: + +* fixed alert backwards compatibility for PHP < 5.3 + + += 1.7.6 = +*2015-01-09* + +What's fixed: + +* anonymus function call only for PHP 5.3 + += 1.7.5 = +*2014-12-29* + +What's fixed: + +* wp-ffpc was not actually alerting when it had issues; this should be fixed now + +This was a really bad bug and it could have cause a lot of issues since the plugin was probably not working in some cases when the alerts went unnoticed. Due to WordPress restrictions on admin_notices hook I had to use PHP features only present since 5.3. Please keep this in mind. + + += 1.7.4 = +*2014-12-17* + +What's changed: + +* localhost cache forced exclude removed; instead please use `define('WP_CACHE', $_SERVER['REMOTE_ADDR'] !== '127.0.0.1');` instead as pointed out by [plescheff](https://github.com/petermolnar/wp-ffpc/commit/eb4942005273822aec8c2da09f0e763807f94f9c#commitcomment-9006031) if required +* compatibility tested up to WordPress 4.1 + += 1.7.3 = +*2014-12-17* + +What's fixed: + +* expiration time set to '0' resulted instant expiration instead of infinite keep; fixed now + += 1.7.2 = +*2014-12-08* + +What's changed: + +* merged pull request for memcached proxy compatibility; memcached binary mode if off by default from now on + += 1.7.1 = +*2014-12-04* + +What's fixed: + +* [Unable to determine path from Post Permalink](https://wordpress.org/support/topic/unable-to-determine-path-from-post-permalink) noise fixed +* potential Multisite precache bug fixed ( database prefixes were not set according to original prefix ) + +What's new: + +* added permanent cache exception of localhost + +What's changed: + +* pingback header preservation is now off by default and can manually be turned on + += 1.7.0 = +*2014-09-19* + +What's new: + +* added varying expiration time options + +What's changed: + +* **dropped Xcache support**: the reasons behind this is the outstandingly terrible documentation of Xcache +* **dropped persistent memcache mode**: no one was using it and even if the were only caused trouble +* **removed '/wp-' hardcoded cache exception**; this is now the default in the regex exceptions field as ^/wp-; please add this manually in case you've already been using the regex field + += 1.6.4 = +*2014-09-12* + +What's fixed: + +* downgraded log level from halting-level fatal to warning ( thank you PHP for the consistent naming... ) in case the selected extension is missing +* leftover code parts cleanup + += 1.6.3 = +*2014-09-12* + +What's fixed: + +* there were still some alway-on log messages + += 1.6.2 = +*2014-09-05* + +What's fixed: + +* merge pulled from [plescheff](https://github.com/petermolnar/wp-ffpc/pull/25) +* fixed bug of alway-on log messages ( warning was set to default where notice should have been ) + += 1.6.1 = +*2014-09-04* + +What's fixed: + +1.6 release, correcting SVN madness with non-recursive copies. + += 1.6.0 = +*2014-05-30* + +What's new: + +* added functionality to exclude regex urls, contribution from [plescheff](https://github.com/plescheff/wp-ffpc/commit/3c875ad4fe1e083d3968421dd83b9c179c686649) +* added functionality to include "?" containing URL + +What's fixed: + +* some warning messages removed in case there's not a single backend installed when the plugin is activated +* fixed issue of resetting settings when new version of defaults was released + +Under the hood: + +* major changes to the abstract wp-common class for better interoperability between my plugins + + += 1.5.0 = +*2014-05-30* + +What's new: + +* APCu backend added ( APCu is a stripped version of APC with only user object cache functionality what can be used with PHP 5.4 & 5.5 besides [Opcache](http://php.net/manual/en/book.opcache.php "PHP Opcache") ) + += 1.4.0 = +*2014-05-12* + +What's new: + +* Xcache backend added ( theoretical, partially tested, volunteer testers required ) + +What's fixed: + +* invalidation for comment actions added + += 1.3.3 = +*2014-04-29* + +What's changed: + +* removed broadcast message +* better logs ( additional logs and adding translation compatibility ) + += 1.3.2 = +*2014-04-09* + +What's fixed: + +* 1.3.1 was a quickfix for an uncommitted change required for 1.3 to work. +* removed PHP warning in case WP_CACHE was off ( see https://github.com/petermolnar/wp-ffpc/issues/14 ) +* PHP notices in log from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") +* ms is really second + + += 1.3 = +*2014-04-04* + +What's fixed: + +* uninstall will not fail anymore ( and I hate PHP for it's retarted language restrictions ) +* typo fix for memcache functions from [Dave Clark](https://github.com/dkcwd "Dave Clark") +* uninstall security lines from [Dave Clark](https://github.com/dkcwd "Dave Clark") +* modification to nginx sample file from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") to skip all urls with query string present + +What's new: + +* added unix socket memcache module support ( ONLY for memcache backend for now ) + += 1.2.2 = +*2013-11-07* + +What's fixed: + +* 404 for first hit of 404 pages; bug report from [phoenix13](wordpress.org/support/profile/phoenix13 phoenix13) + += 1.2.1 = +*2013-07-23* + +What's fixed: + +* call to undefined function get_blog_option error fixed + += 1.2 = +*2013-07-17* + +What's new: + +* additional cookie patterns to exclude visitors from cache, contribution from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") +* syslog dropped; using "regular" PHP log instead +* pre-cache from wp-cron +* changeable key scheme ( was fixed previously ); possibility to add user-specific cache if PHPESSID cookie is present + +What's fixed: + +* logged in cookie check fixed ( was not checking all WordPress cookies ) +* global error messages to show if settings are not saved + +**Dropped functionalities** + +* there's no info log on/off anymore, it's triggered when WP_DEBUG is active +* sync protocols has been removed for two reasons: this has to be done by other systems and causes issues in special cases + +**For Devs** + +* the abstract class have been moved into a separate Github repository, [wp-common](https://github.com/petermolnar/wp-common "wp-common"). Because PHP is not capable of replacing/redefining classes, there's a versioning with the abstract and the utilities class, please be aware of this. + += 1.1.1 = +*2013-04-25* + +* bugfix: Memcache plugin was diplaying server status incorrectly ( although the plugin was working ) +* bugfix: typo prevented log to work correctly + += 1.1 = +*2013-04-24* + +What's new: + +* HTML comment option for displaying cache info before closing "body" tag ( a.k.a make sure it works "noob" method ) +* pre-cache function ( only manual pre-cache is enabled for now; uses permalinks structure ) +* new, additional invalidation method: clear post & all taxonomy cache, including feeds +* full virtual server example to use the plugin with nginx ( originally it was only a snippet required to use the plugin ) + +What's fixed: + +* contributed fixes from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") to surpress PHP notices and warnings; better CSS & JS enqueue; corrected admin panel descriptions +* bugfix for status check ( there were situations where the status was not updated correctly ) +* manual flush cache bug fixed ( was only flushing if the settings were on "flush all" ) +* bugfix on data & meta prefixes ( some places used hardcoded prefixes ) +* feed caching fixed ( due to a security check it turned out feeds were excluded for a long time ) + += 1.0 = +*2013-03-22* + +* plugin development using [GitHub repository](https://github.com/petermolnar/wp-ffpc "GitHub repository") from this version +* Software licence change from GPLv2 to GPLv3 +* backend code completely replaced ( object-based backend, improved readability & better structure, lot less global vars, etc. ) +* added proper uninstall ( uninstall hook was not removing options from DB, uninstall.php will ) +* revisited multisite support ( eliminated overwriting-problems ) +* preparations for localization support ( all strings are now go through WordPress translate if available ) +* more detailed log & error messages +* retouched Memcache initialization ( faster connect, cleaner persistent connections ) +* proper settings migration from previous versions + +**Bugfixes** + +* faulty expiration times fixed +* eliminated warning message for memcache when no memcache extension is present +* fixed multisite settings overwriting issue + +**Dropped functions** + +* APC entry compression support + += 0.6.1 = +*2013-03-08* + +* refactored & corrected backend status check for memcached driver + += 0.6 = +*2013-03-08* + +* true WordPress Network support: + * if enabled network-wide, settings will be the same for every site + * if enabled only per site settings could vary from site to site and cache could be active or disabled on a per site basis without interfering other sites +* delete options button to help solving problems + += 0.5.1 = +*2013-03-07* + +* settings link for plugins page +* readme cleanup +* setting link URL repair & cleanup + += 0.5 = +*2013-03-06* +WARNING, MAJOR CHANGES! + +* default values bug ( causing %3C bug ) really fixed by the help of Mark Costlow +* UI cleanup, new tabbed layout +* WP-FFPC options moved from global menu to under Settings in both Site and Network Admin interfaces +* added 'persistent' checkbox for memcached connections +* added support for multiple memcached servers, feature request from ivan.buttinoni ( ivanbuttinoni @ WordPress.org forum ) +* case-sensitive string checks replaced with case-insensitives, contribution of Mark Costlow +* refactored settings saving mechanism +* additional syslog informations +* additional comments on the code +* lots of minor fixes and code cleanup +* donation link on the top + += 0.4.3 = +*2013-03-03* + +* long-running %3C bug fixed by the help of Mark Costlow , many thanks for it. It was cause by a bad check in the default values set-up: is_numeric applies for string numbers as well, which was unknown to me, and cause some of the values to be 0 where they should have been something different. + += 0.4.2 = +*2012-12-07* + +* added optional sync protocoll option: replace all http->https or https->http depending on request protocol +* binary mode is working correctly with memcached extension +* added warning message for memcache extension in binary mode + +**KNOWN ISSUES** + +There are major problems with the "memcache" driver, the source is yet unkown. The situation is that there's no response from the memcached server using this driver; please avoid using it! + += 0.4.1 = +*2012-08-16* + +* storage key extended with scheme ( http; https; etc. ), the miss caused problems when https request server CSS and JS files via http. + += 0.4 = +*2012-08-06* + +* tested against new WordPress versions +* added lines to "memcached" storage to be able to work with NGiNX as well +* added lines to "memcached" to use binary protocol ( tested with PHP Memcached version 2.0.1 ) + +**KNOWN ISSUES** + +* "memcache" extension fails in binary mode; the reason is under investigation + += 0.3.2 = +*2012-02-27* + +* apc_cache_info replaced with apc_sma_info, makes plugin faster + += 0.3 = +*2012-02-21* + +* added syslog debug messages possibility +* bugfix: removed (accidently used) short_open_tags + += 0.2.3 = +*2012-02-21* + +* NGiNX-sample.conf file added, NGiNX config is created from here + += 0.2.2 = +*2012-02-21* + +* memcache types bugfix, reported in forum, thanks! + += 0.2.1 = +*2012-02-21* + +* bugfix, duplicated inclusion could emerge, fix added, thanks for Géza Kuti for reporting! + += 0.2 = +*2012-02-19* + +* added APC compression option ( requires PHP ZLIB ). Useful is output pages are large. Compression is on lowest level, therefore size/CPU load is more or less optimal. + += 0.1 = +*2012-02-16* + +* first public release diff --git a/wp-ffpc-abstract.php b/wp-ffpc-abstract.php index 87d21b2..b6dfcc0 100644 --- a/wp-ffpc-abstract.php +++ b/wp-ffpc-abstract.php @@ -114,6 +114,7 @@ abstract class WP_FFPC_ABSTRACT { add_action( 'init', array(&$this,'plugin_init')); add_action( 'admin_enqueue_scripts', array(&$this,'enqueue_admin_css_js')); + add_action( 'plugins_loaded', array(&$this,'plugin_load_textdomain')); } @@ -170,6 +171,13 @@ abstract class WP_FFPC_ABSTRACT { /* setup plugin, plugin specific setup functions that need options */ $this->plugin_post_init(); } + + /** + * admin panel, load plugin textdomain + */ + public function plugin_load_textdomain() { + load_plugin_textdomain( 'wp-ffpc', false , dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); + } /** diff --git a/wp-ffpc-acache.php b/wp-ffpc-acache.php index b7ba21b..7fa7447 100644 --- a/wp-ffpc-acache.php +++ b/wp-ffpc-acache.php @@ -69,6 +69,16 @@ else { return false; } +/* no cache for WooCommerce URL patterns */ +if ( isset($wp_ffpc_config['nocache_woocommerce']) && !empty($wp_ffpc_config['nocache_woocommerce']) && + isset($wp_ffpc_config['nocache_woocommerce_url']) && trim($wp_ffpc_config['nocache_woocommerce_url']) ) { + $pattern = sprintf('#%s#', trim($wp_ffpc_config['nocache_woocommerce_url'])); + if ( preg_match($pattern, $wp_ffpc_uri) ) { + __wp_ffpc_debug__ ( "Cache exception based on WooCommenrce URL regex pattern matched, skipping"); + return false; + } +} + /* no cache for uri with query strings, things usually go bad that way */ if ( isset($wp_ffpc_config['nocache_dyn']) && !empty($wp_ffpc_config['nocache_dyn']) && stripos($wp_ffpc_uri, '?') !== false ) { __wp_ffpc_debug__ ( 'Dynamic url cache is disabled ( url with "?" ), skipping'); diff --git a/wp-ffpc-class.php b/wp-ffpc-class.php index 9dbe507..29cc836 100644 --- a/wp-ffpc-class.php +++ b/wp-ffpc-class.php @@ -408,6 +408,18 @@ class WP_FFPC extends WP_FFPC_ABSTRACT { if( ! function_exists( 'current_user_can' ) || ! current_user_can( 'manage_options' ) ){ die( ); } + + /* woo_commenrce page url */ + if ( class_exists( 'WooCommerce' ) ) { + $page_wc_checkout=str_replace( home_url(), '', wc_get_page_permalink( 'checkout' ) ); + $page_wc_myaccount=str_replace( home_url(), '', wc_get_page_permalink( 'myaccount' ) ); + $page_wc_cart=str_replace( home_url(), '', wc_get_page_permalink( 'cart' ) ); + $this->options['nocache_woocommerce_url'] = '^'.$page_wc_checkout.'|^'.$page_wc_myaccount.'|^'.$page_wc_cart; + + } else { + $this->options['nocache_woocommerce_url'] = ''; + } + ?>
@@ -689,12 +701,13 @@ class WP_FFPC extends WP_FFPC_ABSTRACT { - - - - - + + + + + + @@ -723,6 +736,12 @@ class WP_FFPC extends WP_FFPC_ABSTRACT { options['nocache_dyn'],true); ?> /> +
+ + options['nocache_woocommerce'],true); ?> /> + + options['nocache_woocommerce_url'] ) ) echo "
Url:".$this->options['nocache_woocommerce_url']; ?>
+
@@ -771,7 +790,7 @@ class WP_FFPC extends WP_FFPC_ABSTRACT { - in case of TCP based connections, list the servers as host1:port1,host2:port2,... . Do not add trailing , and always separate host and port with : .
- for a unix socket enter: unix://[socket_path]', 'wp-ffpc'); ?> -

+

options['authuser'] ) || !empty( $this->options['authpass'] ) ) ) { ?>

diff --git a/wp-ffpc.php b/wp-ffpc.php index 5bc0184..4789371 100644 --- a/wp-ffpc.php +++ b/wp-ffpc.php @@ -3,10 +3,12 @@ Plugin Name: WP-FFPC Plugin URI: https://github.com/petermolnar/wp-ffpc Description: WordPress in-memory full page cache plugin -Version: 1.11.0 +Version: 1.11.1 Author: Peter Molnar Author URI: http://petermolnar.eu/ License: GPLv3 +Text Domain: wp-ffpc +Domain Path: /languages/ */ /* Copyright 2010-2014 Peter Molnar ( hello@petermolnar.eu ) @@ -54,6 +56,8 @@ $wp_ffpc_defaults = array ( 'nocache_page' => false, 'nocache_cookies' => false, 'nocache_dyn' => true, + 'nocache_woocommerce' => true, + 'nocache_woocommerce_url' => '', 'nocache_url' => '^/wp-', 'nocache_comment' => '', 'response_header' => false, From c48d971ddf53a60350c70ccff3d1e96535a9c0e0 Mon Sep 17 00:00:00 2001 From: Gabriele Lauricella Date: Thu, 21 Apr 2016 17:34:14 +0200 Subject: [PATCH 2/3] Create wp-ffpc.pot --- languages/wp-ffpc.pot | 1 + 1 file changed, 1 insertion(+) create mode 100644 languages/wp-ffpc.pot diff --git a/languages/wp-ffpc.pot b/languages/wp-ffpc.pot new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/languages/wp-ffpc.pot @@ -0,0 +1 @@ + From 03f393950fd78bddf2ee748fa6a9493c7d36c417 Mon Sep 17 00:00:00 2001 From: Gabriele Lauricella Date: Thu, 21 Apr 2016 17:35:07 +0200 Subject: [PATCH 3/3] POT + Preliminary Italian Translation --- languages/wp-ffpc-it_IT.mo | Bin 0 -> 4281 bytes languages/wp-ffpc-it_IT.po | 759 +++++++++++++++++++++++++++++++++++++ languages/wp-ffpc.pot | 736 ++++++++++++++++++++++++++++++++++- 3 files changed, 1494 insertions(+), 1 deletion(-) create mode 100644 languages/wp-ffpc-it_IT.mo create mode 100644 languages/wp-ffpc-it_IT.po diff --git a/languages/wp-ffpc-it_IT.mo b/languages/wp-ffpc-it_IT.mo new file mode 100644 index 0000000000000000000000000000000000000000..cfcb08bd90f9e4aacf150bd26d42096a6f7fd96c GIT binary patch literal 4281 zcmbuBUu+yl9ml67{eyu5p+JEE-KlcsAss(Z2PKn#a%2zfxK@$TH+H2aU; zS^tyh6B0au1VVrWYSkwwUfH;2-Dx3Y6d_0A zWI0`<`u_y}Q|~jVkE2S|abaAuT&hv+`w{m|-%wx5$}*2ie_llOQ7I$sPT6R`1ytID z1)@}UgWoOwLxCBqLff)1)_4ziC#m;k)NxsKA00>9pSBnmzFoX?=TSe1NS@_Fs*T1}*%k~wq+Uv5GqM0||qpO0Emii#jnKfxrh`M7CmBmPhE!VV%nHJrV z%5k>nMq1@E;6ia#StYYv56pqMs&~twoRcQ;LhLqrUB^W7t9qcy$Vy*|t7)RFmU~9Y zo;vKQsP2I*a**a2&&{6BIq@)2u?b|ZKUeC)7Gf>V?4grmEm6CXt{c_5C>;)U2w7xV z=p2&|f~X9&RCzGMhLeuaZF?h4yJ;NjJkT;zL)~hY473g>^G9i{n;}kYhWL@0T+xow znpjtYxcRRi$Wkh?QT_jzK9mLQiLEzvT$vWW%yeJ|(718}~YqShT4|D06w@Sj81a>&qkyY=L;c(eu{Vaa$bacw8Kd4-uv^ zNi8F*@^jc|B1YC`e!D%be!J=}&_6VGRPMHdG(JA1y`Oo5K^BN)Xp#e5Mipn!zn7=a zKoRd+=zSU?jHvRZ6KkgTi5;(->nhefTte;3h561UZ+_8R=*Z6FerNIg{KEV^CVE?X z&v5mBoOfLn*4xQdQbYid6aJFjgj_8dqkn!{{Xp z>g{M1|M$y$X>9-6&dlbu&9#Y|o!0zJH%+WgAQavnUs`=&+gYScvLu80AzJy=&boJb zGLOO!bndMsK^o$L^yTGUV`q9%nXAZKPxH9&Ws+6RVr5}T)}Je96FIvgJLi^WKI1*D z6O9{81N2fI8Y?@k%dJI>)J^XxRp?CFkuO`VN$-u`hE^e;Dd);oHp(W$+i8hs#l4@t ztmSUD#O2>l^RT#X3hT>$f2psR`ibAUu&~rWAOiG^KavA~F}T1nT?Bn)ZH@)ar=EPe z1sodLIC8V9&w5t%*=*ZS(lo2jOb+VC#rm9nAGgZV{>_|YnjsYgqaF<6&BG*j8*ndg z$O(_No+)O8G%+7Pb%dZa$FtZrvR5iyj{5gW?Ao#AGBnLiUkd_V?J2`5TDoUo*1a+SIJEVND#-89c4z+(fK6VZ5gB~WI4Q35Cdrsxpuo!LE;`(qKnmC z6B(;=-E?seIgE@fd2tNb@^>v}PgfPnR;aNm6VxKf)s; zgO^%N*?OEQ@k?f$qmY)yPK%K>kr<1jghMOSHFk2=U`o7m*hngSw-Gpid6cT(b$Bc` zvuYxL_TB17St{{EZI9utqM%I1u9>9WI?+z0)~Uw-kZ0?Ri(h10bsVIkXH-%}y9+s& zbH$d)azqLv9xr~H)i-nX=m?J?LS*W`ZZPRqUNHQ5#YBw!8|^6>*H?+5ip0S^xERX1 zRP0ano5Y5WPrH@7S{V7xq\n" +"Language-Team: Gabriele Lauricella \n" +"Language: it_IT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.4\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-WPHeader: wp-ffpc.php\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" +"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" +"_nx_noop:3c,1,2;__ngettext_noop:1,2\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: *.js\n" + +#: wp-ffpc-abstract.php:381 +msgid "Default : " +msgstr "Predefinito :" + +#: wp-ffpc-abstract.php:464 +msgid "" +"This plugin helped your business? I'd appreciate a coffee in return :) " +"Please!" +msgstr "" + +#: wp-ffpc-abstract.php:479 +msgid "Donation for " +msgstr "Donazione per" + +#: wp-ffpc-abstract.php:481 +msgid "Donate via PayPal" +msgstr "Dona con PayPal" + +#: wp-ffpc-abstract.php:501 +#, fuzzy, php-format +msgid " – updating network option %s" +msgstr "Aggiornamento tema: %s" + +#: wp-ffpc-abstract.php:505 +#, fuzzy, php-format +msgid "- updating option %s" +msgstr "Aggiornamento in corso" + +#: wp-ffpc-abstract.php:516 +#, fuzzy, php-format +msgid "- getting network option %s" +msgstr "Errore nell'ottenere la struttura della tabella %s" + +#: wp-ffpc-abstract.php:520 +#, fuzzy, php-format +msgid " – getting option %s" +msgstr "Errore nell'ottenere la struttura della tabella %s" + +#: wp-ffpc-abstract.php:533 +#, fuzzy, php-format +msgid " – deleting network option %s" +msgstr "Amministratore del network: %s" + +#: wp-ffpc-abstract.php:537 +#, fuzzy, php-format +msgid " – deleting option %s" +msgstr "eliminazione del file allegato..." + +#: wp-ffpc-abstract.php:614 +#, php-format +msgid "%s" +msgstr "%s" + +#: wp-ffpc-class.php:126 +#, php-format +msgid "" +"Domain mismatch: the site domain configuration (%s) does not match the " +"HTTP_HOST (%s) variable in PHP. Please fix the incorrect one, otherwise the " +"plugin may not work as expected." +msgstr "" + +#: wp-ffpc-class.php:134 +msgid "APC" +msgstr "APC" + +#: wp-ffpc-class.php:135 +msgid "APCu" +msgstr "APCu" + +#: wp-ffpc-class.php:136 +msgid "PHP Memcache" +msgstr "PHP Memcache" + +#: wp-ffpc-class.php:137 +msgid "PHP Memcached" +msgstr "PHP Memcached" + +#: wp-ffpc-class.php:138 +msgid "Redis (experimental, it will break!)" +msgstr "" + +#: wp-ffpc-class.php:152 +#, fuzzy +msgid "flush cache" +msgstr "" +"Importante: Non dimenticare di svuotare la cache usando WP Super Cache " +"quando attivi o disattivi la modalità di manutenzione." + +#: wp-ffpc-class.php:153 +#, fuzzy +msgid "only modified post" +msgstr "Può essere modificato solo dall'admin o se vuoto" + +#: wp-ffpc-class.php:154 +msgid "modified post and all related taxonomies" +msgstr "" + +#: wp-ffpc-class.php:159 +msgid "The HTTP scheme (i.e. http, https)." +msgstr "" + +#: wp-ffpc-class.php:160 +msgid "" +"Host in the header of request or name of the server processing the request " +"if the Host header is not available." +msgstr "" + +#: wp-ffpc-class.php:161 +msgid "" +"The *original* request URI as received from the client including the args" +msgstr "" + +#: wp-ffpc-class.php:162 +msgid "Name of user, authenticated by the Auth Basic Module" +msgstr "" + +#: wp-ffpc-class.php:163 +msgid "PHP Session Cookie ID, if set ( empty if not )" +msgstr "" + +#: wp-ffpc-class.php:164 +msgid "First HTTP Accept Lang set in the HTTP request" +msgstr "" + +#: wp-ffpc-class.php:174 +msgid "do not use timed precache" +msgstr "non utilizzare il precache temporizzato" + +#: wp-ffpc-class.php:221 +msgid "WP-FFPC Settings" +msgstr "WP-FFPC Impostazioni" + +#: wp-ffpc-class.php:226 +msgid "" +"WP_CACHE is disabled. Without that, cache plugins, like this, will not work. " +"Please add `define ( 'WP_CACHE', true );` to the beginning of wp-config.php." +msgstr "" + +#: wp-ffpc-class.php:230 +#, php-format +msgid "" +"This site was reached as %s ( according to PHP HTTP_HOST ) and there are no " +"settings present for this domain in the WP-FFPC configuration yet. Please " +"save the %s for the domain or fix the webserver configuration!" +msgstr "" + +#: wp-ffpc-class.php:234 +#, php-format +msgid "" +"Advanced cache file (%s) is not writeable!
Please change the " +"permissions on the file." +msgstr "" + +#: wp-ffpc-class.php:238 +#, php-format +msgid "Advanced cache file is yet to be generated, please save %s" +msgstr "" + +#: wp-ffpc-class.php:243 +#, php-format +msgid "" +"%s cache backend activated but no PHP %s extension was found.
Please " +"either use different backend or activate the module!" +msgstr "" + +#: wp-ffpc-class.php:254 +msgid "" +"WARNING: Memcache extension is configured to use binary mode. This is very " +"buggy and the plugin will most probably not work correctly.
Please " +"consider to change either to ASCII mode or to Memcached extension." +msgstr "" + +#: wp-ffpc-class.php:307 +msgid "" +"WP-FFPC settings were upgraded; please double check if everything is still " +"working correctly." +msgstr "" + +#: wp-ffpc-class.php:362 +msgid "" +"

Please visit the " +"official support forum of the plugin for help.

" +msgstr "" + +#: wp-ffpc-class.php:386 +msgid "

Sample config for nginx to utilize the data entries

" +msgstr "" + +#: wp-ffpc-class.php:387 +msgid "" +"
This is not meant to be a copy-paste " +"configuration; you most probably have to tailor it to your needs.
" +msgstr "" + +#: wp-ffpc-class.php:388 +msgid "" +"
In case you are about to use nginx to " +"fetch memcached entries directly and to use SHA1 hash keys, you will need an " +"nginx version compiled with HttpSetMiscModule. Otherwise set_sha1 function is not available in " +"nginx.
" +msgstr "" + +#: wp-ffpc-class.php:393 +msgid "nginx example" +msgstr "esempio nginx" + +#: wp-ffpc-class.php:443 +msgid "Settings saved." +msgstr "Impostazioni salvate." + +#: wp-ffpc-class.php:450 +#, fuzzy +msgid "Plugin options deleted." +msgstr "OPZIONI CANCELLATE!" + +#: wp-ffpc-class.php:457 +msgid "Cache flushed." +msgstr "Cache svuotata." + +#: wp-ffpc-class.php:464 +msgid "" +"Precache process was started, it is now running in the background, please be " +"patient, it may take a very long time to finish." +msgstr "" + +#: wp-ffpc-class.php:472 +msgid " settings" +msgstr " impostazioni" + +#: wp-ffpc-class.php:475 +msgid "Driver: " +msgstr "Driver: " + +#: wp-ffpc-class.php:480 +msgid "Backend status:
" +msgstr "Stato Backend:
" + +#: wp-ffpc-class.php:490 +msgid "down
" +msgstr "" + +#: wp-ffpc-class.php:492 +msgid "up & running
" +msgstr "" + +#: wp-ffpc-class.php:494 +msgid "" +"unknown, please try re-saving settings!
" +msgstr "" + +#: wp-ffpc-class.php:513 +#, fuzzy +msgid "Set cache type" +msgstr "Tipo di cache:" + +#: wp-ffpc-class.php:516 +msgid "Select backend" +msgstr "Selezionare un backend:" + +#: wp-ffpc-class.php:522 +msgid "Select backend storage driver" +msgstr "Selezionare il driver di backend" + +#: wp-ffpc-class.php:526 +msgid "Expiration time for posts" +msgstr "Tempo di scadenza per Articoli e Pagine" + +#: wp-ffpc-class.php:530 +msgid "" +"Sets validity time of post entry in seconds, including custom post types and " +"pages." +msgstr "" + +#: wp-ffpc-class.php:534 +#, fuzzy +msgid "Browser cache expiration time of posts" +msgstr "Tempo di scadenza cache (secondi)" + +#: wp-ffpc-class.php:538 +msgid "Sets validity time of posts/pages/singles for the browser cache." +msgstr "" + +#: wp-ffpc-class.php:542 +#, fuzzy +msgid "Expiration time for taxonomy" +msgstr "Tempo di scadenza cache (secondi)" + +#: wp-ffpc-class.php:546 +msgid "" +"Sets validity time of taxonomy entry in seconds, including custom taxonomy." +msgstr "" + +#: wp-ffpc-class.php:550 +#, fuzzy +msgid "Browser cache expiration time of taxonomy" +msgstr "Tempo di scadenza cache (secondi)" + +#: wp-ffpc-class.php:554 +msgid "Sets validity time of taxonomy for the browser cache." +msgstr "" + +#: wp-ffpc-class.php:558 +msgid "Expiration time for home" +msgstr "Tempo di scadenza per Homepage" + +#: wp-ffpc-class.php:562 +msgid "Sets validity time of home on server side." +msgstr "" + +#: wp-ffpc-class.php:566 +#, fuzzy +msgid "Browser cache expiration time of home" +msgstr "Tempo di scadenza cache (secondi)" + +#: wp-ffpc-class.php:570 +msgid "Sets validity time of home for the browser cache." +msgstr "" + +#: wp-ffpc-class.php:574 +msgid "Charset" +msgstr "Codifica di caratteri" + +#: wp-ffpc-class.php:578 +msgid "Charset of HTML and XML (pages and feeds) data." +msgstr "" + +#: wp-ffpc-class.php:582 +#, fuzzy +msgid "Cache invalidation method" +msgstr "Metodo di spedizione:" + +#: wp-ffpc-class.php:588 +msgid "Select cache invalidation method." +msgstr "" + +#: wp-ffpc-class.php:604 +#, fuzzy +msgid "Invalidate on comment actions" +msgstr "Azioni Multiple" + +#: wp-ffpc-class.php:608 +msgid "Trigger cache invalidation when a comments is posted, edited, trashed. " +msgstr "" + +#: wp-ffpc-class.php:612 +msgid "Data prefix" +msgstr "Prefisso dati" + +#: wp-ffpc-class.php:616 +msgid "" +"Prefix for HTML content keys, can be used in nginx.
WARNING: changing this will result the previous cache to becomes invalid!" +"
If you are caching with nginx, you should update your nginx " +"configuration and reload nginx after changing this value." +msgstr "" + +#: wp-ffpc-class.php:620 +msgid "Meta prefix" +msgstr "Prefisso meta" + +#: wp-ffpc-class.php:624 +msgid "" +"Prefix for meta content keys, used only with PHP processing.
WARNING: changing this will result the previous cache to " +"becomes invalid!" +msgstr "" + +#: wp-ffpc-class.php:628 +msgid "Key scheme" +msgstr "Schema Chiave" + +#: wp-ffpc-class.php:632 +msgid "" +"Key layout; use the guide below to change it.
WARNING: changing this will result the previous cache to " +"becomes invalid!
If you are caching with nginx, you should update your " +"nginx configuration and reload nginx after changing this value." +msgstr "" + +#: wp-ffpc-class.php:641 +msgid "SHA1 hash key" +msgstr "Hash Chiavi in SHA1" + +#: wp-ffpc-class.php:645 +msgid "" +"Occasionally URL can be too long to be used as key for the backend storage, " +"especially with memcached. Turn on this feature to use SHA1 hash of the URL " +"as key instead. Please be aware that you have to add ( or uncomment ) a line " +"and a module in nginx if you want nginx to fetch the data " +"directly; for details, please see the nginx example tab." +msgstr "" + +#: wp-ffpc-class.php:654 +msgid "Debug & in-depth settings" +msgstr "Debug & Impostazioni Avanzate" + +#: wp-ffpc-class.php:655 +msgid "Notes" +msgstr "Note" + +#: wp-ffpc-class.php:656 +msgid "" +"The former method of debug logging flag has been removed. In case you need " +"debug log from WP-FFPC please set both the WP_DEBUG and the WP_FFPC__DEBUG_MODE constants `true` in " +"wp-config.php.
This will enable NOTICE level messages apart from the " +"WARNING level ones which are always displayed." +msgstr "" + +#: wp-ffpc-class.php:660 +msgid "Enable X-Pingback header preservation" +msgstr "" + +#: wp-ffpc-class.php:664 +msgid "Preserve X-Pingback URL in response header." +msgstr "" + +#: wp-ffpc-class.php:668 +msgid "Add X-Cache-Engine header" +msgstr "" + +#: wp-ffpc-class.php:672 +msgid "Add X-Cache-Engine HTTP header to HTTP responses." +msgstr "" + +#: wp-ffpc-class.php:676 +#, fuzzy +msgid "Add HTML debug comment" +msgstr "Aggiungere un nuovo commento" + +#: wp-ffpc-class.php:680 +msgid "" +"Adds comment string including plugin name, cache engine and page generation " +"time to every generated entry before closing tag." +msgstr "" + +#: wp-ffpc-class.php:688 +msgid "Set cache additions/excepions" +msgstr "" + +#: wp-ffpc-class.php:691 +msgid "Enable cache for logged in users" +msgstr "Abilitare la cache per gli utenti registrati" + +#: wp-ffpc-class.php:695 +msgid "Cache pages even if user is logged in." +msgstr "" + +#: wp-ffpc-class.php:699 +msgid "Excludes" +msgstr "Esclusioni" + +#: wp-ffpc-class.php:704 +msgid "Exclude home" +msgstr "Escludi Homepage" + +#: wp-ffpc-class.php:705 +msgid "Exclude feeds" +msgstr "Escludi Feed" + +#: wp-ffpc-class.php:706 +msgid "Exclude archives" +msgstr "Escludi Archivi" + +#: wp-ffpc-class.php:707 +msgid "Exclude pages" +msgstr "Escludi Pagine" + +#: wp-ffpc-class.php:708 +#, fuzzy +msgid "Exclude singulars" +msgstr "Escludi" + +#: wp-ffpc-class.php:709 +msgid "Dynamic requests" +msgstr "Richieste dinamiche" + +#: wp-ffpc-class.php:710 +msgid "WooCommerce" +msgstr "WooCommerce" + +#: wp-ffpc-class.php:717 +msgid "Never cache home." +msgstr "Nessuna cache per la homepage." + +#: wp-ffpc-class.php:721 +msgid "Never cache feeds." +msgstr "Nessuna cache per i Feed." + +#: wp-ffpc-class.php:725 +msgid "Never cache archives." +msgstr "Nessuna cache per gli Archivi." + +#: wp-ffpc-class.php:729 +msgid "Never cache pages." +msgstr "Nessuna cache per le Pagine." + +#: wp-ffpc-class.php:733 +#, fuzzy +msgid "Never cache singulars." +msgstr "Cache" + +#: wp-ffpc-class.php:737 +#, fuzzy +msgid "Exclude every URL with \"?\" in it." +msgstr "Escludi" + +#: wp-ffpc-class.php:742 +msgid "Exclude dynamic WooCommerce page." +msgstr "Escludere la pagine dinamiche di WooCommerce." + +#: wp-ffpc-class.php:750 +#, fuzzy +msgid "Exclude based on cookies" +msgstr "Escludi" + +#: wp-ffpc-class.php:754 +msgid "" +"Exclude content based on cookies names starting with this from caching. " +"Separate multiple cookies names with commas.
If you are caching with " +"nginx, you should update your nginx configuration and reload nginx after " +"changing this value." +msgstr "" + +#: wp-ffpc-class.php:758 +msgid "Don't cache following URL paths - use with caution!" +msgstr "" + +#: wp-ffpc-class.php:766 +msgid "Regular expressions use you must! e.g. pattern1|pattern2|etc" +msgstr "" + +#: wp-ffpc-class.php:770 +msgid "Exclude from cache based on content" +msgstr "" + +#: wp-ffpc-class.php:774 +msgid "" +"Enter a regex pattern that will trigger excluding content from caching. Eg. " +". Regular expressions use you must! e.g. pattern1|pattern2|" +"etc
\n" +"\t\t\t\t\tWARNING: be careful where you display this, " +"because it will apply to any content, including archives, collection pages, " +"singles, anything. If empty, this setting will be ignored." +msgstr "" + +#: wp-ffpc-class.php:782 +#, fuzzy +msgid "Backend server settings" +msgstr "Impostazioni di backend" + +#: wp-ffpc-class.php:785 +msgid "Hosts" +msgstr "Host" + +#: wp-ffpc-class.php:790 +msgid "" +"List of backends, with the following syntax:
- in case of TCP based " +"connections, list the servers as host1:port1,host2:port2,... . Do not add " +"trailing , and always separate host and port with : .
- for a unix " +"socket enter: unix://[socket_path]" +msgstr "" + +#: wp-ffpc-class.php:793 +msgid "Authentication ( only for SASL enabled Memcached or Redis)" +msgstr "" + +#: wp-ffpc-class.php:796 +msgid "" +"WARNING: you've entered username and/or password for memcached " +"authentication ( or your browser's autocomplete did ) which will not work " +"unless you enable memcached sasl in the PHP settings: add `memcached." +"use_sasl=1` to php.ini" +msgstr "" + +#: wp-ffpc-class.php:799 +#, fuzzy +msgid "Authentication: username" +msgstr "Autenticazione non riuscita" + +#: wp-ffpc-class.php:804 +#, fuzzy +msgid "Username for authentication with backends" +msgstr "Nome utente" + +#: wp-ffpc-class.php:808 +#, fuzzy +msgid "Authentication: password" +msgstr "Autenticazione non riuscita" + +#: wp-ffpc-class.php:813 +msgid "" +"Password for authentication with for backends - WARNING, the password will " +"be stored in an unsecure format!" +msgstr "" + +#: wp-ffpc-class.php:816 +msgid "Memcached specific settings" +msgstr "Impostazioni specifiche Memcached" + +#: wp-ffpc-class.php:818 +#, fuzzy +msgid "Enable memcached binary mode" +msgstr "Abilita la modalità assistita" + +#: wp-ffpc-class.php:822 +msgid "" +"Some memcached proxies and implementations only support the ASCII protocol." +msgstr "" + +#: wp-ffpc-class.php:830 +msgid "Precache settings & log from previous pre-cache generation" +msgstr "" + +#: wp-ffpc-class.php:833 +msgid "Precache schedule" +msgstr "Pianificazione precache" + +#: wp-ffpc-class.php:839 +msgid "Schedule autorun for precache with WP-Cron" +msgstr "" + +#: wp-ffpc-class.php:860 +msgid "No precache log was found!" +msgstr "Non è stato trovato alcun registro precache!" + +#: wp-ffpc-class.php:863 +msgid "Time of run: " +msgstr "" + +#: wp-ffpc-class.php:887 +msgid "Save Changes" +msgstr "Salva modifiche" + +#: wp-ffpc-class.php:897 wp-ffpc-class.php:903 wp-ffpc-class.php:919 +#: wp-ffpc-class.php:930 +msgid "Precache" +msgstr "" + +#: wp-ffpc-class.php:898 +msgid "Empty cache" +msgstr "Svuota la cache" + +#: wp-ffpc-class.php:899 +msgid "Reset settings" +msgstr "Azzerare impostazioni" + +#: wp-ffpc-class.php:907 +msgid "" +"Precache functionality is disabled due to unavailable system call function. " +"
Since precaching may take a very long time, it's done through a " +"background CLI process in order not to run out of max execution time of PHP. " +"Please enable one of the following functions if you whish to use precaching: " +msgstr "" + +#: wp-ffpc-class.php:910 +msgid "Pre-cache" +msgstr "Pre-cache" + +#: wp-ffpc-class.php:914 +msgid "" +"Start a background process that visits all permalinks of all blogs it can " +"found thus forces WordPress to generate cached version of all the pages.
The plugin tries to visit links of taxonomy terms without the taxonomy name " +"as well. This may generate 404 hits, please be prepared for these in your " +"logfiles if you plan to pre-cache." +msgstr "" + +#: wp-ffpc-class.php:922 +msgid "Clear cache" +msgstr "Elimina Cache" + +#: wp-ffpc-class.php:925 +msgid "" +"Clear all entries in the storage, including the ones that were set by other " +"processes." +msgstr "" + +#: wp-ffpc-class.php:933 +msgid "Reset options" +msgstr "Ripristina le opzioni" + +#: wp-ffpc-class.php:936 +#, fuzzy +msgid "Reset settings to defaults." +msgstr "Reimposta impostazioni" + +#: wp-ffpc-class.php:947 +msgid "Cache type" +msgstr "Tipo di cache:" + +#: wp-ffpc-class.php:948 +msgid "Debug & in-depth" +msgstr "Debug & Avanzate" + +#: wp-ffpc-class.php:949 +msgid "Cache exceptions" +msgstr "Eccezioni della cache" + +#: wp-ffpc-class.php:950 +msgid "Backend settings" +msgstr "Impostazioni di backend" + +#: wp-ffpc-class.php:951 +msgid "Precache & precache log" +msgstr "Pre-cache & Registro" + +#: wp-ffpc-class.php:968 +#, fuzzy +msgid "Scheduling WP-CRON event" +msgstr "Ultima esecuzione giornaliera di WP-Cron: %s" + +#: wp-ffpc-class.php:972 +msgid "Clearing WP-CRON scheduled hook " +msgstr "" + +#. Plugin Name of the plugin/theme +msgid "WP-FFPC" +msgstr "WP-FFPC" + +#. Plugin URI of the plugin/theme +msgid "https://github.com/petermolnar/wp-ffpc" +msgstr "https://github.com/petermolnar/wp-ffpc" + +#. Description of the plugin/theme +msgid "WordPress in-memory full page cache plugin" +msgstr "" + +#. Author of the plugin/theme +msgid "Peter Molnar " +msgstr "Peter Molnar " + +#. Author URI of the plugin/theme +msgid "http://petermolnar.eu/" +msgstr "http://petermolnar.eu/" diff --git a/languages/wp-ffpc.pot b/languages/wp-ffpc.pot index 8d1c8b6..415c41b 100644 --- a/languages/wp-ffpc.pot +++ b/languages/wp-ffpc.pot @@ -1 +1,735 @@ - +#, fuzzy +msgid "" +msgstr "" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"Project-Id-Version: WP-FFPC\n" +"POT-Creation-Date: 2016-04-21 17:14+0200\n" +"PO-Revision-Date: 2016-04-21 15:44+0200\n" +"Last-Translator: Gabriele Lauricella \n" +"Language-Team: Gabriele Lauricella \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.4\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-WPHeader: wp-ffpc.php\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" +"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" +"_nx_noop:3c,1,2;__ngettext_noop:1,2\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: *.js\n" + +#: wp-ffpc-abstract.php:381 +msgid "Default : " +msgstr "" + +#: wp-ffpc-abstract.php:464 +msgid "" +"This plugin helped your business? I'd appreciate a coffee in return :) " +"Please!" +msgstr "" + +#: wp-ffpc-abstract.php:479 +msgid "Donation for " +msgstr "" + +#: wp-ffpc-abstract.php:481 +msgid "Donate via PayPal" +msgstr "" + +#: wp-ffpc-abstract.php:501 +#, php-format +msgid " – updating network option %s" +msgstr "" + +#: wp-ffpc-abstract.php:505 +#, php-format +msgid "- updating option %s" +msgstr "" + +#: wp-ffpc-abstract.php:516 +#, php-format +msgid "- getting network option %s" +msgstr "" + +#: wp-ffpc-abstract.php:520 +#, php-format +msgid " – getting option %s" +msgstr "" + +#: wp-ffpc-abstract.php:533 +#, php-format +msgid " – deleting network option %s" +msgstr "" + +#: wp-ffpc-abstract.php:537 +#, php-format +msgid " – deleting option %s" +msgstr "" + +#: wp-ffpc-abstract.php:614 +#, php-format +msgid "%s" +msgstr "" + +#: wp-ffpc-class.php:126 +#, php-format +msgid "" +"Domain mismatch: the site domain configuration (%s) does not match the " +"HTTP_HOST (%s) variable in PHP. Please fix the incorrect one, otherwise the " +"plugin may not work as expected." +msgstr "" + +#: wp-ffpc-class.php:134 +msgid "APC" +msgstr "" + +#: wp-ffpc-class.php:135 +msgid "APCu" +msgstr "" + +#: wp-ffpc-class.php:136 +msgid "PHP Memcache" +msgstr "" + +#: wp-ffpc-class.php:137 +msgid "PHP Memcached" +msgstr "" + +#: wp-ffpc-class.php:138 +msgid "Redis (experimental, it will break!)" +msgstr "" + +#: wp-ffpc-class.php:152 +msgid "flush cache" +msgstr "" + +#: wp-ffpc-class.php:153 +msgid "only modified post" +msgstr "" + +#: wp-ffpc-class.php:154 +msgid "modified post and all related taxonomies" +msgstr "" + +#: wp-ffpc-class.php:159 +msgid "The HTTP scheme (i.e. http, https)." +msgstr "" + +#: wp-ffpc-class.php:160 +msgid "" +"Host in the header of request or name of the server processing the request " +"if the Host header is not available." +msgstr "" + +#: wp-ffpc-class.php:161 +msgid "" +"The *original* request URI as received from the client including the args" +msgstr "" + +#: wp-ffpc-class.php:162 +msgid "Name of user, authenticated by the Auth Basic Module" +msgstr "" + +#: wp-ffpc-class.php:163 +msgid "PHP Session Cookie ID, if set ( empty if not )" +msgstr "" + +#: wp-ffpc-class.php:164 +msgid "First HTTP Accept Lang set in the HTTP request" +msgstr "" + +#: wp-ffpc-class.php:174 +msgid "do not use timed precache" +msgstr "" + +#: wp-ffpc-class.php:221 +msgid "WP-FFPC Settings" +msgstr "" + +#: wp-ffpc-class.php:226 +msgid "" +"WP_CACHE is disabled. Without that, cache plugins, like this, will not work. " +"Please add `define ( 'WP_CACHE', true );` to the beginning of wp-config.php." +msgstr "" + +#: wp-ffpc-class.php:230 +#, php-format +msgid "" +"This site was reached as %s ( according to PHP HTTP_HOST ) and there are no " +"settings present for this domain in the WP-FFPC configuration yet. Please " +"save the %s for the domain or fix the webserver configuration!" +msgstr "" + +#: wp-ffpc-class.php:234 +#, php-format +msgid "" +"Advanced cache file (%s) is not writeable!
Please change the " +"permissions on the file." +msgstr "" + +#: wp-ffpc-class.php:238 +#, php-format +msgid "Advanced cache file is yet to be generated, please save %s" +msgstr "" + +#: wp-ffpc-class.php:243 +#, php-format +msgid "" +"%s cache backend activated but no PHP %s extension was found.
Please " +"either use different backend or activate the module!" +msgstr "" + +#: wp-ffpc-class.php:254 +msgid "" +"WARNING: Memcache extension is configured to use binary mode. This is very " +"buggy and the plugin will most probably not work correctly.
Please " +"consider to change either to ASCII mode or to Memcached extension." +msgstr "" + +#: wp-ffpc-class.php:307 +msgid "" +"WP-FFPC settings were upgraded; please double check if everything is still " +"working correctly." +msgstr "" + +#: wp-ffpc-class.php:362 +msgid "" +"

Please visit the " +"official support forum of the plugin for help.

" +msgstr "" + +#: wp-ffpc-class.php:386 +msgid "

Sample config for nginx to utilize the data entries

" +msgstr "" + +#: wp-ffpc-class.php:387 +msgid "" +"
This is not meant to be a copy-paste " +"configuration; you most probably have to tailor it to your needs.
" +msgstr "" + +#: wp-ffpc-class.php:388 +msgid "" +"
In case you are about to use nginx to " +"fetch memcached entries directly and to use SHA1 hash keys, you will need an " +"nginx version compiled with HttpSetMiscModule. Otherwise set_sha1 function is not available in " +"nginx.
" +msgstr "" + +#: wp-ffpc-class.php:393 +msgid "nginx example" +msgstr "" + +#: wp-ffpc-class.php:443 +msgid "Settings saved." +msgstr "" + +#: wp-ffpc-class.php:450 +msgid "Plugin options deleted." +msgstr "" + +#: wp-ffpc-class.php:457 +msgid "Cache flushed." +msgstr "" + +#: wp-ffpc-class.php:464 +msgid "" +"Precache process was started, it is now running in the background, please be " +"patient, it may take a very long time to finish." +msgstr "" + +#: wp-ffpc-class.php:472 +msgid " settings" +msgstr "" + +#: wp-ffpc-class.php:475 +msgid "Driver: " +msgstr "" + +#: wp-ffpc-class.php:480 +msgid "Backend status:
" +msgstr "" + +#: wp-ffpc-class.php:490 +msgid "down
" +msgstr "" + +#: wp-ffpc-class.php:492 +msgid "up & running
" +msgstr "" + +#: wp-ffpc-class.php:494 +msgid "" +"unknown, please try re-saving settings!
" +msgstr "" + +#: wp-ffpc-class.php:513 +msgid "Set cache type" +msgstr "" + +#: wp-ffpc-class.php:516 +msgid "Select backend" +msgstr "" + +#: wp-ffpc-class.php:522 +msgid "Select backend storage driver" +msgstr "" + +#: wp-ffpc-class.php:526 +msgid "Expiration time for posts" +msgstr "" + +#: wp-ffpc-class.php:530 +msgid "" +"Sets validity time of post entry in seconds, including custom post types and " +"pages." +msgstr "" + +#: wp-ffpc-class.php:534 +msgid "Browser cache expiration time of posts" +msgstr "" + +#: wp-ffpc-class.php:538 +msgid "Sets validity time of posts/pages/singles for the browser cache." +msgstr "" + +#: wp-ffpc-class.php:542 +msgid "Expiration time for taxonomy" +msgstr "" + +#: wp-ffpc-class.php:546 +msgid "" +"Sets validity time of taxonomy entry in seconds, including custom taxonomy." +msgstr "" + +#: wp-ffpc-class.php:550 +msgid "Browser cache expiration time of taxonomy" +msgstr "" + +#: wp-ffpc-class.php:554 +msgid "Sets validity time of taxonomy for the browser cache." +msgstr "" + +#: wp-ffpc-class.php:558 +msgid "Expiration time for home" +msgstr "" + +#: wp-ffpc-class.php:562 +msgid "Sets validity time of home on server side." +msgstr "" + +#: wp-ffpc-class.php:566 +msgid "Browser cache expiration time of home" +msgstr "" + +#: wp-ffpc-class.php:570 +msgid "Sets validity time of home for the browser cache." +msgstr "" + +#: wp-ffpc-class.php:574 +msgid "Charset" +msgstr "" + +#: wp-ffpc-class.php:578 +msgid "Charset of HTML and XML (pages and feeds) data." +msgstr "" + +#: wp-ffpc-class.php:582 +msgid "Cache invalidation method" +msgstr "" + +#: wp-ffpc-class.php:588 +msgid "Select cache invalidation method." +msgstr "" + +#: wp-ffpc-class.php:604 +msgid "Invalidate on comment actions" +msgstr "" + +#: wp-ffpc-class.php:608 +msgid "Trigger cache invalidation when a comments is posted, edited, trashed. " +msgstr "" + +#: wp-ffpc-class.php:612 +msgid "Data prefix" +msgstr "" + +#: wp-ffpc-class.php:616 +msgid "" +"Prefix for HTML content keys, can be used in nginx.
WARNING: changing this will result the previous cache to becomes invalid!" +"
If you are caching with nginx, you should update your nginx " +"configuration and reload nginx after changing this value." +msgstr "" + +#: wp-ffpc-class.php:620 +msgid "Meta prefix" +msgstr "" + +#: wp-ffpc-class.php:624 +msgid "" +"Prefix for meta content keys, used only with PHP processing.
WARNING: changing this will result the previous cache to " +"becomes invalid!" +msgstr "" + +#: wp-ffpc-class.php:628 +msgid "Key scheme" +msgstr "" + +#: wp-ffpc-class.php:632 +msgid "" +"Key layout; use the guide below to change it.
WARNING: changing this will result the previous cache to " +"becomes invalid!
If you are caching with nginx, you should update your " +"nginx configuration and reload nginx after changing this value." +msgstr "" + +#: wp-ffpc-class.php:641 +msgid "SHA1 hash key" +msgstr "" + +#: wp-ffpc-class.php:645 +msgid "" +"Occasionally URL can be too long to be used as key for the backend storage, " +"especially with memcached. Turn on this feature to use SHA1 hash of the URL " +"as key instead. Please be aware that you have to add ( or uncomment ) a line " +"and a module in nginx if you want nginx to fetch the data " +"directly; for details, please see the nginx example tab." +msgstr "" + +#: wp-ffpc-class.php:654 +msgid "Debug & in-depth settings" +msgstr "" + +#: wp-ffpc-class.php:655 +msgid "Notes" +msgstr "" + +#: wp-ffpc-class.php:656 +msgid "" +"The former method of debug logging flag has been removed. In case you need " +"debug log from WP-FFPC please set both the WP_DEBUG and the WP_FFPC__DEBUG_MODE constants `true` in " +"wp-config.php.
This will enable NOTICE level messages apart from the " +"WARNING level ones which are always displayed." +msgstr "" + +#: wp-ffpc-class.php:660 +msgid "Enable X-Pingback header preservation" +msgstr "" + +#: wp-ffpc-class.php:664 +msgid "Preserve X-Pingback URL in response header." +msgstr "" + +#: wp-ffpc-class.php:668 +msgid "Add X-Cache-Engine header" +msgstr "" + +#: wp-ffpc-class.php:672 +msgid "Add X-Cache-Engine HTTP header to HTTP responses." +msgstr "" + +#: wp-ffpc-class.php:676 +msgid "Add HTML debug comment" +msgstr "" + +#: wp-ffpc-class.php:680 +msgid "" +"Adds comment string including plugin name, cache engine and page generation " +"time to every generated entry before closing tag." +msgstr "" + +#: wp-ffpc-class.php:688 +msgid "Set cache additions/excepions" +msgstr "" + +#: wp-ffpc-class.php:691 +msgid "Enable cache for logged in users" +msgstr "" + +#: wp-ffpc-class.php:695 +msgid "Cache pages even if user is logged in." +msgstr "" + +#: wp-ffpc-class.php:699 +msgid "Excludes" +msgstr "" + +#: wp-ffpc-class.php:704 +msgid "Exclude home" +msgstr "" + +#: wp-ffpc-class.php:705 +msgid "Exclude feeds" +msgstr "" + +#: wp-ffpc-class.php:706 +msgid "Exclude archives" +msgstr "" + +#: wp-ffpc-class.php:707 +msgid "Exclude pages" +msgstr "" + +#: wp-ffpc-class.php:708 +msgid "Exclude singulars" +msgstr "" + +#: wp-ffpc-class.php:709 +msgid "Dynamic requests" +msgstr "" + +#: wp-ffpc-class.php:710 +msgid "WooCommerce" +msgstr "" + +#: wp-ffpc-class.php:717 +msgid "Never cache home." +msgstr "" + +#: wp-ffpc-class.php:721 +msgid "Never cache feeds." +msgstr "" + +#: wp-ffpc-class.php:725 +msgid "Never cache archives." +msgstr "" + +#: wp-ffpc-class.php:729 +msgid "Never cache pages." +msgstr "" + +#: wp-ffpc-class.php:733 +msgid "Never cache singulars." +msgstr "" + +#: wp-ffpc-class.php:737 +msgid "Exclude every URL with \"?\" in it." +msgstr "" + +#: wp-ffpc-class.php:742 +msgid "Exclude dynamic WooCommerce page." +msgstr "" + +#: wp-ffpc-class.php:750 +msgid "Exclude based on cookies" +msgstr "" + +#: wp-ffpc-class.php:754 +msgid "" +"Exclude content based on cookies names starting with this from caching. " +"Separate multiple cookies names with commas.
If you are caching with " +"nginx, you should update your nginx configuration and reload nginx after " +"changing this value." +msgstr "" + +#: wp-ffpc-class.php:758 +msgid "Don't cache following URL paths - use with caution!" +msgstr "" + +#: wp-ffpc-class.php:766 +msgid "Regular expressions use you must! e.g. pattern1|pattern2|etc" +msgstr "" + +#: wp-ffpc-class.php:770 +msgid "Exclude from cache based on content" +msgstr "" + +#: wp-ffpc-class.php:774 +msgid "" +"Enter a regex pattern that will trigger excluding content from caching. Eg. " +". Regular expressions use you must! e.g. pattern1|pattern2|" +"etc
\n" +"\t\t\t\t\tWARNING: be careful where you display this, " +"because it will apply to any content, including archives, collection pages, " +"singles, anything. If empty, this setting will be ignored." +msgstr "" + +#: wp-ffpc-class.php:782 +msgid "Backend server settings" +msgstr "" + +#: wp-ffpc-class.php:785 +msgid "Hosts" +msgstr "" + +#: wp-ffpc-class.php:790 +msgid "" +"List of backends, with the following syntax:
- in case of TCP based " +"connections, list the servers as host1:port1,host2:port2,... . Do not add " +"trailing , and always separate host and port with : .
- for a unix " +"socket enter: unix://[socket_path]" +msgstr "" + +#: wp-ffpc-class.php:793 +msgid "Authentication ( only for SASL enabled Memcached or Redis)" +msgstr "" + +#: wp-ffpc-class.php:796 +msgid "" +"WARNING: you've entered username and/or password for memcached " +"authentication ( or your browser's autocomplete did ) which will not work " +"unless you enable memcached sasl in the PHP settings: add `memcached." +"use_sasl=1` to php.ini" +msgstr "" + +#: wp-ffpc-class.php:799 +msgid "Authentication: username" +msgstr "" + +#: wp-ffpc-class.php:804 +msgid "Username for authentication with backends" +msgstr "" + +#: wp-ffpc-class.php:808 +msgid "Authentication: password" +msgstr "" + +#: wp-ffpc-class.php:813 +msgid "" +"Password for authentication with for backends - WARNING, the password will " +"be stored in an unsecure format!" +msgstr "" + +#: wp-ffpc-class.php:816 +msgid "Memcached specific settings" +msgstr "" + +#: wp-ffpc-class.php:818 +msgid "Enable memcached binary mode" +msgstr "" + +#: wp-ffpc-class.php:822 +msgid "" +"Some memcached proxies and implementations only support the ASCII protocol." +msgstr "" + +#: wp-ffpc-class.php:830 +msgid "Precache settings & log from previous pre-cache generation" +msgstr "" + +#: wp-ffpc-class.php:833 +msgid "Precache schedule" +msgstr "" + +#: wp-ffpc-class.php:839 +msgid "Schedule autorun for precache with WP-Cron" +msgstr "" + +#: wp-ffpc-class.php:860 +msgid "No precache log was found!" +msgstr "" + +#: wp-ffpc-class.php:863 +msgid "Time of run: " +msgstr "" + +#: wp-ffpc-class.php:887 +msgid "Save Changes" +msgstr "" + +#: wp-ffpc-class.php:897 wp-ffpc-class.php:903 wp-ffpc-class.php:919 +#: wp-ffpc-class.php:930 +msgid "Precache" +msgstr "" + +#: wp-ffpc-class.php:898 +msgid "Empty cache" +msgstr "" + +#: wp-ffpc-class.php:899 +msgid "Reset settings" +msgstr "" + +#: wp-ffpc-class.php:907 +msgid "" +"Precache functionality is disabled due to unavailable system call function. " +"
Since precaching may take a very long time, it's done through a " +"background CLI process in order not to run out of max execution time of PHP. " +"Please enable one of the following functions if you whish to use precaching: " +msgstr "" + +#: wp-ffpc-class.php:910 +msgid "Pre-cache" +msgstr "" + +#: wp-ffpc-class.php:914 +msgid "" +"Start a background process that visits all permalinks of all blogs it can " +"found thus forces WordPress to generate cached version of all the pages.
The plugin tries to visit links of taxonomy terms without the taxonomy name " +"as well. This may generate 404 hits, please be prepared for these in your " +"logfiles if you plan to pre-cache." +msgstr "" + +#: wp-ffpc-class.php:922 +msgid "Clear cache" +msgstr "" + +#: wp-ffpc-class.php:925 +msgid "" +"Clear all entries in the storage, including the ones that were set by other " +"processes." +msgstr "" + +#: wp-ffpc-class.php:933 +msgid "Reset options" +msgstr "" + +#: wp-ffpc-class.php:936 +msgid "Reset settings to defaults." +msgstr "" + +#: wp-ffpc-class.php:947 +msgid "Cache type" +msgstr "" + +#: wp-ffpc-class.php:948 +msgid "Debug & in-depth" +msgstr "" + +#: wp-ffpc-class.php:949 +msgid "Cache exceptions" +msgstr "" + +#: wp-ffpc-class.php:950 +msgid "Backend settings" +msgstr "" + +#: wp-ffpc-class.php:951 +msgid "Precache & precache log" +msgstr "" + +#: wp-ffpc-class.php:968 +msgid "Scheduling WP-CRON event" +msgstr "" + +#: wp-ffpc-class.php:972 +msgid "Clearing WP-CRON scheduled hook " +msgstr "" + +#. Plugin Name of the plugin/theme +msgid "WP-FFPC" +msgstr "" + +#. Plugin URI of the plugin/theme +msgid "https://github.com/petermolnar/wp-ffpc" +msgstr "" + +#. Description of the plugin/theme +msgid "WordPress in-memory full page cache plugin" +msgstr "" + +#. Author of the plugin/theme +msgid "Peter Molnar " +msgstr "" + +#. Author URI of the plugin/theme +msgid "http://petermolnar.eu/" +msgstr ""