We noticed you’re using an ad blocker!
Dear Guest, We’ve detected that you are using AdBlock or some other adblocking software which is preventing the page from fully loading, We don’t have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads! We need money to operate the site, and almost all of it comes from our online advertising.
  • Note: don´t push posting-counter with messages like thx, good, haha, only use reactions! threads will be deleted without any comment or notification. Read Rules.
  • Note: All new memeber's needs minimum 10 good posts for download files.. Read More!
Alvin

Session Cache 2.0.1

No permission to download
Allows the setup of a dedicated session cache distinct from the normal XF cache

Defines a "sessionCache" section in addition to of a "cache" section. Takes all the same options, except $config['cache']['sessions']

Note;

  • if no 'sessionCache' section is defined or it is disabled, falls back on existing cache/mysql storage
  • Xenforo Session handling does not interact with php sessions
  • Does not require a particular caching solution
  • Only affects public sessions. Installer/Admin sessions are hard coded in XenForo 2 to use MySQL storage
Migration

A migration script is provided which knows how to copy MySQL or Redis Cache sessions to the new Session Cach Configuration.

Copying (from) memcache sessions is not supported.

For copying Redis/MySQL sessions to a separate cache: copy_sessions_to_cache.php

  1. Copy copy_sessions_to_cache.php to somewhere on the webserver.
  2. Edit the line:

$dir = __DIR__ . '/html';


  1. To point to the webroot.
  2. Install add-on, configure sessionCache but disable.
  3. Run migration script.
  4. Configure sessionCache to be enabled.
  5. Note; some sessions will be lost, but not a large number.
Contributing features or bug fixes

Please create a Github Pull request via the "More Information" link.

Contributions

If you appreciate this addon, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.
  • Like
Reactions: Melvin
Author
Alvin
Downloads
2
Views
127
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Alvin

Latest updates

  1. XF.1 update

    This add-on is no longer required, as XF2.1 allows sessions to be pushed into their own cache...
Top

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock
Hello! It seems that you are using AdBlock - some functions may not be available. Please add us as exceptions. Thank you for understanding!