LiteSpeed Cache

Descripción

LiteSpeed Cache para WordPress (LSCWP) es un plugin basado en PHP que se comunica con tu instalación de LiteSpeed Web Server y su caché de página incorporada (LSCache) para ofrecer un rendimiento superior a tu sitio WordPress.

Dado que LSCache está incorporado directamente en el servidor, el consumo de recursos es reducido significativamente y el cacheo se puede hacer más eficientemente que con otras cachés basadas en PHP.

LSCache es una caché de página de lado del servidor. Las cachés de página ahorran tiempo y recursos, y lo hacen almacenando el contenido completo de páginas generadas dinámicamente de forma que se puedan servir copias estáticas al usuario. Una caché de página permite al servidor evitar completamente las consultas de PHP y base de datos. LSCache, en particular, por su estrecha relación con el servidor, puede recordar cosas sobre las entradas de caché que otros plugins no, y puede analizar dependencias. Puede utilizar etiquetas para gestionar la purga inteligente de la caché, y puede usar cookies de variación para servir múltiples versiones de contenido cacheado en base a cosas como móvil vs. escritorio, ubicación geográfica, y divisas.

Si todo eso suena complicado, no tienes que preocuparte. LiteSpeed Cache para WordPress funciona automáticamente con ajustes por defecto que son apropiados para la mayoría de sitios. Y si necesitas ayuda, tan solo publica en el foro.

LSCWP soporta WordPress Multisitio y es compatible con la mayoría de plugins populares, incluyendo WooCommerce, bbPress, y Yoast SEO. Consulta abajo para una lista completa.

NUEVO – ¡LSCWP ahora incluye funciones de optimización adicionales, incluyendo optimización de base de datos, minificación y combinación de archivos CSS y JS, soporte para CDN y HTTP/2 push, caché de navegado, carga perezosa y optimización de imágenes!

¿Quieres saber más sobre el cacheo en general, y el cacheo de LiteSpeed en particular? Mira nuestra serie de introducción al cacheo en el blog.

Características del plugin

LiteSpeed Web Server Enterprise, LiteSpeed Web ADC y OpenLiteSpeed:

  • Optimización de imágenes
  • Soporte para formato de imágenes WebP
  • Optimización de puntuación de PageSpeed
  • Carga CSS/JS asíncronamente
  • Carga retrasada de imágenes/iframes
  • Soporte para Content Delivery Networks
  • Minifica CSS, JavaScript, y HTML
  • Combina CSS y JavaScript
  • HTTP/2 Push para CSS y JS
  • Limpiador y optimizador de base de datos
  • Caché del navegador
  • Cacheo de página automático para mejorar enormemente el rendimiento del sitio
  • Purga automática de páginas relacionadas basada en ciertos eventos
  • Crawler de precarga inteligente compatible con sitemap amigables con el SEO
  • 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
  • Posibilidad de programar purga de URLs determinadas a la hora especificada del día
  • Soporte para HTTP/2 y HTTPS incorporado
  • Soporte para sitio único y multisitio ( red )
  • Soporte para WooCommerce y bbPress
  • WordPress CLI
  • Sistema de API simple que permite a otros plugins integrarse con la caché facilmente y operar funcionalidades de cacheo.
  • Configuración de exclusiones de caché por URI, categorías, etiquetas, cookies, y user agents
  • Interfaz atractiva, fácil de entender

Solo LiteSpeed Web Server Enterprise Edition y LiteSpeed Web ADC:

  • Soporte para entornos clusterizados a través de LiteSpeed Web ADC
  • Soporte para QUIC incorporado
  • Soporte para caché ESI

Compatibilidad con terceros

La gran mayoría de plugins y temas son compatibles con LSCache. Nuestra API está disponible para aquellos que no lo son.

Desarrolladores

Si tienes un plugin o tema que te gustaría hacer compatible con LSCWP, por favor consulta los siguientes recursos:

Si tienes requisitos de API, por favor informanos en cualquier momento en el foro de WP o Incidencias de GitHub.
Los añadiremos lo antes posible.

Temas y plugins compatibles conocidos

Plugins incompatibles conocidos

No hay plugins incompatibles conocidos actualmente.

Capturas

  • Ajustes de administración - General
  • Ajustes de administración - Caché
  • Ajustes de administración - Purgar
  • Ajustes de administración - Excluir
  • Ajustes de administración - Optimizar
  • Admin Settings - Tuning
  • Ajustes de administración - Medios
  • Ajustes de administración - CDN
  • Ajustes de administración - ESI
  • Ajustes de administración - Crawler
  • Ajustes de administración - WooCommerce
  • Gestión de administrador - Purgar
  • Gestión de administrador - Optimizador de base de datos
  • Página de administración de estado del Crawler
  • Ejemplo de página no cacheada
  • Ejemplo de página cacheada
  • Atajo en barra de administración del sitio

Instalación

  1. Instala LiteSpeed Web Server Enterprise con módulo LSCache o OpenLiteSpeed con módulo de caché [gratuito].
  2. Instala el plugin de LiteSpeed Cache para WordPress y actívalo.
  3. Desde el Escritorio de WordPress, navega a LiteSpeed Cache -> Ajustes, asegúrate de que la opción Habilitar Caché de LiteSpeed está establecida en Activar.
  4. ¡Disfruta!

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.
  • El servidor debe estar configurado con el cacheo activado. Si eres el administrador del servidor, consulta aquí las instrucciones. De lo contrario, solicita al administrador del servidor que configure la cache raíz del servidor.

Notas para OpenLiteSpeed

  • Esta integración utiliza el módulo de caché de OpenLiteSpeed.
  • Si es una instalación nueva de OLS, la forma más fácil de integrar es usar ols1clk. Si estás usando una instalación de WordPress existente, usa el parámetro --wordpresspath.
  • Si OLS y WordPress están ambos ya instalados, por favor sigue las instrucciones en Cómo configurar LSCache para WordPress.

Preguntas frecuentes

Instrucciones de instalación
  1. Instala LiteSpeed Web Server Enterprise con módulo LSCache o OpenLiteSpeed con módulo de caché [gratuito].
  2. Instala el plugin de LiteSpeed Cache para WordPress y actívalo.
  3. Desde el Escritorio de WordPress, navega a LiteSpeed Cache -> Ajustes, asegúrate de que la opción Habilitar Caché de LiteSpeed está establecida en Activar.
  4. ¡Disfruta!

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.
  • El servidor debe estar configurado con el cacheo activado. Si eres el administrador del servidor, consulta aquí las instrucciones. De lo contrario, solicita al administrador del servidor que configure la cache raíz del servidor.

Notas para OpenLiteSpeed

  • Esta integración utiliza el módulo de caché de OpenLiteSpeed.
  • Si es una instalación nueva de OLS, la forma más fácil de integrar es usar ols1clk. Si estás usando una instalación de WordPress existente, usa el parámetro --wordpresspath.
  • Si OLS y WordPress están ambos ya instalados, por favor sigue las instrucciones en Cómo configurar LSCache para WordPress.
¿Es el plugin de LiteSpeed Cache para WordPress gratuito?

Si, LSCWP siempre será gratuito y de código abierto. Dicho eso, es necesario un servidor LiteSpeed, y hay tarifas asociadas con algunas ediciones de servidor LiteSpeed (ver pregunta 2)

¿Que software de servidor es necesario para este plugin?

Es necesario un servidor LiteSpeed para poder usar este plugin.

  1. LiteSpeed Web Server Enterprise con módulo LSCache (v5.0.10+)

  2. OpenLiteSpeed (v1.4.17+) – ¡Gratuito y de código abierto!

  3. LiteSpeed WebADC (v2.0+)

Cualquier servidor individual o cluster que incluya un servidor LiteSpeed funcionará.

¿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 se necesita 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?

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

¿Es compatible con WooCommerce?

En resumen: si. 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 como detectar este problema y solucionarlo si es necesario.

Mi plugin tiene algunas páginas que no son cacheables. ¿Como le instruyo al plugin LiteSpeed Caché que no cachée la página?

Desde la versión 1.0.10, puedes simplemente añadir define('LSCACHE_NO_CACHE', true); en algún momento antes del shutdown hook, y debería ser reconocido por la caché.

Alternativamente, puedes usar la función xxxLiteSpeed_Cache_Tags::set_noncacheable(); para versiones anteriores (1.0.7+).

Si se utiliza la función, asegurarse de comprobar que la clase exista antes de usar la función

Por favor, consulta nuestra wiki de la API para más información y aprender que más puedes hacer para integrar tu plugin con LSCWP.

¿Son optimizadas mis imágenes?

Sí. LSCWP v1.6+ puede optimizar tus imágenes.

¿Cómo hago que WP-PostViews muestre un contador de visitas actualizado?
  1. Usa: <div id="postviews_lscwp"></div>

    para reemplazar

    <?php if(function_exists('the_views')) { the_views(); } ?>
    
    • NOTA: El id puede cambiarse, pero el id del div y la función de ajax deben coincidir.
  2. Reemplaza la petición ajax en wp-content/plugins/wp-postviews/postviews-cache.js con

        jQuery.ajax({
            type:"GET",
            url:viewsCacheL10n.admin_ajax_url,
            data:"postviews_id="+viewsCacheL10n.post_id+"&action=postviews",
            cache:!1,
            success:function(data) {
                if(data) {
                    jQuery('#postviews_lscwp').html(data+' views');
                }
           }
        });
    
  3. Purga la caché para usar las páginas actualizadas.

¿Cómo activo el crawler?

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

Una vez el crawler esté activado de lado del servidor, navega a LiteSpeed Cache > Crawler y configura Activación en Habilitar.

Para información más detallada sobre la configuración del crawler, por favor consulta nuestra entrada de blog.

Reseñas

Meilleur plugin de cache gratuit

Plus qu’un plugin de cache gratuit, LiteSpeed Cache combiné à la technologie des serveur LiteSpeed feront de vos sites de véritables fusées !

Cette extension vous permettra d’agir sur de nombreux points d’optimisation de vos sites afin que leurs pages se chargent très rapidement, alors adoptez-là immédiatement si votre hébergeur utilise la technologie LiteSpeed sur le serveur qui héberge vos sites.

BEST CACHE PLUGIN

I tried all cache plugins with my server and now with all the new features, Litespeed Cache is the best if you have a Litespeed server. Thanks !
Cheers.

Leer todas las 82 reseñas

Colaboradores y desarrolladores

“LiteSpeed Cache” es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

“LiteSpeed Cache” ha sido traducido a 10 idiomas. Gracias a los traductores por sus colaboraciones.

Traduce “LiteSpeed Cache” a tu idioma.

¿Interesado en el desarrollo?

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

Registro de cambios

1.6.4 – November 22 2017

  • [NEW FEATURE] Send env reports privately with a new built-in report number referral system.
  • [IAPI] Increased request timeout to fix a cUrl 28 timeout issue.
  • [BUGFIX] Fixed a TTL max value validation bug.
  • [INTEGRATION] Improved Contact Form 7 REST call compatibility for logged in users.
  • Thanks for all your ratings. That encouraged us to be more diligent. Happy Thanksgiving.

1.6.3 – November 17 2017

  • [NEW FEATURE] Only async Google Fonts setting.
  • [NEW FEATURE] Only create WebP images when optimizing setting.
  • [NEW FEATURE] Batch switch images to original/optimized versions in Image Optimization.
  • [NEW FEATURE] Browser Cache TTL setting.
  • [NEW FEATURE] Cache WooCommerce Cart setting.
  • [IMPROVEMENT] Moved optimized JS/CSS snippet in header html to after meta charset.
  • [IMPROVEMENT] Added a constant for better JS/CSS optimization compatibility for different dir WordPress installation.
  • [IAPI] Take over failed callback check instead of bypassing it.
  • [IAPI] Image optimization requests are now limited to 500 images per request.
  • [BUGFIX] Fixed a parsing failure bug not using attributes in html elements with dash.
  • [BUGFIX] Fixed a bug causing non-script code to move to the top of a page when not using combination.
  • [UPDATE] Added detailed logs for external link detection.
  • [UPDATE] Added new lines in footer comment to avoid Firefox crash when enabled HTML minify.
  • [API] Purge private / Purge private all / Add private tag functions.
  • [GUI] Redesigned image optimization operation links in Media Lib list.
  • [GUI] Tweaked wp-admin form save button position.
  • [GUI] Added “learn more” link for image optimization.

1.6.2.1 – November 6 2017

  • [INTEGRATION] Improved compatibility with old WooCommerce versions to avoid unknown 500 errors.
  • [BUGFIX] Fixed WebP images sometimes being used in non-supported browsers.
  • [BUGFIX] Kept query strings for HTTP/2 push to avoid re-fetching pushed sources.
  • [BUGFIX] Excluded JS/CSS from HTTP/2 push when using CDN.
  • [GUI] Fixed a typo in Media list.
  • [GUI] Made more image optimization strings translatable.
  • [GUI] Updated Tuning description to include API documentation.

1.6.2 – November 3 2017

  • [NEW FEATURE] Do Not Cache Roles.
  • [NEW FEATURE] Use WebP Images for supported browsers.
  • [NEW FEATURE] Disable Optimization Poll ON/OFF Switch in Media tab.
  • [NEW FEATURE] Revert image optimization per image in Media list.
  • [NEW FEATURE] Disable/Enable image WebP per image in Media list.
  • [IAPI] Limit optimized images fetching cron to a single process.
  • [IAPI] Updated IAPI to v1.6.2.
  • [IAPI] Fixed repeating image request issue by adding a failure status to local images.
  • [REFACTOR] Refactored login vary logic.

1.6.1 – October 29 2017

  • [IAPI] Updated LiteSpeed Image Optimization Server API to v1.6.1.

1.6 – October 27 2017

  • [NEW FEATURE] Image Optimization.
  • [NEW FEATURE] Role Excludes for Optimization.
  • [NEW FEATURE] Combined CSS/JS Priority.
  • [IMPROVEMENT] Bypass CDN for login/register page.
  • [UPDATE] Expanded ExpiresByType rules to include new font types. ( Thanks to JMCA2 )
  • [UPDATE] Removed duplicated type param in admin action link.
  • [BUGFIX] Fixed CDN wrongly replacing img base64 and “fake” src in JS.
  • [BUGFIX] Fixed image lazy load replacing base64 src.
  • [BUGFIX] Fixed a typo in Optimize class exception.
  • [GUI] New Tuning tab in admin settings panel.
  • [REFACTOR] Simplified router by reducing actions and adding types.
  • [REFACTOR] Renamed run() to finalize() in buffer process.

1.5 – October 17 2017

  • [NEW FEATURE] Exclude JQuery (to fix inline JS error when using JS Combine).
  • [NEW FEATURE] Load JQuery Remotely.
  • [NEW FEATURE] JS Deferred Excludes.
  • [NEW FEATURE] Lazy Load Images Excludes.
  • [NEW FEATURE] Lazy Load Image Placeholder.
  • [IMPROVEMENT] Improved Lazy Load size attribute for w3c validator.
  • [UPDATE] Added basic caching info and LSCWP version to HTML comment.
  • [UPDATE] Added debug log to HTML detection.
  • [BUGFIX] Fixed potential font CORS issue when using CDN.
  • [GUI] Added API docs to setting description.
  • [REFACTOR] Relocated all classes under includes with backwards compatibility.
  • [REFACTOR] Relocated admin templates.

1.4 – October 11 2017

  • [NEW FEATURE] Lazy load images/iframes.
  • [NEW FEATURE] Clean CSS/JS optimizer data functionality in DB Optimizer panel.
  • [NEW FEATURE] Exclude certain URIs from optimizer.
  • [IMPROVEMENT] Improved optimizer HTML check compatibility to avoid conflicts with ESI functions.
  • [IMPROVEMENT] Added support for using ^ when matching the start of a path in matching settings.
  • [IMPROVEMENT] Added wildcard support in CDN original URL.
  • [IMPROVEMENT] Moved optimizer table initialization to admin setting panel with failure warning.
  • [UPDATE] Added a one-time welcome banner.
  • [UPDATE] Partly relocated class: ‘api’.
  • [API] Added API wrapper for removing wrapped HTML output.
  • [INTEGRATION] Fixed WooCommerce conflict with optimizer.
  • [INTEGRATION] Private cache support for WooCommerce v3.2.0+.
  • [GUI] Added No Optimization menu to frontend.

1.3.1.1 – October 6 2017

  • [BUGFIX] Improved optimizer table creating process in certain database charset to avoid css/js minify/combination failure.

1.3.1 – October 5 2017

  • [NEW FEATURE] Remove WP Emoji Option.
  • [IMPROVEMENT] Separated optimizer data from wp_options to improve compatibility with backup plugins.
  • [IMPROVEMENT] Enhanced crawler cron hook to prevent de-scheduling in some cases.
  • [IMPROVEMENT] Enhanced Remove Query Strings to also remove Emoji query strings.
  • [IMPROVEMENT] Enhanced HTML detection when extra spaces are present at the beginning.
  • [UPDATE] Added private cache support for OLS.
  • [BUGFIX] Self-redirects are no longer cached.
  • [BUGFIX] Fixed css async lib warning when loading in HTTP/2 push.

1.3 – October 1 2017

  • [NEW FEATURE] Added Browser Cache support.
  • [NEW FEATURE] Added Remove Query Strings support.
  • [NEW FEATURE] Added Remove Google Fonts support.
  • [NEW FEATURE] Added Load CSS Asynchronously support.
  • [NEW FEATURE] Added Load JS Deferred support.
  • [NEW FEATURE] Added Critical CSS Rules support.
  • [NEW FEATURE] Added Private Cached URIs support.
  • [NEW FEATURE] Added Do Not Cache Query Strings support.
  • [NEW FEATURE] Added frontend adminbar shortcuts ( Purge this page/Do Not Cache/Private cache ).
  • [IMPROVEMENT] Do Not Cache URIs now supports full URLs.
  • [IMPROVEMENT] Improved performance of Do Not Cache settings.
  • [IMPROVEMENT] Encrypted vary cookie.
  • [IMPROVEMENT] Enhanced HTML optimizer.
  • [IMPROVEMENT] Limited combined file size to avoid heavy memory usage.
  • [IMPROVEMENT] CDN supports custom upload folder for media files.
  • [API] Added purge single post API.
  • [API] Added version compare API.
  • [API] Enhanced ESI API for third party plugins.
  • [INTEGRATION] Compatibility with NextGEN Gallery v2.2.14.
  • [INTEGRATION] Compatibility with Caldera Forms v1.5.6.2+.
  • [BUGFIX] Fixed CDN&Minify compatibility with css url links.
  • [BUGFIX] Fixed .htaccess being regenerated despite there being no changes.
  • [BUGFIX] Fixed CDN path bug for subfolder WP instance.
  • [BUGFIX] Fixed crawler path bug for subfolder WP instance with different site url and home url.
  • [BUGFIX] Fixed a potential Optimizer generating redundant duplicated JS in HTML bug.
  • [GUI] Added a more easily accessed submit button in admin settings.
  • [GUI] Admin settings page cosmetic changes.
  • [GUI] Reorganized GUI css/img folder structure.
  • [REFACTOR] Refactored configuration init.
  • [REFACTOR] Refactored admin setting save.
  • [REFACTOR] Refactored .htaccess operator and rewrite rule generation.

1.2.3.1 – September 20 2017

  • [ACTUALIZACIÓN] Mejorada la compatibilidad con PHP5.3

1.2.3 – September 20 2017

  • [NOVEDAD] Añadido soporte CDN
  • [IMPROVEMENT] Improved compatibility when upgrading by fixing a possible fatal error.
  • [IMPROVEMENT] Added support for custom wp-content paths.
  • [BUGFIX] Fixed non-primary network blogs not being able to minify.
  • [BUGFIX] Fixed HTML Minify preventing Facebook from being able to parse og tags.
  • [BUGFIX] Preview page is no longer cacheable.
  • [BUGFIX] Corrected log and crawler timezone to match set WP timezone.
  • [GUI] Revamp of plugin GUI.

1.2.2 – September 15 2017

  • [NEW FEATURE] Added CSS/JS minification.
  • [NEW FEATURE] Added CSS/JS combining.
  • [NEW FEATURE] Added CSS/JS HTTP/2 server push.
  • [NEW FEATURE] Added HTML minification.
  • [NEW FEATURE] Added CSS/JS cache purge button in management.
  • [UPDATE] Improved debug log formatting.
  • [UPDATE] Fixed some description typos.

1.2.1 – September 7 2017

  • [NEW FEATURE] Added Database Optimizer.
  • [NEW FEATURE] Added Tab switch shortcut.
  • [IMPROVEMENT] Added cache disabled check for management pages.
  • [IMPROVEMENT] Renamed .htaccess backup for security.
  • [BUGFIX] Fixed woocommerce default ESI setting bug.
  • [REFACTOR] Show ESI page for OLS with notice.
  • [REFACTOR] Management Purge GUI updated.

1.2.0.1 – September 1 2017

  • [BUGFIX] Fixed a naming bug for network constant ON2.

1.2.0 – September 1 2017

  • [NEW FEATURE] Added ESI support.
  • [NEW FEATURE] Added a private cache TTL setting.
  • [NEW FEATURE] Debug level can now be set to either ‘Basic’ or ‘Advanced’.
  • [REFACTOR] Renamed const ‘NOTSET’ to ‘ON2’ in class config.

1.1.6 – August 23 2017

  • [NEW FEATURE] Added option to privately cache logged-in users.
  • [NEW FEATURE] Added option to privately cache commenters.
  • [NEW FEATURE] Added option to cache requests made through WordPress REST API.
  • [BUGFIX] Fixed network 3rd-party full-page cache detection bug.
  • [GUI] New Cache and Purge menus in Settings.

1.1.5.1 – August 16 2017

  • [IMPROVEMENT] Improved compatibility of frontend&backend .htaccess path detection when site url is different than installation path.
  • [UPDATE] Removed unused format string from header tags.
  • [BUGFIX] ‘showheader’ Admin Query String now works.
  • [REFACTOR] Cache tags will no longer output if not needed.

1.1.5 – August 10 2017

  • [NEW FEATURE] Scheduled Purge URLs feature.
  • [NEW FEATURE] Added buffer callback to improve compatibility with some plugins that force buffer cleaning.
  • [NEW FEATURE] Hide purge_all admin bar quick link if cache is disabled.
  • [NEW FEATURE] Required htaccess rules are now displayed when .htaccess is not writable.
  • [NEW FEATURE] Debug log features: filter log support; heartbeat control; log file size limit; log viewer.
  • [IMPROVEMENT] Separate crawler access log.
  • [IMPROVEMENT] Lazy PURGE requests made after output are now queued and working.
  • [IMPROVEMENT] Improved readme.txt with keywords relating to our compatible plugins list.
  • [UPDATE] ‘ExpiresDefault’ conflict msg is now closeable and only appears in the .htaccess edit screen.
  • [UPDATE] Improved debug log formatting.
  • [INTEGRATION] Compatibility with MainWP plugin.
  • [BUGFIX] Fixed Woocommerce order not purging product stock quantity.
  • [BUGFIX] Fixed Woocommerce scheduled sale price not updating issue.
  • [REFACTOR] Combined cache_enable functions into a single function.

1.1.4 – August 1 2017

  • [IMPROVEMENT] Unexpected rewrite rules will now show an error message.
  • [IMPROVEMENT] Added Cache Tag Prefix setting info in the Env Report and Info page.
  • [IMPROVEMENT] LSCWP setting link is now displayed in the plugin list.
  • [IMPROVEMENT] Improved performance when setting cache control.
  • [UPDATE] Added backward compatibility for v1.1.2.2 API calls. (used by 3rd-party plugins)
  • [BUGFIX] Fixed WPCLI purge tag/category never succeeding.

1.1.3 – July 31 2017

  • [NEW FEATURE] New LiteSpeed_Cache_API class and documentation for 3rd party integration.
  • [NEW FEATURE] New API function litespeed_purge_single_post($post_id).
  • [NEW FEATURE] PHP CLI support for crawler.
  • [IMPROVEMENT] Set ‘no cache’ for same location 301 redirects.
  • [IMPROVEMENT] Improved LiteSpeed footer comment compatibility.
  • [UPDATE] Removed ‘cache tag prefix’ setting.
  • [BUGFIX] Fixed a bug involving CLI purge all.
  • [BUGFIX] Crawler now honors X-LiteSpeed-Cache-Control for the ‘no-cache’ header.
  • [BUGFIX] Cache/rewrite rules are now cleared when the plugin is uninstalled.
  • [BUGFIX] Prevent incorrect removal of the advanced-cache.php on deactivation if it was added by another plugin.
  • [BUGFIX] Fixed subfolder WP installations being unable to Purge By URL using a full URL path.
  • [REFACTOR] Reorganized existing code for an upcoming ESI release.

1.1.2.2 – July 13 2017

  • [BUGFIX] Fixed blank page in Hebrew language post editor by removing unused font-awesome and jquery-ui css libraries.

1.1.2.1 – July 5 2017

  • [UPDATE] Improved compatibility with WooCommerce v3.1.0.

1.1.2 – June 20 2017

  • [BUGFIX] Fixed missing form close tag.
  • [UPDATE] Added a wiki link for enabling the crawler.
  • [UPDATE] Improved Site IP description.
  • [UPDATE] Added an introduction to the crawler on the Information page.
  • [REFACTOR] Added more detailed error messages for Site IP and Custom Sitemap settings.

1.1.1.1 – June 15 2017

  • [BUGFIX] Hotfix for insufficient validation of site IP value in crawler settings.

1.1.1 – June 15 2017

  • [NEW] As of LiteSpeed Web Server v.5.1.16, the crawler can now be enabled/disabled at the server level.
  • [NEW] Added the ability to provide a custom sitemap for crawling.
  • [NEW] Added ability to use site IP address directly in crawler settings.
  • [NEW] Crawler performance improved with the use of new custom user agent ‘lsrunner’.
  • [NEW] “Purge By URLs” now supports full URL paths.
  • [NEW] Added thirdparty WP-PostRatings compatibility.
  • [BUGFIX] Cache is now cleared when changing post status from published to draft.
  • [BUGFIX] WHM activation message no longer continues to reappear after being dismissed.
  • [COSMETIC] Display recommended values for settings.

1.1.0.1 – June 8 2017

  • [UPDATE] Improved default crawler interval setting.
  • [UPDATE] Tested up to WP 4.8.
  • [BUGFIX] Fixed compatibility with plugins that output json data.
  • [BUGFIX] Fixed tab switching bug.
  • [BUGFIX] Removed occasional duplicated messages on save.
  • [COSMETIC] Improved crawler tooltips and descriptions.

1.1.0 – June 6 2017

  • [NEW] Added a crawler – this includes configuration options and a dedicated admin page. Uses wp-cron
  • [NEW] Added integration for WPLister
  • [NEW] Added integration for Avada
  • [UPDATE] General structure of the plugin revamped
  • [UPDATE] Improved look of admin pages
  • [BUGFIX] Fix any/all wp-content path retrieval issues
  • [BUGFIX] Use realpath to clear symbolic link when determining .htaccess paths
  • [BUGFIX] Fixed a bug where upgrading multiple plugins did not trigger a purge all
  • [BUGFIX] Fixed a bug where cli import_options did not actually update the options.
  • [REFACTOR] Most of the files in the code were split into more, smaller files

1.0.15 – April 20 2017

  • [NEW] Added Purge Pages and Purge Recent Posts Widget pages options.
  • [NEW] Added wp-cli command for setting and getting options.
  • [NEW] Added an import/export options cli command.
  • [NEW] Added wpForo integration.
  • [NEW] Added Theme My Login integration.
  • [UPDATE] Purge adjacent posts when publish a new post.
  • [UPDATE] Change environment report file to .php and increase security.
  • [UPDATE] Added new purgeby option to wp-cli.
  • [UPDATE] Remove nag for multiple sites.
  • [UPDATE] Only inject LiteSpeed javascripts in LiteSpeed pages.
  • [REFACTOR] Properly check for zero in ttl settings.
  • [BUGFIX] Fixed the 404 issue that can be caused by some certain plugins when save the settings.
  • [BUGFIX] Fixed mu-plugin compatibility.
  • [BUGFIX] Fixed problem with creating zip backup.
  • [BUGFIX] Fixed conflict with jetpack.

1.0.14.1 – January 31 2017

  • [UPDATE] Removed Freemius integration due to feedback.

1.0.14 – January 30 2017

  • [NEW] Added error page caching. Currently supports 403, 404, 500s.
  • [NEW] Added a purge errors action.
  • [NEW] Added wp-cli integration.
  • [UPDATE] Added support for multiple varies.
  • [UPDATE] Reorganize the admin interface to be less cluttered.
  • [UPDATE] Add support for LiteSpeed Web ADC.
  • [UPDATE] Add Freemius integration.
  • [REFACTOR] Made some changes so that the rewrite rules are a little more consistent.
  • [BUGFIX] Check member type before adding purge all button.
  • [BUGFIX] Fixed a bug where activating/deactivating the plugin quickly caused the WP_CACHE error to show up.
  • [BUGFIX] Handle more characters in the rewrite parser.
  • [BUGFIX] Correctly purge posts when they are made public/private.

1.0.13.1 – November 30 2016

  • [BUGFIX] Fixed a bug where a global was being used without checking existence first, causing unnecessary log entries.

1.0.13 – November 28 2016

  • [NEW] Add an Empty Entire Cache button.
  • [NEW] Add stale logic to certain purge actions.
  • [NEW] Add option to use primary site settings for all subsites in a multisite environment.
  • [NEW] Add support for Aelia CurrencySwitcher
  • [UPDATE] Add logic to allow third party vary headers
  • [UPDATE] Handle password protected pages differently.
  • [BUGFIX] Fixed bug caused by saving settings.
  • [BUGFIX] FIxed bug when searching for advanced-cache.php

1.0.12 – November 14 2016

  • [NEW] Added logic to generate environment reports.
  • [NEW] Created a notice that will be triggered when the WHM Plugin installs this plugin. This will notify users when the plugin is installed by their server admin.
  • [NEW] Added the option to cache 404 pages via 404 Page TTL setting.
  • [NEW] Reworked log system to be based on selection of yes or no instead of log level.
  • [NEW] Added support for Autoptimize.
  • [NEW] Added Better WP Minify integration.
  • [UPDATE] On plugin disable, clear .htaccess.
  • [UPDATE] Introduced URL tag. Changed Purge by URL to use this new tag.
  • [BUGFIX] Fixed a bug triggered when .htaccess files were empty.
  • [BUGFIX] Correctly determine when to clear files in multisite environments (wp-config, advanced-cache, etc.).
  • [BUGFIX] When disabling the cache, settings changed in the same save will now be saved.
  • [BUGFIX] Various bugs from setting changes and multisite fixed.
  • [BUGFIX] Fixed two bugs with the .htaccess path search.
  • [BUGFIX] Do not alter $_GET in add_quick_purge. This may cause issues for functionality occurring later in the same request.
  • [BUGFIX] Right to left radio settings were incorrectly displayed. The radio buttons themselves were the opposite direction of the associated text.

1.0.11 – October 11 2016

  • [NEW] The plugin will now set cachelookup public on.
  • [NEW] New option – check advanced-cache.php. This enables users to have two caching plugins enabled at the same time as long as the other plugin is not used for caching purposes. For example, using another cache plugin for css/js minification.
  • [UPDATE] Rules added by the plugin will now be inserted into an LSCACHE START/END PLUGIN comment block.
  • [UPDATE] For woocommerce pages, if a user visits a non-cached page with a non-empty cart, do not cache the page.
  • [UPDATE] If woocommerce needs to display any notice, do not cache the page.
  • [UPDATE] Single site settings are now in both the litespeed cache submenu and the settings submenu.
  • [BUGFIX] Multisite network options were not updated on upgrade. This is now corrected.

1.0.10 – September 16 2016

  • Added a check for LSCACHE_NO_CACHE definition.
  • Added a Purge All button to the admin bar.
  • Added logic to purge the cache when upgrading a plugin or theme. By default this is enabled on single site installations and disabled on multisite installations.
  • Added support for WooCommerce Versions < 2.5.0.
  • Added .htaccess backup rotation. Every 10 backups, an .htaccess archive will be created. If one already exists, it will be overwritten.
  • Moved some settings to the new Specific Pages tab to reduce clutter in the General tab.
  • The .htaccess editor is now disabled if DISALLOW_FILE_EDIT is set.
  • After saving the Cache Tag Prefix setting, all cache will be purged.

1.0.9.1 – August 26 2016

  • Fixed a bug where an error displayed on the configuration screen despite not being an error.
  • Change logic to check .htaccess file less often.

1.0.9 – August 25 2016

  • [NEW] Added functionality to cache and purge feeds.
  • [NEW] Added cache tag prefix setting to avoid conflicts when using LiteSpeed Cache for WordPress with LiteSpeed Cache for XenForo and LiteMage.
  • [NEW] Added hooks to allow third party plugins to create config options.
  • [NEW] Added WooCommerce config options.
  • The plugin now also checks for wp-config in the parent directory.
  • Improved WooCommerce support.
  • Changed .htaccess backup process. Will create a .htaccess_lscachebak_orig file if one does not exist. If it does already exist, creates a backup using the date and timestamp.
  • Fixed a bug where get_home_path() sometimes returned an invalid path.
  • Fixed a bug where if the .htaccess was removed from a WordPress subdirectory, it was not handled properly.

1.0.8.1 – July 28 2016

  • Fixed a bug where check cacheable was sometimes not hit.
  • Fixed a bug where extra slashes in clear rules were stripped.

1.0.8 – July 25 2016

  • Added purge all on update check to purge by post id logic.
  • Added uninstall logic.
  • Added configuration for caching favicons.
  • Added configuration for caching the login page.
  • Added configuration for caching php resources (scripts/stylesheets accessed as .php).
  • Set login cookie if user is logged in and it isn’t set.
  • Improved NextGenGallery support to include new actions.
  • Now displays a notice on the network admin if WP_CACHE is not set.
  • Fixed a few php syntax issues.
  • Fixed a bug where purge by pid didn’t work.
  • Fixed a bug where the Network Admin settings were shown when the plugin was active in a subsite, but not network active.
  • Fixed a bug where the Advanced Cache check would sometimes not work.

1.0.7.1 – May 26 2016

  • Fixed a bug where enabling purge all in the auto purge on update settings page did not purge the correct blogs.
  • Fixed a bug reported by user wpc on our forums where enabling purge all in the auto purge on update settings page caused nothing to be cached.

1.0.7 – May 24 2016

  • Added login cookie configuration to the Advanced Settings page.
  • Added support for WPTouch plugin.
  • Added support for WP-Polls plugin.
  • Added Like Dislike Counter third party integration.
  • Added support for Admin IP Query String Actions.
  • Added confirmation pop up for purge all.
  • Refactor: LiteSpeed_Cache_Admin is now split into LiteSpeed_Cache_Admin, LiteSpeed_Cache_Admin_Display, and LiteSpeed_Cache_Admin_Rules
  • Refactor: Rename functions to accurately represent their functionality
  • Fixed a bug that sometimes caused a “no valid header” error message.

1.0.6 – May 5 2016

  • Fixed a bug reported by Knut Sparhell that prevented dashboard widgets from being opened or closed.
  • Fixed a bug reported by Knut Sparhell that caused problems with https support for admin pages.

1.0.5 – April 26 2016

  • [BETA] Added NextGen Gallery plugin support.
  • Added third party plugin integration.
  • Improved cache tag system.
  • Improved formatting for admin settings pages.
  • Converted bbPress to use the new third party integration system.
  • Converted WooCommerce to use the new third party integration system.
  • If .htaccess is not writable, disable separate mobile view and do not cache cookies/user agents.
  • Cache is now automatically purged when disabled.
  • Fixed a bug where .htaccess was not checked properly when adding common rules.
  • Fixed a bug where multisite setups would be completely purged when one site requested a purge all.

1.0.4 – April 7 2016

  • Added logic to cache commenters.
  • Added htaccess backup to the install script.
  • Added an htaccess editor in the wp-admin dashboard.
  • Added do not cache user agents.
  • Added do not cache cookies.
  • Created new LiteSpeed Cache Settings submenu entries.
  • Implemented Separate Mobile View.
  • Modified WP_CACHE not defined message to only show up for users who can manage options.
  • Moved enabled all/disable all from network management to network settings.
  • Fixed a bug where WP_CACHE was not defined on activation if it was commented out.

1.0.3 – March 23 2016

  • Added a Purge Front Page button to the LiteSpeed Cache Management page.
  • Added a Default Front Page TTL option to the general settings.
  • Added ability to define web application specific cookie names through rewrite rules to handle logged-in cookie conflicts when using multiple web applications. [Requires LSWS 5.0.15+]
  • Improved WooCommerce handling.
  • Fixed a bug where activating lscwp sets the “enable cache” radio button to enabled, but the cache was not enabled by default.
  • Refactored code to make it cleaner.
  • Updated readme.txt.

1.0.2 – March 11 2016

  • Added a “Use Network Admin Setting” option for “Enable LiteSpeed Cache”. For single sites, this choice will default to enabled.
  • Added enable/disable all buttons for network admin. This controls the setting of all managed sites with “Use Network Admin Setting” selected for “Enable LiteSpeed Cache”.
  • Exclude by Category/Tag are now text areas to avoid slow load times on the LiteSpeed Cache Settings page for sites with a large number of categories/tags.
  • Added a new line to advanced-cache.php to allow identification as a LiteSpeed Cache file.
  • Activation/Deactivation are now better handled in multi-site environments.
  • Enable LiteSpeed Cache setting is now a radio button selection instead of a single checkbox.
  • Can now add ‘$’ to the end of a URL in Exclude URI to perform an exact match.
  • The _lscache_vary cookie will now be deleted upon logout.
  • Fixed a bug in multi-site setups that would cause a “function already defined” error.

1.0.1 – March 8 2016

  • Added Do Not Cache by URI, by Category, and by Tag. URI is a prefix/string equals match.
  • Added a help tab for plugin compatibilities.
  • Created logic for other plugins to purge a single post if updated.
  • Fixed a bug where woocommerce pages that display the cart were cached.
  • Fixed a bug where admin menus in multi-site setups were not correctly displayed.
  • Fixed a bug where logged in users were served public cached pages.
  • Fixed a compatibility bug with bbPress. If there is a new forum/topic/reply, the parent pages will now be purged as well.
  • Fixed a bug that didn’t allow cron job to update scheduled posts.

1.0.0 – January 20 2016

  • Versión inicial.