Skip to content

Provides memcached services with proper usage of connection pool

License

Notifications You must be signed in to change notification settings

vysokeskoly/cache-bundle

Repository files navigation

CacheBundle

Latest Stable Version License Checks Build

Changelog

See CHANGELOG.md

Installation

Step 1

Download using composer.

"require": {
    "vysokeskoly/cache-bundle": "^5.1.0"
},

Step 2

Add CacheBundle to the list of loaded bundles. Configure required parameters for bundle.

config.yml

vysoke_skoly_cache:
    connections:
        data:
            persistent_id: vs
            servers:
                default:
                    host: memc
                    port: 11211
        session:
            persistent_id: vs_session
            servers:
                default:
                    host: memc
                    port: 11311

Step3

Use created services. From example above vysokeskoly.cache.data and vysokeskoly.cache.session.

About

Provides memcached services with proper usage of connection pool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages