Skip to content

v2.0.0

Compare
Choose a tag to compare
@rafaucau rafaucau released this 20 May 16:43
· 39 commits to main since this release

馃毃 Breaking change. Before updating, please remove the <IfModule LiteSpeed>...</IfModule> code block from your .htaccess file. From this version forward, this extension will automatically add the necessary configurations to your .htaccess file when you run the php flarum migrate command after updating the extension.

Updating Process:

Before updating, it's recommended to create a backup of your .htaccess file and remove the <IfModule LiteSpeed>...</IfModule> code block. Then proceed with the following commands:

composer require acpl/flarum-lscache
php flarum migrate
php flarum cache:clear

Added:

  • .htaccess file management. The extension now has the capability to edit the .htaccess file. This simplifies the installation process and paves the way for future admin panel options that require editing the .htaccess file.
  • The "Drop Query Strings" option. This feature allows the generation of a single cache version regardless of the query string. By default, parameters such as "utm", "fbclid", and others are "dropped" or ignored.
  • Introduced a new setting to enable or disable LSCache. If LSCache is turned off, all cached entries will be automatically purged, providing greater control over your cache.

Improvements:

  • Improved the clarity and readability of translations.

Fixed:

  • Added missing old migration that was causing problems when uninstalling the extension. A backport has also been implemented for v1.0 (see v1.0.2).

Full Changelog: v1.0.1...v2.0.0