Ancora troppe poche scansioni per pubblicare il punteggio (3 ricevute).
Informazioni
This plugin generates static html files from your dynamic WordPress blog. After a html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts.
I file statici in html saranno disponibili per la maggior parte dei tuoi utenti:
99% of your visitors will be served static html files. One cached file can be served thousands of times. Other visitors will be served custom cached files tailored to their visit. If they are logged in, or have left comments those details will be displayed and cached for them.
Leggi tutto Mostra meno
The plugin serves cached files in 3 ways (ranked by speed):
Se non ti senti sicuro a modificare direttamente i file PHP, utilizza la modalità semplice. È facile e veloce da impostare.
La Garbage collection è la procedura di pulizia dei file di cache che superano una certa data di scadenza. Non esiste un’impostazione corretta per questa data, ma un valore consigliato è di 1800 secondi.
Considera l’ipotesi di cancellare i contenuti degli “User Agents Rifiutati” e permettere ai motori di ricerca di mettere in cache i file al posto tuo.
Preload as many posts as you can and enable “Preload Mode”. Garbage collection of old cached files will be disabled. If you don’t care about sidebar widgets updating often set the preload interval to 2880 minutes (2 days) so all your posts aren’t recached very often. When the preload occurs the cache files for the post being refreshed is deleted and then regenerated. Afterwards a garbage collection of all old files is performed to clean out stale cache files.
Even with preload mode enabled cached files will still be deleted when posts are modified or comments made.
If you need more information than the following, you can have a look at the wiki or the Developer documentation.
You can generate cached files for the posts, categories and tags of your site by preloading. Preloading will visit each page of your site generating a cached page as it goes along, just like any other visitor to the site. Due to the sequential nature of this function, it can take some time to preload a complete site if there are many posts.
To make preloading more effective it can be useful to disable garbage collection so that older cache files are not deleted. This is done by enabling “Preload Mode” in the settings. Be aware however, that pages will go out of date eventually but that updates by submitting comments or editing posts will clear portions of the cache.
La directory dei file in cache può spesso riempirsi, andando nel tempo ad occupare molto spazio. Se questo spazio è limitato, oppure ha delle restrizioni per le quali è necessario pagare per aumentarlo, allora è necessario effettuare un’operazione di garbage collection. Questo processo avviene regolarmente e si occupa di cancellare i vecchi file presenti nella directory di cache. Nella pagina delle impostazioni avanzate, puoi specificare:
1. La scadenza della cache. Per quanto tempo i file di cache devono essere considerati attivi. Dopo questo periodo di tempo, vengono considerati obsoleti e dunque possono essere cancellati.
2. Schedulazione. Imposta ogni quanto deve essere eseguita la garbage collection.
3. Email di notifica. Puoi essere informato via mail sullo stato attuale del processo di garbage collection. Non esiste un’impostazione predefinita o consigliata, in questo caso. Dipende infatti molto dal tuo sito web. Se questi viene regolarmente aggiornato, oppure vengono regolarmente pubblicati nuovi contenuti, o commenti, allora un valore idoneo del timeout potrebbe essere quello di 1800 secondi, con il timer impostato a 600 secondi.
Se il tuo sito web è prevalentemente statico, senza troppi aggiornamenti di contenuto, allora puoi anche disabilitare la garbage collection inserendo il valore 0 (zero) come timeout, oppure un valore molto alto.
The cache directory, usually wp-content/cache/ is only for temporary files. Do not ever put important files or symlinks to important files or directories in that directory. They will be deleted if the plugin has write access to them.
A Content Delivery Network (CDN) is usually a network of computers situated around the world that will serve the content of your website faster by using servers close to you. Static files like images, Javascript and CSS files can be served through these networks to speed up how fast your site loads. You can also create a “poor man’s CDN” by using a sub domain of your domain to serve static files too.
OSSDL CDN off-linker has been integrated into WP Super Cache to provide basic CDN support. It works by rewriting the URLs of files (excluding .php files) in wp-content and wp-includes on your server so they point at a different hostname. Many CDNs support origin pull. This means the CDN will download the file automatically from your server when it’s first requested, and will continue to serve it for a configurable length of time before downloading it again from your server.
Configure this on the “CDN” tab of the plugin settings page. This is an advanced technique and requires a basic understanding of how your webserver or CDNs work. Please be sure to clear the file cache after you configure the CDN.
Sono disponibili degli endpoint REST API per accedere alle impostazioni di questo plugin. Per utilizzarli, dovrai essere autenticato come admin e avere i relativi permessi di visualizzazione. Non esiste ancora una documentazione ufficiale in merito, ma puoi trovare tutto il codice relativo nella cartella “rest”.
Ora è possibile lavorare direttamente nell’hook del sistema di caching tramite la funzione add_cacheaction().
Sono disponibili 3 hooks:
There is one regular WordPress filter too. Use the “do_createsupercache” filter
to customize the checks made before caching. The filter accepts one parameter.
The output of WP-Cache’s wp_cache_get_cookies_values() function.
WP Super Cache has its own plugin system, loaded before most of WordPress. Add your own plugin either by putting it in the wp-content/plugins/wp-super-cache-plugins directory, or by calling wpsc_add_plugin( $name ) with the full path to the plugin.
The cookies used to identify “known users” can be modified with wpsc_add_cookie( $name ) and wpsc_delete_cookie( $name ). See plugins/searchengine.php as an example.
If things don’t work when you installed the plugin here are a few things to check:
Make sure the following line is in wp-config.php and it is ABOVE the “require_once(ABSPATH.’wp-settings.php’);” line:
define( 'WP_CACHE', true );
If supercache cache files are generated but not served, check the permissions on all your wp-content/cache/supercache folders (and each of wp-content cache and supercache folders) and wp-content/cache/.htaccess. If your PHP runs as a different user to Apache and permissions are strict Apache may not be able to read the PHP generated cache files. To fix you must add the following line to your wp-config.php (Add it above the WP_CACHE define.) Then clear your cache.
umask( 0022 );
If you see garbage in your browser after enabling compression in the plugin, compression may already be enabled in your web server. In Apache you must disable mod_deflate, or in PHP zlib compression may be enabled. You can disable that in three ways. If you have root access, edit your php.ini and find the zlib.output_compression setting and make sure it’s “Off” or add this line to your .htaccess:
php_flag zlib.output_compression off
Se non funziona, aggiungi questa riga al tuo wp-config.php:
ini_set('zlib.output_compression', 0);
If certain characters do not appear correctly on your website your server may not be configured correctly. You need to tell visitors what character set is used. Go to Settings->Reading and copy the ‘Encoding for pages and feeds’ value. Edit the .htaccess file with all your Supercache and WordPress rewrite rules and add this at the top, replacing CHARSET with the copied value. (for example, ‘UTF-8’)
Descrizione pubblicata da Automattic su WordPress.org, con licenza GPLv2 or later.
Storico per versione
Mostra il dettaglio per versione (2 versioni)
Storico per versione
Mostra il dettaglio per versione (2 versioni)
Come evolve il plugin di versione in versione.
| Versione | Homepage | Admin | Ultima scansione |
|---|---|---|---|
| v3.1.4 | 2 scansioni | — | 6 giorni fa |
| v3.1.1 | 1 scansione | — | 3 mesi fa |
Alternative nella stessa categoria
Altri plugin cache misurati dalla community, ordinati dal più leggero al più pesante.
Ancora troppe poche scansioni per pubblicare il punteggio (1 ricevute).
Ancora troppe poche scansioni per pubblicare il punteggio (3 ricevute).
Ancora troppe poche scansioni per pubblicare il punteggio (3 ricevute).
Ancora troppe poche scansioni per pubblicare il punteggio (2 ricevute).
Ancora troppe poche scansioni per pubblicare il punteggio (1 ricevute).
Storico delle scansioni
Mostra il registro delle singole scansioni (3 scansioni)
Storico delle scansioni
Mostra il registro delle singole scansioni (3 scansioni)
| Data | Versione | Contesto | Punteggio | Grade | Tempo | Memoria |
|---|---|---|---|---|---|---|
| 6 giorni fa | v3.1.4 | Homepage | 94/100 | A | 259 ms | 0.0 MB |
| 1 settimana fa | v3.1.4 | Homepage | 90/100 | A | 527 ms | 2.0 MB |
| 3 mesi fa | v3.1.1 | Homepage | 99/100 | A | 0 ms | 4.0 MB |