LiteSpeed Cache

Descrizione

LiteSpeed Cache for WordPress (LSCWP) is an all-in-one site acceleration plugin, featuring an exclusive server-level cache and a collection of optimization features.

LSCWP supporta WordPress Multisito ed è compatibile con i plugin più diffusi, tra cui WooCommerce, bbPress e Yoast SEO.

LiteSpeed Cache per WordPress è compatibile con ClassicPress.

Requisiti

Le caratteristiche generali possono essere utilizzate da chiunque con qualsiasi server web (LiteSpeed, Apache, NGINX, ecc.).

Caratteristiche esclusive di LiteSpeed require one of the following: OpenLiteSpeed, commercial LiteSpeed products, LiteSpeed-powered hosting, or QUIC.cloud CDN. Why?

Funzionalità del plugin

Caratteristiche generali

  • Cache CDN QUIC.cloud gratuita
  • Supporto per la cache degli oggetti (Memcached/LSMCD/Redis)+
  • Image Optimization (Lossless/Lossy)
  • Minificare CSS, JavaScript ed HTML
  • Minify inline & external CSS/JS
  • Combinare CSS / JS
  • Genera automaticamente i CSS critici
  • Lazy Load d’immagini / iframes
  • Segnaposto immagine responsive
  • Supporto CDN multiplo+
  • Carica i CSS in modo asincrono
  • Defer/delay JS loading
  • Supporto per la Cache del Browser+
  • Pulitore ed ottimizzatore del database
  • PageSpeed score (including Core Web Vitals) optimization
  • Supporto per la cache OPcode+
  • HTTP / 2 Push per CSS / JS (sui server web che lo supportano)
  • DNS Prefetch
  • Cloudflare API
  • Supporto per siti web singoli e per siti web multisito (network)
  • Import/Export settings
  • Interfaccia attraente e di facile comprensione
  • Supporto del formato immagine WebP
  • Controllo dell’heartbeat

+ This service is not provided by the LSCache plugin, nor is it guaranteed to be installed by your service provider. However, the plugin is compatible with the service if it is in use on your site.

Caratteristiche esclusive di LiteSpeed

  • Caching automatico delle pagine per migliorare notevolmente le prestazioni del sito web
  • Svuotamento automatica delle pagine correlate in base a determinati eventi
  • Cache privata per gli utenti loggati
  • Caching delle chiamate API REST di WordPress
  • Caching separato delle visualizzazioni desktop e mobile
  • Ability to schedule purge for specified URLs
  • WooCommerce and bbPress support
  • Comandi di WordPress CLI
  • Sistema API per una facile integrazione della cache
  • Exclude from cache by URI, Category, Tag, Cookie, User Agent
  • Smart preload crawler with support for SEO-friendly sitemap
  • Multiple crawlers for cache varies
  • Supporto per HTTP/2
  • HTTP/3 &amp QUIC supporto
  • Supporto ESI (Edge Side Include)*
  • Widgets and Shortcodes as ESI blocks* (requires Classic Widgets plugin for WP 5.8+)

* Funzione non disponibile in OpenLiteSpeed

Risorse LSCWP

Compatibilità con le terze parti

The vast majority of plugins and themes are compatible with LSCache. Our API is available for those that are not. Use the API to customize smart purging, customize cache rules, create cache varies, and make WP nonce cacheable, among other things.

Privacy

This plugin includes some suggested text that you can add to your site’s Privacy Policy via the Guide in the WordPress Privacy settings.

Per tua informazione: LiteSpeed Cache per WordPress memorizza potenzialmente una copia duplicata di ogni pagina web visualizzata sul tuo sito web. Le pagine sono memorizzate localmente sul sistema in cui è installato il software del server LiteSpeed e non sono trasferite o accessibili ad i dipendenti di LiteSpeed in alcun modo, se non nella misura necessaria a fornire l’assistenza tecnica di routine se richiesta. Tutti i file di cache sono temporanei e possono essere facilmente cancellati prima della loro scadenza naturale, se necessario, tramite un comando “Elimina tutto”. Spetta agli amministratori dei singoli siti web stabilire le proprie regole di scadenza della cache.

In addition to caching, our WordPress plugin has online features provided by QUIC.cloud for Image Optimization, CSS Optimization and Low Quality Image Placeholder services. When one of those optimizations are requested, data is transmitted to a remote QUIC.cloud server, processed, and then transmitted back for use on your site. Now if using the QUIC.cloud CDN it uses LSCache technologies to access your site then host your site to others globally and also your data is not transferred to or accessed by QUIC.cloud employees in any way, except as necessary in providing maintenance or technical support. QUIC.cloud keeps copies of that data for up to 7 days and then permanently deletes them. Similarly, the WordPress plugin has a Reporting feature whereby a site owner can transmit an environment report to LiteSpeed so that we may better provide technical support. None of these features collects any visitor data. Only server and site data are involved.

Please see the QUIC.cloud Privacy Policy for our complete Privacy/GDPR statement.

Screenshot

  • Benchmark dei plugin
  • Amministrazione – Bacheca
  • Amministrazione – Ottimizzazione delle immagini
  • Amministrazione – Crawler
  • Impostazioni di amministrazione – Cache
  • Impostazioni dell’amministrazione – Ottimizzazione della pagina
  • Impostazioni amministratore – CDN
  • Impostazioni amministratore – Ottimizzatore del DB
  • Impostazioni dell’amministrazione – Casella degli strumenti
  • Esempio di perdita della cache
  • Esempio di hit della cache

Installazione

View detailed documentation.

Per l’ottimizzazione senza un server web LiteSpeed

  1. Install the LiteSpeed Cache for WordPress plugin and activate it.
  2. From the WordPress Dashboard, navigate to LiteSpeed Cache > Page Optimization. Enable the available optimization features in the various tabs.

Per la cache e l’ottimizzazione con un server web LiteSpeed

  1. Install LiteSpeed Web Server Enterprise with LSCache Module, LiteSpeed Web ADC, or OpenLiteSpeed with cache module (Free). Or sign up for QUIC.cloud CDN.
  2. Install the LiteSpeed Cache for WordPress plugin and activate it.
  3. From the WordPress Dashboard, navigate to LiteSpeed Cache > Cache, make sure the option Enable LiteSpeed Cache is set to ON.
  4. Enable any desired caching and optimization features in the various tabs.

Note per LiteSpeed Web Server Enterprise

  • Make sure that your license includes the LSCache module. A 2-CPU trial license with LSCache module is available for free for 15 days.
  • The server must be configured to have caching enabled. If you are the server admin, click here for instructions. Otherwise, please request that the server admin configure the cache root for the server.

Notes for OpenLiteSpeed

  • This integration utilizes OpenLiteSpeed’s cache module.
  • Se si tratta di una nuova installazione di OLS, il modo più semplice per integrarla è utilizzare ols1clk. Se si utilizza un’installazione WordPress esistente, utilizza il parametro --wordpresspath.
  • Se OLS e WordPress sono già installati, segui le istruzioni riportate in Come configurare LSCache per WordPress.

FAQ

Perché le funzioni della cache richiedono il Server LiteSpeed?

Questo plugin comunica con il tuo Web Server LiteSpeed e con la sua cache integrata (LSCache) per offrire prestazioni superiori al tuo sito web sviluppato con WordPress. Le funzioni di cache del plugin indicano al server che una pagina è memorizzabile nella cache e per quanto tempo, oppure invalidano determinate pagine memorizzate nella cache utilizzando dei tag.

LSCache is a server-level cache, so it’s faster than PHP-level caches. Compare with other PHP-based caches.

A page cache allows the server to bypass PHP and database queries altogether. LSCache, in particular, because of its close relationship with the server, can remember things about the cache entries that other plugins cannot, and it can analyze dependencies. It can utilize tags to manage the smart purging of the cache, and it can use vary cookies to serve multiple versions of cached content based on things like mobile vs. desktop, geographic location, and currencies. See our Caching 101 blog series.

Se tutto questo ti sembra complicato, non preoccuparti. LSCWP funziona subito, con impostazioni predefinite adatte alla maggior parte dei siti web. Vedi la guida per i principianti.

Don’t have a LiteSpeed server? Try our QUIC.cloud CDN service. It allows sites on any server (NGINX and Apache included) to experience the power of LiteSpeed caching! Click here to learn more or to give QUIC.cloud a try.

E le funzioni di ottimizzazione di LSCache?

LSCWP include ulteriori funzioni di ottimizzazione, come l’ottimizzazione del database, la minimizzazione e la combinazione di file CSS e JS, HTTP/2 Push, il supporto CDN, la cache del browser, la cache degli oggetti, il Lazy Load delle immagini e l’ottimizzazione delle immagini! Queste funzioni non richiedono l’utilizzo di un server web LiteSpeed.

Il plugin LiteSpeed Cache per WordPress è gratuito?

Yes, LSCWP will always be free and open source. That said, a LiteSpeed server is required for the cache features, and there are fees associated with some LiteSpeed server editions. Some of the premium online services provided through QUIC.cloud (CDN Service, Image Optimization, Critical CSS, Low-Quality Image Placeholder, etc.) require payment at certain usage levels. You can learn more about what these services cost, and what levels of service are free, on your QUIC.cloud dashboard.

Quale software del server è necessario per questo plugin?

A LiteSpeed solution is required in order to use the LiteSpeed Exclusive features of this plugin. Any one of the following will work:

  1. LiteSpeed Web Server Enterprise with LSCache Module (v5.0.10+)
  2. OpenLiteSpeed (v1.4.17+)
  3. LiteSpeed WebADC (v2.0+)
  4. QUIC.cloud CDN

The Caratteristiche generali may be used with any web server. LiteSpeed is not required.

Questo plugin funziona in un ambiente cluster?

The cache entries are stored at the LiteSpeed server level. The simplest solution is to use LiteSpeed WebADC, as the cache entries will be stored at that level.

If using another load balancer, the cache entries will only be stored at the backend nodes, not at the load balancer.

The purges will also not be synchronized across the nodes, so this is not recommended.

Se è necessaria una soluzione personalizzata, contatta LiteSpeed Technologies all’indirizzo email info@litespeedtech.com.

AVVISO: le regole di riscrittura create da questo plugin devono essere copiate nel Load Balancer.

Dove vengono memorizzati i file nella cache?

The actual cached pages are stored and managed by LiteSpeed Servers.

Non viene memorizzato nulla all’interno della struttura dei file di WordPress.

LiteSpeed Cache per WordPress funziona con OpenLiteSpeed?

Sì, può funzionare bene con OpenLiteSpeed, anche se alcune funzioni potrebbero non essere supportate. Vedi Caratteristiche del plugin qui sopra per avere maggiori dettagli. Qualsiasi modifica delle impostazioni che richieda la modifica del file .htaccess richiederà il riavvio del server.

WooCommerce è supportato?

In breve, sì. Tuttavia, per alcuni temi WooCommerce, il carrello potrebbe non essere aggiornato correttamente. Ti invitiamo a visitare il nostro blog per un rapido tutorial su come individuare questo problema ed eventualmente risolverlo.

Are my images optimized?

Images are not optimized automatically unless you set LiteSpeed Cache > Image Optimization > Image Optimization Settings > Auto Request Cron to ON. You may also optimize your images manually. Learn more.

How do I make a WP nonce cacheable in my third-party plugin?

Our API includes a function that uses ESI to “punch a hole” in a cached page for a nonce. This allows the nonce to be cached separately, regardless of the TTL of the page it is on. Learn more in the API documentation. We also welcome contributions to our predefined list of known third party plugin nonces that users can optionally include via the plugin’s ESI settings.

Come faccio ad abilitare il crawler?

Il crawler è disabilitato per impostazione predefinita e deve essere abilitato dall’amministratore del server.

Once the crawler is enabled on the server side, navigate to LiteSpeed Cache > Crawler > General Settings and set Crawler to ON.

For more detailed information about crawler setup, please see the Crawler documentation.

Quali sono i plugin ed i temi compatibili?

The vast majority of plugins and themes are compatible with LiteSpeed Cache. The most up-to-date compatibility information can be found in our documentation

Recensioni

18 Luglio 2024
I have tried almost all the cache and CDN plugins but LiteSpeed, besides being pre-integrated in the server, is a very complete tool, I recommend it, and with Cloudflare’s cache it goes very well! Recommended!
4 Luglio 2024
I can’t say enough good things about LiteSpeed Cache. From the first day I implemented it on our company’s WordPress site, the improvements were visible. Not only did our site’s loading speed increase dramatically, but our SEO rankings also saw a noticeable boost. It’s incredibly user-friendly and integrates seamlessly with other plugins. I highly recommend this to any business looking to enhance their website performance.
3 Luglio 2024
L O V E this plugin. Thank you! Works magic.
Leggi tutte le recensioni di 2.478

Contributi e sviluppo

“LiteSpeed Cache” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

“LiteSpeed Cache” è stato tradotto in 30 lingue. Grazie ai traduttori per i loro contributi.

Traduci “LiteSpeed Cache” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.

Changelog

6.2.0.1 – Apr 25 2024

  • 🔥🐞Page Optimize Fixed the image display issue that occurs with Elementor’s data-settings attribute when the WebP image is not yet ready. (kanten/cbwwebmaster/reedock #132840 #680939 #326525)

6.2 – Apr 23 2024

  • 🌱Crawler Added Crawler hit/miss filter. (#328853)
  • 🌱CLI Image optimization now supports wp litespeed-image batch_switch orig/optm. (A2Hosting)
  • 🌱VPI Auto preload VPI images. (Ankit)
  • Object Added support for username/password authentication for Redis (PR#616 Donatas Abraitis/hostinger)
  • Page Optimize Now supporting Elementors data-settings WebP replacement. (Thanks to Ryan D)
  • Cache Send Cache-Control: no-cache, no-store, must-revalidate, max-age=0 when page is not cacheable. (asafm7/Ruikai)
  • Cache Cache control will respect X-Http-Method-Override now. (George)
  • Cache No cache for X-Http-Method-Override: HEAD. (George)
  • Cache Specified LSCWP in adv-cache compatible file.
  • Cache Fixed redirection loop if query string has tailing ampersand (#389629)
  • Cache Dropped “Cache Favicon.ico” option as it is redundant with 404 cache. (Lauren)
  • Cache Fixed deprecated PHP v8 warning in page redirection. (Issue#617 dcx15)
  • Cloud REST callback used ACL for QC ips validation.
  • Cloud Fixed a typo in parsing cloud msg which prevented error messages to show.
  • Cloud Carried on PHP ver for better version detection purpose.
  • Cloud Escaped token to show correctly in report.
  • Cloud Fixed a QC cloud ip verification setup failure in PHP 5.3.
  • 🐞Cloud Fixed a continual new version detection.
  • 🐞Image Optimize Fixed a summary counter mismatch for finished images. (A2Hosting)
  • CDN Auto CDN setup compatibility with WP versions less than 5.3.
  • 🐞CDN Fixed wrong replacement of non image files in image replacement. (Lucas)
  • GUI Further filtered admin banner messages to prevent from existing danger code in database.
  • REST Fixed a potential PHP warning in REST check when param is empty. (metikar)

6.1 – Feb 1 2024

  • 🌱Database New Clear Orphaned Post Meta optimizer function.
  • Image Optimize Fixed possible PHP warning for WP requests library response.
  • Image Optimize Unlocked noabort to all async tasks to avoid image optimization timeout. (Peter Wells)
  • Image Optimize Fixed an issue where images weren’t being pulled with older versions of WordPress. (PR#608)
  • Image Optimize Improved exception handling when node server cert expire.
  • 🐞Image Optimize The failed to pull images due to 404 expiry will now be able to send the request again.
  • Crawler CLI will now be able to force crawling even if a crawl was recently initiated within the plugin GUI.
  • Page Optimize Fixed a dynamic property creation warning in PHP8. (PR#606)
  • Page Optimize Fixed an issue where getimagesize could cause page optimization to fail. (PR#607)
  • Tag Fixed an array to string conversion warning. (PR#604)
  • Object Cache Return false to prevent PHP warning when Redis fails to set a value. (PR#612)
  • Cache Tag Fixed an issue where $wp_query is null when getting cache tags. (PR#589)

6.0.0.1 – Dec 15 2023

  • 🐞Image Optimize Grouped the taken notification to regional center servers to reduce the load after image pulled.

6.0 – Dec 12 2023

  • 🌱Image Optimize Parallel pull. (⭐ Contributed by Peter Wells #581)
  • 🌱Cache CLI Crawler.
  • 🌱Cache New Vary Cookies option.
  • 🌱Media New Preload Featured Image option. (Ankit)
  • Core Codebase safety review. (Special thanks to Rafie Muhammad @ Patchstack)
  • Purge Purge will not show QC message if no queue is cleared.
  • Purge Fixed a potential warning when post type is not as expected. (victorzink)
  • Conf Server IP field may now be emptied. (#111647)
  • Conf CloudFlare CDN setting vulnerability patch. (Gulshan Kumar #541805)
  • Crawler Suppressed sitemap generation msg when running by cron.
  • Crawler PHP v8.2 Dynamic property creation warning fix. (oldrup #586)
  • VPI VPI can now support non-alphabet filenames.
  • VPI Fixed PHP8.2 deprecated warning. (Ryan D)
  • ESI Fixed ESI nonce showing only HTML comment issue. (Giorgos K.)
  • 🐞Page Optimize Fixed a fatal PHP error caused by the WHM plugin’s Mass Enable for services not in use. (Michael)
  • 🐞Network Fix in-memory options for multisites. (Tynan #588)
  • Network Correct Disable All Features link for Multisite.
  • 🐞Image Optimize Removing original image will also remove optimized images.
  • Image Optimize Increased time limit for pull process.
  • Image Optimize Last pull time and cron tag now included in optimization summary.
  • Image Optimize Fixed Elementors Slideshow unusal background images. (Ryan D)
  • 🐞Database Optimize Fix an issue where cleaning post revisions would fail while cleaning postmeta. (Tynan #596)
  • Crawler Added status updates to CLI. (Lars)
  • 3rd WPML product category purge for WooCommerce. (Tynan #577)

5.7.0.1 – Oct 25 2023

  • GUI Improvements to admin banner messaging. (#694622)
  • CDN Improvements to CDN Setup. (#694622)
  • Image Optimize Improvements to the process of checking image identification. (#694622)

5.7 – Oct 10 2023

  • 🌱Ottimizza pagina Nuova opzione disponibile: Preconnessione. (xguiboy/Mukesh Patel)
  • 🌱 Nuova opzione Vary for Mini Cart per Woocommerce. (Ruikai)
  • Cloud Forza la sincronizzazione della configurazione con QUIC.cloud se la CDN è riabilitata.
  • Cloud Force syncing the configuration to QUIC.cloud if domain key is readded.
  • Cloud Limit multi-line fields when posting to QC.
  • Cache Treat HEAD requests as cacheable as GET. (George Wang)
  • 🐞ESI Patched a possible vulnerability issue. (István Márton@Wordfence #841011)
  • 🐞ESI Overwrite SCRIPT_URI to prevent ESI sub request resulting in redirections. (Tobolo)
  • 🐞Image Optimize Bypass unnecessary image processing when images were only partially optimized. (Ruikai)
  • 🐞Guest Guest mode will not enable WebP directly anymore. (Michael Heymann)
  • CDN Auto disable CDN if CDN URL is invalid. (Ruikai)
  • CDN Fixed a null parameter warning for PHP v8.1 (#584)
  • API Added litespeed_media_add_missing_sizes filter to allow bypassing Media’s “add missing sizes” option (for Guest Optimization and otherwise). (PR #564)
  • Guest Fixed soft 404 and robots.txt report for guest.vary.php.
  • Vary Enabled litespeed_vary_cookies for LSWS Enterprise.
  • GUI Stopped WebP tip from wrongly displaying when Guest Mode is off.
  • GUI Added QUIC.cloud promotion postbox on dashboard page.
  • 3rd Added pagespeed ninja to blocklist due to its bad bahavior.