Rebuild post reactions cache

Rebuild post reactions cache 1.5

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.1
  2. 2.2
  3. 2.3
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Rebuilds post reactions cache.

This add-on is useful to remove deleted members reactions.

(Example of Rebuild now button)

196736


Features:
  • Can be run from ACP or as CLI.
  • All phrases start with rebuildpostreactionscache_ for your convenience.
Run from browser:

If your forum has less than 100K posts, run from the Admin control panel.

Navigate to the following:

Admin control panel -> Tools -> Rebuild caches -> Rebuilds post reactions cache

Run from CLI:

If your forum has more than 100K posts, run from CLI.

Go to your server terminal
Navigate to the directory your forum is installed in.
Enter the following command:

php cmd.php xf-rebuild:rebuildpostreactionscache

Questions and Answers:

Q: I get a 504 Gateway Timeout.
A: Run from CLI.

Q: Running from CLI how long does it take to process 1M posts?
A: About an hour.
Author
AndyB
Views
2,249
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from AndyB

Latest updates

  1. See description

    Rebuild post reactions cache v1.5 changes: Remove Options page as it was no longer needed.
  2. See description

    Rebuild post reactions cache v1.4 changes: Added CLI support.
  3. See description

    Rebuild post reactions cache v1.3 changes: Updated query in RebuildPostReactionsCache.php file.
Top Bottom