Merge pull request #49 from gablau/master

Exclude WooCommerce + Translation
This commit is contained in:
Peter Molnar 2016-04-22 08:23:16 +01:00
commit dade9fe586
8 changed files with 2134 additions and 591 deletions

BIN
languages/wp-ffpc-it_IT.mo Normal file

Binary file not shown.

759
languages/wp-ffpc-it_IT.po Normal file
View file

@ -0,0 +1,759 @@
msgid ""
msgstr ""
"Project-Id-Version: WP-FFPC\n"
"POT-Creation-Date: 2016-04-21 17:14+0200\n"
"PO-Revision-Date: 2016-04-21 17:14+0200\n"
"Last-Translator: Gabriele Lauricella <gab.lau@gmail.com>\n"
"Language-Team: Gabriele Lauricella <gab.lau@gmail.com>\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!<br />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.<br />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. <br />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 ""
"<p>Please visit <a href=\"http://wordpress.org/support/plugin/wp-ffpc\">the "
"official support forum of the plugin</a> for help.</p>"
msgstr ""
#: wp-ffpc-class.php:386
msgid "<h3>Sample config for nginx to utilize the data entries</h3>"
msgstr ""
#: wp-ffpc-class.php:387
msgid ""
"<div class=\"update-nag\">This is not meant to be a copy-paste "
"configuration; you most probably have to tailor it to your needs.</div>"
msgstr ""
#: wp-ffpc-class.php:388
msgid ""
"<div class=\"update-nag\"><strong>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 <a href=\"http://wiki.nginx.org/HttpSetMiscModule"
"\">HttpSetMiscModule</a>. Otherwise set_sha1 function is not available in "
"nginx.</strong></div>"
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 "<strong>Backend status:</strong><br />"
msgstr "<strong>Stato Backend:</strong><br />"
#: wp-ffpc-class.php:490
msgid "<span class=\"error-msg\">down</span><br />"
msgstr ""
#: wp-ffpc-class.php:492
msgid "<span class=\"ok-msg\">up & running</span><br />"
msgstr ""
#: wp-ffpc-class.php:494
msgid ""
"<span class=\"error-msg\">unknown, please try re-saving settings!</span><br /"
">"
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.<br /><strong>WARNING</"
"strong>: changing this will result the previous cache to becomes invalid!"
"<br />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.<br /"
"><strong>WARNING</strong>: 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; <strong>use the guide below to change it</strong>.<br /"
"><strong>WARNING</strong>: changing this will result the previous cache to "
"becomes invalid!<br />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 <strong>module</strong> 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 <a href=\"http://codex.wordpress."
"org/WP_DEBUG\">WP_DEBUG</a> and the WP_FFPC__DEBUG_MODE constants `true` in "
"wp-config.php.<br /> 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 <body> 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.<br />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. <em>pattern1|pattern2|etc</em>"
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. "
"<!--nocache-->. Regular expressions use you must! e.g. <em>pattern1|pattern2|"
"etc</em><br />\n"
"\t\t\t\t\t<strong>WARNING:</strong> 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: <br />- 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 : .<br />- 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&agrave; 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. "
"<br />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.<br /"
">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 <hello@petermolnar.eu>"
msgstr "Peter Molnar <hello@petermolnar.eu>"
#. Author URI of the plugin/theme
msgid "http://petermolnar.eu/"
msgstr "http://petermolnar.eu/"

735
languages/wp-ffpc.pot Normal file
View file

@ -0,0 +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 <gab.lau@gmail.com>\n"
"Language-Team: Gabriele Lauricella <gab.lau@gmail.com>\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!<br />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.<br />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. <br />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 ""
"<p>Please visit <a href=\"http://wordpress.org/support/plugin/wp-ffpc\">the "
"official support forum of the plugin</a> for help.</p>"
msgstr ""
#: wp-ffpc-class.php:386
msgid "<h3>Sample config for nginx to utilize the data entries</h3>"
msgstr ""
#: wp-ffpc-class.php:387
msgid ""
"<div class=\"update-nag\">This is not meant to be a copy-paste "
"configuration; you most probably have to tailor it to your needs.</div>"
msgstr ""
#: wp-ffpc-class.php:388
msgid ""
"<div class=\"update-nag\"><strong>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 <a href=\"http://wiki.nginx.org/HttpSetMiscModule"
"\">HttpSetMiscModule</a>. Otherwise set_sha1 function is not available in "
"nginx.</strong></div>"
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 "<strong>Backend status:</strong><br />"
msgstr ""
#: wp-ffpc-class.php:490
msgid "<span class=\"error-msg\">down</span><br />"
msgstr ""
#: wp-ffpc-class.php:492
msgid "<span class=\"ok-msg\">up & running</span><br />"
msgstr ""
#: wp-ffpc-class.php:494
msgid ""
"<span class=\"error-msg\">unknown, please try re-saving settings!</span><br /"
">"
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.<br /><strong>WARNING</"
"strong>: changing this will result the previous cache to becomes invalid!"
"<br />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.<br /"
"><strong>WARNING</strong>: 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; <strong>use the guide below to change it</strong>.<br /"
"><strong>WARNING</strong>: changing this will result the previous cache to "
"becomes invalid!<br />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 <strong>module</strong> 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 <a href=\"http://codex.wordpress."
"org/WP_DEBUG\">WP_DEBUG</a> and the WP_FFPC__DEBUG_MODE constants `true` in "
"wp-config.php.<br /> 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 <body> 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.<br />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. <em>pattern1|pattern2|etc</em>"
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. "
"<!--nocache-->. Regular expressions use you must! e.g. <em>pattern1|pattern2|"
"etc</em><br />\n"
"\t\t\t\t\t<strong>WARNING:</strong> 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: <br />- 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 : .<br />- 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. "
"<br />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.<br /"
">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 <hello@petermolnar.eu>"
msgstr ""
#. Author URI of the plugin/theme
msgid "http://petermolnar.eu/"
msgstr ""

View file

@ -3,8 +3,8 @@ Contributors: cadeyrn, ameir, haroldkyle, plescheff, dkcwd, IgorCode
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XU3DG7LLA76WC 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 Tags: cache, page cache, full page cache, nginx, memcached, apc, speed
Requires at least: 3.0 Requires at least: 3.0
Tested up to: 4.4.1 Tested up to: 4.5
Stable tag: 1.11.0 Stable tag: 1.11.1
License: GPLv3 License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -82,6 +82,7 @@ Many thanks for donations, contributors, supporters, testers & bug reporters:
* Gausden Barry * Gausden Barry
* Maksim Bukreyeu * Maksim Bukreyeu
* Lissome Hong Kong Limited * Lissome Hong Kong Limited
* [Gabriele Lauricella](https://github.com/gablau)
== Installation == == Installation ==
@ -131,6 +132,13 @@ Version numbering logic:
* every .B version indicates new features. * every .B version indicates new features.
* every ..C indicates bugfixes for A.B version. * 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 = = 1.11.0 =
*2016-01-15* *2016-01-15*

View file

@ -114,6 +114,7 @@ abstract class WP_FFPC_ABSTRACT {
add_action( 'init', array(&$this,'plugin_init')); add_action( 'init', array(&$this,'plugin_init'));
add_action( 'admin_enqueue_scripts', array(&$this,'enqueue_admin_css_js')); add_action( 'admin_enqueue_scripts', array(&$this,'enqueue_admin_css_js'));
add_action( 'plugins_loaded', array(&$this,'plugin_load_textdomain'));
} }
@ -171,6 +172,13 @@ abstract class WP_FFPC_ABSTRACT {
$this->plugin_post_init(); $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/' );
}
/** /**
* admin panel, the HTML usually * admin panel, the HTML usually

View file

@ -69,6 +69,16 @@ else {
return false; 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 */ /* 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 ) { 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'); __wp_ffpc_debug__ ( 'Dynamic url cache is disabled ( url with "?" ), skipping');

View file

@ -408,6 +408,18 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
if( ! function_exists( 'current_user_can' ) || ! current_user_can( 'manage_options' ) ){ if( ! function_exists( 'current_user_can' ) || ! current_user_can( 'manage_options' ) ){
die( ); 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'] = '';
}
?> ?>
<div class="wrap"> <div class="wrap">
@ -689,12 +701,13 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
<table style="width:100%"> <table style="width:100%">
<thead> <thead>
<tr> <tr>
<th style="width:16%; text-align:left"><label for="nocache_home"><?php _e("Exclude home", 'wp-ffpc'); ?></label></th> <th style="width:13%; text-align:left"><label for="nocache_home"><?php _e("Exclude home", 'wp-ffpc'); ?></label></th>
<th style="width:16%; text-align:left"><label for="nocache_feed"><?php _e("Exclude feeds", 'wp-ffpc'); ?></label></th> <th style="width:13%; text-align:left"><label for="nocache_feed"><?php _e("Exclude feeds", 'wp-ffpc'); ?></label></th>
<th style="width:16%; text-align:left"><label for="nocache_archive"><?php _e("Exclude archives", 'wp-ffpc'); ?></label></th> <th style="width:13%; text-align:left"><label for="nocache_archive"><?php _e("Exclude archives", 'wp-ffpc'); ?></label></th>
<th style="width:16%; text-align:left"><label for="nocache_page"><?php _e("Exclude pages", 'wp-ffpc'); ?></label></th> <th style="width:13%; text-align:left"><label for="nocache_page"><?php _e("Exclude pages", 'wp-ffpc'); ?></label></th>
<th style="width:16%; text-align:left"><label for="nocache_single"><?php _e("Exclude singulars", 'wp-ffpc'); ?></label></th> <th style="width:13%; text-align:left"><label for="nocache_single"><?php _e("Exclude singulars", 'wp-ffpc'); ?></label></th>
<th style="width:17%; text-align:left"><label for="nocache_dyn"><?php _e("Dynamic requests", 'wp-ffpc'); ?></label></th> <th style="width:17%; text-align:left"><label for="nocache_dyn"><?php _e("Dynamic requests", 'wp-ffpc'); ?></label></th>
<th style="width:18%; text-align:left"><label for="nocache_woocommerce"><?php _e("WooCommerce", 'wp-ffpc'); ?></label></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -723,6 +736,12 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
<input type="checkbox" name="nocache_dyn" id="nocache_dyn" value="1" <?php checked($this->options['nocache_dyn'],true); ?> /> <input type="checkbox" name="nocache_dyn" id="nocache_dyn" value="1" <?php checked($this->options['nocache_dyn'],true); ?> />
<span class="description"><?php _e('Exclude every URL with "?" in it.', 'wp-ffpc'); ?></span> <span class="description"><?php _e('Exclude every URL with "?" in it.', 'wp-ffpc'); ?></span>
</td> </td>
<td>
<input type="hidden" name="nocache_woocommerce_url" id="nocache_woocommerce_url" value="<?php if(isset( $this->options['nocache_woocommerce_url'] ) ) echo $this->options['nocache_woocommerce_url']; ?>" />
<input type="checkbox" name="nocache_woocommerce" id="nocache_woocommerce" value="1" <?php checked($this->options['nocache_woocommerce'],true); ?> />
<span class="description"><?php _e('Exclude dynamic WooCommerce page.', 'wp-ffpc');?>
<?php if(isset( $this->options['nocache_woocommerce_url'] ) ) echo "<br />Url:".$this->options['nocache_woocommerce_url']; ?></span>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -771,7 +790,7 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
<?php _e('List of backends, with the following syntax: <br />- 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 : .<br />- for a unix socket enter: unix://[socket_path]', 'wp-ffpc'); ?></span> <?php _e('List of backends, with the following syntax: <br />- 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 : .<br />- for a unix socket enter: unix://[socket_path]', 'wp-ffpc'); ?></span>
</dd> </dd>
<h3><?php _e('Authentication ( only for SASL enabled Memcached or Redis')?></h3> <h3><?php _e('Authentication ( only for SASL enabled Memcached or Redis)')?></h3>
<?php <?php
if ( ! ini_get('memcached.use_sasl') && ( !empty( $this->options['authuser'] ) || !empty( $this->options['authpass'] ) ) ) { ?> if ( ! ini_get('memcached.use_sasl') && ( !empty( $this->options['authuser'] ) || !empty( $this->options['authpass'] ) ) ) { ?>
<div class="error"><p><strong><?php _e( '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' , 'wp-ffpc') ?></strong></p></div> <div class="error"><p><strong><?php _e( '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' , 'wp-ffpc') ?></strong></p></div>

View file

@ -3,10 +3,12 @@
Plugin Name: WP-FFPC Plugin Name: WP-FFPC
Plugin URI: https://github.com/petermolnar/wp-ffpc Plugin URI: https://github.com/petermolnar/wp-ffpc
Description: WordPress in-memory full page cache plugin Description: WordPress in-memory full page cache plugin
Version: 1.11.0 Version: 1.11.1
Author: Peter Molnar <hello@petermolnar.eu> Author: Peter Molnar <hello@petermolnar.eu>
Author URI: http://petermolnar.eu/ Author URI: http://petermolnar.eu/
License: GPLv3 License: GPLv3
Text Domain: wp-ffpc
Domain Path: /languages/
*/ */
/* Copyright 2010-2014 Peter Molnar ( hello@petermolnar.eu ) /* Copyright 2010-2014 Peter Molnar ( hello@petermolnar.eu )
@ -54,6 +56,8 @@ $wp_ffpc_defaults = array (
'nocache_page' => false, 'nocache_page' => false,
'nocache_cookies' => false, 'nocache_cookies' => false,
'nocache_dyn' => true, 'nocache_dyn' => true,
'nocache_woocommerce' => true,
'nocache_woocommerce_url' => '',
'nocache_url' => '^/wp-', 'nocache_url' => '^/wp-',
'nocache_comment' => '', 'nocache_comment' => '',
'response_header' => false, 'response_header' => false,