LiteSpeed Cache

Descripción

LiteSpeed Cache para WordPress (LSCWP) es un complemento de aceleración de sitio todo en uno, que ofrece un caché exclusivo a nivel de servidor y una colección de características de optimización.

LSCWP supports WordPress Multisite and is compatible with most popular plugins, including WooCommerce, bbPress, and Yoast SEO.

LiteSpeed Cache for WordPress is compatible with ClassicPress.

Requerimientos

Características generales may be used by anyone with any web server (LiteSpeed, Apache, NGINX, etc.).

Funciones exclusivas de LiteSpeed require one of the following: OpenLiteSpeed, commercial LiteSpeed products, LiteSpeed-powered hosting, or QUIC.cloud CDN. Why?

Funcionalidades del plugin

Características generales

  • Free QUIC.cloud CDN Cache
  • Object Cache (Memcached/LSMCD/Redis) Support+
  • Optimización de imagen (Sin pérdida/Con pérdida)
  • Minifica CSS, JavaScript, y HTML
  • Minify inline & external CSS/JS
  • Combina CSS/JS
  • Genera automáticamente CSS crítico
  • Carga diferida de imágenes/iframes
  • Responsive Image Placeholders
  • Compatible con CDN múltiple
  • Carga CSS/JS asíncronamente
  • Defer/delay JS loading
  • Browser Cache Support+
  • Limpiador y optimizador de base de datos
  • PageSpeed score (including Core Web Vitals) optimization
  • OPcode Cache Support+
  • HTTP/2 Push for CSS/JS (on web servers that support it)
  • Prefetch DNS
  • Cloudflare API
  • Soporte de sitio único y multisitio (red)
  • Importar/Exportar configuraciones
  • Interfaz atractiva, fácil de entender
  • Soporte para formato de imágenes WebP
  • Control de 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.

Funciones exclusivas de LiteSpeed

  • Cacheo de página automático para mejorar enormemente el rendimiento del sitio
  • Purga automática de páginas relacionadas basada en ciertos eventos
  • Caché privada para usuarios con sesión iniciada
  • Cacheo de llamadas a la API REST de WordPress
  • Cacheo separado para vistas de escritorio y móviles
  • Ability to schedule purge for specified URLs
  • WooCommerce and bbPress support
  • Comandos WordPress CLI
  • API system for easy cache integration
  • Exclude from cache by URI, Category, Tag, Cookie, User Agent
  • Crawler de precarga inteligente compatible con sitemap amigables con el SEO
  • Multiple crawlers for cache varies
  • Soporte HTTP/2
  • HTTP/3 & QUIC support
  • Soporte ESI (Edge Side Includes)*
  • Widgets and Shortcodes as ESI blocks* (requires Classic Widgets plugin for WP 5.8+)

* Feature not available in OpenLiteSpeed

LSCWP Resources

Compatibilidad con terceros

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.

Privacidad

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

For your own information: LiteSpeed Cache for WordPress potentially stores a duplicate copy of every web page on display on your site. The pages are stored locally on the system where LiteSpeed server software is installed and are not transferred to or accessed by LiteSpeed employees in any way, except as necessary in providing routine technical support if you request it. All cache files are temporary, and may easily be purged before their natural expiration, if necessary, via a Purge All command. It is up to individual site administrators to come up with their own cache expiration rules.

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.

Capturas

  • Puntos de referencia del plugin
  • Admin - Dashboard
  • Admin - Image Optimization
  • Admin - Crawler
  • Ajustes de administración - Caché
  • Admin Settings - Page Optimization
  • Ajustes de administración - CDN
  • Ajustes de administración - Optimizador de la BD
  • Admin Settings - Toolbox
  • Ejemplo de página no cacheada
  • Ejemplo de página cacheada

Instalación

Ver la documentación detallada.

For Optimization Without a LiteSpeed Web Server

  1. Instala el plugin de LiteSpeed Cache para WordPress y actívalo.
  2. From the WordPress Dashboard, navigate to LiteSpeed Cache > Page Optimization. Enable the available optimization features in the various tabs.

For Caching and Optimization With a LiteSpeed Web Server

  1. Instala LiteSpeed Web Server Enterprise con el módulo LSCache, LiteSpeed Web ADC, o OpenLiteSpeed con el módulo de caché (Gratis). O regístrate en QUIC.cloud CDN.
  2. Instala el plugin de LiteSpeed Cache para WordPress y actívalo.
  3. Desde el escritorio de WordPress, navega a Caché de LiteSpeed > Caché. Asegúrate de que la opción Activar la caché de LiteSpeed está establecida en Activar.
  4. Enable any desired caching and optimization features in the various tabs.

Notas para LiteSpeed Web Server Enterprise

  • Asegúrate de que tu licencia incluye el módulo LSCache. Una licencia de prueba para 2-CPUs con módulo LSCache está disponible gratuitamente durante 15 días.
  • 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.

Notas para OpenLiteSpeed

  • Esta integración utiliza el módulo de caché de OpenLiteSpeed.
  • Si se trata de una instalación OLS nueva, la forma más fácil de integrar es usar ols1clk. Si usas una instalación de WordPress existente, usa el parámetro --wordpresspath.
  • If OLS and WordPress are both already installed, please follow the instructions in How To Set Up LSCache For WordPress.

Preguntas frecuentes

Why do the cache features require LiteSpeed Server?

This plugin communicates with your LiteSpeed Web Server and its built-in page cache (LSCache) to deliver superior performance to your WordPress site. The plugin’s cache features indicate to the server that a page is cacheable and for how long, or they invalidate particular cached pages using tags.

LSCache es un caché de nivel de servidor, por lo que es más rápido que los cachés de nivel PHP. Compara con otros cachés basados en PHP.

Una página cacheada permite que el servidor omita las consultas PHP y de base de datos por completo. LSCache, en particular, debido a su estrecha relación con el servidor, puede recordar cosas sobre las entradas de caché que otros plugins no pueden, y puede analizar dependencias. Puede utilizar etiquetas para administrar la purga inteligente de la memoria caché, y puede usar varias cookies para servir varias versiones de contenido en caché en función de elementos móviles, de escritorio, ubicación geográfica y monedas. Ve nuestra serie de blogs Caching 101.

If all of that sounds complicated, no need to worry. LSCWP works right out of the box with default settings that are appropriate for most sites. See the Beginner’s Guide.

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.

What about the optimization features of LSCache?

LSCWP includes additional optimization features, such as Database Optimization, Minification and Combination of CSS and JS files, HTTP/2 Push, CDN Support, Browser Cache, Object Cache, Lazy Load for Images, and Image Optimization! These features do not require the use of a LiteSpeed web server.

¿Es el plugin de LiteSpeed Cache para 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.

¿Que software de servidor es necesario para este 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 con módulo LSCache (v5.0.10+)
  2. OpenLiteSpeed (v1.4.17+)
  3. LiteSpeed WebADC (v2.0+)
  4. CDN QUIC.cloud

The Características generales may be used with any web server. LiteSpeed is not required.

¿Funciona este plugin en un entorno en cluster?

Las entradas de caché son almacenadas a nivel del servidor litespeed. La solución más simple es usar LiteSpeed WebADC, ya que las entradas de caché serán cacheadas a ese nivel.

Si se está utilizando otro balanceador de carga, las entradas de caché solo se almacenarán en los nodos de backend, no en el balanceador de carga.

Las purgas tampoco serán sincronizadas entre nodos, por lo que esto no es recomendable.

Si necesitas una solución personalizada, por favor contacta con LiteSpeed Technologies en info@litespeedtech.com

AVISO: Las reglas de reescritura creadas por este plugin deben ser copiadas al balanceador de carga.

¿Dónde se almacenan los archivos en caché?

Las páginas cacheadas son almacenadas y gestionadas por los servidores LiteSpeed.

No se almacena nada en la estructura de archivos de WordPress.

¿Funciona LiteSpeed Cache para WordPress con OpenLiteSpeed?

Sí, puede funcionar bien con OpenLiteSpeed, aunque algunas funcionalidades pueden no ser compatibles. Revisa los detalles en Funcionalidades del plugin arriba. Cualquier cambio de ajustes que requiera modificar el archivo .htaccess requerirá un reinicio de servidor.

¿Es compatible con WooCommerce?

Resumiendo: sí. Sin embargo, en algunos temas de WooCommerce, el carrito podría no actualizarse correctamente. Por favor, visita nuestro blog para un tutorial rápido sobre cómo detectar este problema y solucionarlo si es necesario.

¿Son optimizadas mis imágenes?

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.

¿Cómo activo el crawler?

El crawler está desactivado como predeterminado, y debe ser activado primero por el administrador del servidor.

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.

What are the known compatible plugins and themes?

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

Reseñas

16 de abril de 2024 1 respuesta
When i uninstall, it automatically installs again.
9 de abril de 2024
hi. ESI block with shortcode does not work. When I put a short code, instead of showing the result of the short code, it notes its text! i write [esi sample_shortcode] in site i see: [sample_shortcode ]. there is a space after sample_shortcode. theme hello elementor without any plugins. just litespeed cache
9 de abril de 2024
Absolutely dependable. No issues so far. This is a great plugin partner to have with running your wordpress
Leer todas las 2,427 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

"LiteSpeed Cache" ha sido traducido a 29 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce "LiteSpeed Cache" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

6.1 – Feb 5 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

  • 🌱Page Optimize New option available: Preconnect. (xguiboy/Mukesh Patel)
  • 🌱3rd New Vary for Mini Cart option for Woocommerce. (Ruikai)
  • Cloud Force syncing the configuration to QUIC.cloud if CDN is reenabled.
  • 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.