Nulled Scripts Community

Best Scripts Site In The World

Resource icon

xF2 Unmaintained Session Cache 2.0.1

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
Additional Requirements
php 5.6+
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 affect installer session or admin sessions
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:
    Code:
    $dir = __DIR__ . '/html';
    To point to the webroot.
  3. Install add-on, configure sessionCache but disable.
  4. Run migration script.
  5. Configure sessionCache to be enabled.
  6. Note; some sessions will be lost, but not a large number.
Author
AnimeHaxor
Size
12 KB
Extension
zip
Downloads
5
Views
1,347
First release
Last update

More resources from AnimeHaxor

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...
  2. 2.0.1 - Maintenance update

    Minor cleanup of readme and addon.json tweaks

Similar resources

LiteSpeed Cache for XF2 - Community Admin
Quickly and easily implement high-performance page caching on your XenForo forum

738Threads
2,302Messages
66,711Members
kzmbltxLatest member
Back