LiteSpeed Cache

Opis

LiteSpeed Cache for WordPress (LSCWP) jest wtyczką opartą na PHP, która komunikuje się z instalacją LiteSpeed Web Server i wbudowaną pamięcią podręczną (LSCache), aby zapewnić najwyższą wydajność witryny WordPress.

Ponieważ LSCache jest wbudowany bezpośrednio do serwera, koszty operacyjne są znacznie zredukowane, a buforowanie może być wykonane bardziej skutecznie niż w innych buforach opartych na PHP.

LSCache is a server-side page cache. Page caches save time and resources, and they do so by storing the full content of dynamically-generated pages so that static copies may be served to the user. 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.

Jeśli wszystko brzmi skomplikowanie, nie musisz się martwić. LiteSpeed Cache for WordPress działa bezpośrednio po instalacji z ustawieniami domyślnymi, które są odpowiednie dla większości witryn. A jeśli potrzebujesz pomocy, po prostu napisz post na forum.

LSCWP obsługuje WordPress Multisite i jest kompatybilny z najpopularniejszymi wtyczkami, w tym WooCommerce, bbPress i Yoast SEO. Przewiń aby zobaczyć pełną listę.

LSCWP zawiera teraz dodatkowe funkcje optymalizacji, w tym optymalizację bazy danych, minifikację i łączenie plików CSS i JS, obsługę protokołu HTTP / 2 push CDN, pamięc podręczną przeglądarki, Lazyload obrazków i optymalizację obrazków!

Chcesz dowiedzieć się więcej o buforowaniu w ogóle, a zwłaszcza o buforze LiteSpeed? zajrzyj naszej serii wpisów o pamięci podręcznej.

Plugin Features

LiteSpeed Web Server Enterprise, LiteSpeed Web ADC i OpenLiteSpeed:

  • Optymalizacja obrazków
  • Wsparcie dla obrazów WebP
  • Optymalizację punktacji PageSpeed.
  • Asynchroniczne ładowanie CSS/JS
  • Lazyload obrazków/iframeów
  • Wsparcie dla CDN
  • Minifikację CSS, Javascript, i HTML
  • Combine CSS and JavaScript
  • HTTP/2 Push for CSS and JS
  • Czyszczenie bazy danych i optymalizator
  • Pamięć podręczną przeglądarki
  • Automatic page caching to greatly improve site performance
  • Automatic purge of related pages based on certain events
  • Smart preload crawler with support for SEO-friendly sitemap
  • Private cache for logged-in users
  • Caching of WordPress REST API calls
  • Separate caching of desktop and mobile views
  • Ability to schedule purge for specified URLs at specified time of day
  • Support for HTTP/2 & HTTPS out-of-box
  • Wspiera pojedyncze strony i multi-strony (sieci)
  • Support for WooCommerce and bbPress
  • WordPress CLI
  • Simple API system that enables other plugins to easily integrate with cache and operate cache functionalities.
  • No-Cache configuration by URI, Categories, Tags, Cookies, and User Agents
  • Attractive, easy-to-understand interface

Tylko dla LiteSpeed Web Server Enterprise Edition i LiteSpeed Web ADC:

  • Wparcie dla środowisk klastrowanych z użyciem LiteSpeed Web ADC
  • Wspiera QUIC bez dodatkowych modyfikacji.
  • Wspiera pamięć podręczną ESI

Third Party Compatibility

Zdecydowana większość wtyczek i motywów jest zgodna z LSCache. Nasze API jest dostępne dla tych, które są nie zgodne.

Developers

Jeśli masz wtyczkę lub motyw, który chcesz aby był kompatybilny z LSCWP, zapoznaj się z następującymi zasobami:

If you have any API requirements, please inform us anytime in WP Forum or GitHub Issues. We will add them ASAP.

Known Compatible Plugins and Themes

Known Uncompatible Plugins

W tej chwili nie ma znanych niezgodnych wtyczek.

Zrzuty ekranów

  • Admin Settings - General
  • Admin Settings - Cache
  • Admin Settings - Purge
  • Admin Settings - Excludes
  • Ustawienie administracyjne - Optymalizuj
  • Ustawienie administracyjne - Tuning
  • Admin Settings - Media
  • Admin Settings - CDN
  • Admin Settings - ESI
  • Admin Settings - Crawler
  • Ustawienie administracyjne - WooCommerce stron trzecich
  • Admin Management - Purge
  • Zarządzanie - Optymalizator DB
  • Admin Crawler Status Page
  • Cache Miss Example
  • Cache Hit Example
  • Skrót w pasku administracyjnym

Instalacja

  1. Zainstaluj LiteSpeed Web Server Enterprise z modułem LSCache lub OpenLiteSpeed z modułem pamięci podręcznej [za darmo].
  2. Install the LiteSpeed Cache for WordPress plugin and activate it.
  3. From the WordPress Dashboard, navigate to LiteSpeed Cache -> Settings, make sure the option Enable LiteSpeed Cache is set to Enable.
  4. Enjoy!

Informacja dla 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.

Informacja dla OpenLiteSpeed

  • This integration utilizes OpenLiteSpeed’s cache module.
  • If it is a fresh OLS installation, the easiest way to integrate is to use ols1clk. If using an existing WordPress installation, use the --wordpresspath parameter.
  • If OLS and WordPress are both already installed, please follow the instructions in How To Set Up LSCache For WordPress.

FAQ

Installation Instructions
  1. Zainstaluj LiteSpeed Web Server Enterprise z modułem LSCache lub OpenLiteSpeed z modułem pamięci podręcznej [za darmo].
  2. Install the LiteSpeed Cache for WordPress plugin and activate it.
  3. From the WordPress Dashboard, navigate to LiteSpeed Cache -> Settings, make sure the option Enable LiteSpeed Cache is set to Enable.
  4. Enjoy!

Informacja dla 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.

Informacja dla OpenLiteSpeed

  • This integration utilizes OpenLiteSpeed’s cache module.
  • If it is a fresh OLS installation, the easiest way to integrate is to use ols1clk. If using an existing WordPress installation, use the --wordpresspath parameter.
  • If OLS and WordPress are both already installed, please follow the instructions in How To Set Up LSCache For WordPress.
Is the LiteSpeed Cache Plugin for WordPress free?

Yes, LSCWP will always be free and open source. That said, a LiteSpeed server is required, and there are fees associated with some LiteSpeed server editions (see question 2).

What server software is required for this plugin?

A LiteSpeed server is required in order to use this plugin.

  1. LiteSpeed Web Server Enterprise with LSCache Module (v5.0.10+)

  2. OpenLiteSpeed (v1.4.17+) – Free and open source!

  3. LiteSpeed WebADC (v2.0+)

Any single server or cluster including a LiteSpeed server will work.

Does this plugin work in a clustered environment?

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.

If a customized solution is required, please contact LiteSpeed Technologies at info@litespeedtech.com

NOTICE: The rewrite rules created by this plugin must be copied to the Load Balancer.

Where are the cached files stored?

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

Nothing is stored within the WordPress file structure.

Does LiteSpeed Cache for WordPress work with OpenLiteSpeed?

Yes it can work well with OpenLiteSpeed, although some features may not be supported. See Plugin Features above for details. Any setting changes that require modifying the .htaccess file will require a server restart.

Is WooCommerce supported?

W skrócie tak. jednak, w przypadku niektórych styli woocommerce, koszyk może nie był aktualizowany poprawnie. Proszęzajrzyj na nasz blog żeby rozwiązać i wykryć ten problem jeśli zachodzi taka potrzeba.

My plugin has some pages that are not cacheable. How do I instruct the LiteSpeed Cache Plugin to not cache the page?

As of version 1.0.10, you may simply add define('LSCACHE_NO_CACHE', true); sometime before the shutdown hook, and it should be recognized by the cache.

Alternatively, you may use the function xxxLiteSpeed_Cache_Tags::set_noncacheable(); for earlier versions (1.0.7+).

If using the function, make sure to check that the class exists prior to using the function.

Proszę zajrzyj na dokumentację naszego API aby uzyskać więcej informacji i dowiedzieć się, co jeszcze możesz zrobić, aby zintegrować wtyczkę z LSCWP.

Are my images optimized?

Możemy optymalizować twoje obrazy, od wersji LSCWP v1.6+.

How do I get WP-PostViews to display an updating view count?
  1. Use: <div id="postviews_lscwp"></div>

    to replace

    <?php if(function_exists('the_views')) { the_views(); } ?>
    
    • NOTE: The id can be changed, but the div id and the ajax function must match.
  2. Replace the ajax query in wp-content/plugins/wp-postviews/postviews-cache.js with

        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. Purge the cache to use the updated pages.

How do I enable the crawler?

The crawler is disabled by default, and must be enabled by the server admin first.

Gdy Crawler jest włączony po stronie serwera, przejdź do LiteSpeed Cache > Crawler i ustaw Aktywny na Włączony.

For more detailed information about crawler setup, please see our blog post.

Recenzje

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.

Increible

En lo particular este pluggin me encanta, facil de usar y sobre todo FUNCIONA!! recomendado al 100%

Best Caching Software!

I have been using Litespeed Cache for the last six weeks or so. After many years of using W3 Total Cache for years, Litespeed leaves them in the dust! They even offer support! I use a DIVI theme and the site flies with A ratings across the board.

I can’t recommend Litespeed enough!

Steve Garson
SD-WAN Experts
https://www.sd-wan-experts.com

Przeczytaj 78 recenzji

Kontrybutorzy i deweloperzy

„LiteSpeed Cache” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Kontrybutorzy

“LiteSpeed Cache” has been translated into 10 locales. Thank you to the translators for their contributions.

Przetłumacz wtyczkę “LiteSpeed Cache” na swój język.

Interesuje cię rozwój wtyczki?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Log zmian

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] Optymalizacja obrazków.
  • [NEW FEATURE] Wkluczenia ról dla optymalizacji.
  • [NEW FEATURE] Priorytet połączonych plików CSS/JS.
  • [IMPROVEMENT] Pomijanie CDN dla stron logowania/rejestracji.
  • [UPDATE] Powiększono zasadę ExpiresByType aby dodać nowe typy czcionek. ( podziękowania dla JMCA2 )
  • [UPDATE] Usunięto duplikat typu param w linku działań administratora.
  • [BUGFIX] Naprawiono błąd CDN zastępujący img base64 i „fake” src w JS.
  • [BUGFIX] Naprawiono lazy load obrazków który zamieniał źródło w base64.
  • [BUGFIX] Naprawiono błąd typo w przypadku wyjątku klasy Optimize.
  • [GUI] Nowa karta Tuning w panelu administracyjnym.
  • [REFACTOR] Uproszczony routing uzyskany dzięki redukcji akcji i dodaniu typów.
  • [REFACTOR] zmieniono nazwęrun() na finalize() w procesie buforowania.

1.5 – October 17 2017

  • [NEW FEATURE] Wykluczanie JQuery (aby naprawić błąd w JS podczas łączenia JS).
  • [NEW FEATURE] Zdalne ładowanie JQuery.
  • [NEW FEATURE] Wykluczanie plików JS.
  • [NEW FEATURE] Wykluczenia obrazków Lazy Load.
  • [NEW FEATURE] Lazy Load dla zastępczych obrazków.
  • [IMPROVEMENT] Usprawniono rozmiar atrybutu Lazy Load dla w3c validator.
  • [UPDATE] Dodano uproszczone informacje o pamięci podręcznej i wersji LSCWP do komentarza HTML.
  • [UPDATE] Dodano log debugowania do wykrywania HTML.
  • [BUGFIX] Naprawiono potencjalny błąd czcionki CORS podczas używania CDN.
  • [GUI] Dodano dokumentację API w opisach ustawień.
  • [REFACTOR] Realokowano wszystkie klasy w przyłączeniach z wsteczną kompatybilnością.
  • [REFACTOR] Realokowano szablony administracyjne.

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] Wykluczenie niektórych URI z optymalizatora.
  • [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] Dodano menu Brak optymalizacji.

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

  • [UPDATE] Improved PHP5.3 compatibility.

1.2.3 – September 20 2017

  • [NEW FEATURE] Added CDN support.
  • [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] Dodano optymalizator bazy danych.
  • [NEW FEATURE] Dodano skrót przełącznika kart.
  • [IMPROVEMENT] Dodano kontrolę buforu w kontrolerze dla stron zarządzania.
  • [IMPROVEMENT] zmieniono nazwę kopi zapasowej .htaccess dla bezpieczeństwa.
  • [BUGFIX] Naprawiano bug z woocommerce z domyślnym ustawieniem ESI.
  • [REFACTOR] Wyświetlono stronę ESI dla OLS z informacją.
  • [REFACTOR] Zaktualizowano interfejs czyszczenia.

1.2.0.1 – September 1 2017

  • [BUGFIX] Naprawiono błąd nazewnictwa dla stałej sieci 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

  • Initial Release.