Skip to content

Releases: android-com-pl/flarum-lscache

v3.2.0

21 Nov 10:29
Compare
Choose a tag to compare

Added configurable status code caching that allows to:

  • Cache error responses (404, 403, etc.) for guest users
  • Set custom TTL (Time To Live) for each status code

This feature is particularly useful for forums that experience high volumes of bot traffic or requests to deleted/moved content, as it prevents unnecessary database queries and PHP processing for unsuccessful requests.

Full Changelog: v3.1.0...v3.2.0

v3.1.0

19 Nov 09:39
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.1...v3.1.0

v3.0.0

15 Sep 00:45
Compare
Choose a tag to compare

This is an overhaul of the extension, with most of the codebase being rewritten.

Changed

  • Implemented a new, more robust method for detecting resource updates and cache purging. This new system works in both HTTP and CLI contexts. The previous implementation only functioned in HTTP context, which meant that resource updates processed in job queues were not detected
  • Minimum required PHP version is now 8.1

Added

Full Changelog: v2.3.1...v3.0.0

v2.3.1

30 Jan 22:27
Compare
Choose a tag to compare
  • fix: Do not set vary cookie if something bypassed session. This improves compatibility with the blomstra/realtime extension

Full Changelog: v2.3.0...v2.3.1

v2.3.0

28 Jan 20:26
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.1...v2.3.0

v2.2.1

28 Nov 17:01
Compare
Choose a tag to compare

What's Changed

  • fixed a warning on post delete
  • purge users index cache on post like

Full Changelog: v2.2.0...v2.2.1

v2.2.0

18 Jun 13:48
44f6109
Compare
Choose a tag to compare

What's Changed

Added

Introduced cache purging for a user profile when a post is added or updated.

Fixed

Resolved a potential issue with tag cache purging when another middleware has read the response.

Full Changelog: v2.1.0...v2.2.0

v2.1.0

16 Jun 15:21
2d802c3
Compare
Choose a tag to compare

What's Changed

Added:

  • Cache purging for tags associated with a discussion upon updates or new posts.

Docs:

  • Added information on how one can support the extension's development.

Fixed:

  • Resolved an issue with fof/masquerade compatibility. Previously, when a user with permissions edited someone else's profile, the cache of the editor's profile was cleared instead of the edited user's profile.

Full Changelog: v2.0.1...v2.1.0

v2.0.1 - Fixed login for installations in subdirectories

29 May 18:25
Compare
Choose a tag to compare

Fixed an issue with logging into Flarum when installed in a subdirectory. Now, logging in works correctly regardless of where Flarum is installed.

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

v2.0.0

20 May 16:43
Compare
Choose a tag to compare

🚨 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