Getting Started

Please follow the following steps to configure Wanghy-Cache:

Choose the cache provider

Instead of imposing the use of a particular cache implementation, Wanghy-Cache lets you choose a cache provider that better suites the needs of your project.

Out of the box, Wanghy-Cache supports the following cache providers:

Please read the section Setting up the Cache Provider for more details.

Enabling Caching Services

Wanghy-Cache provides two ways to enable the caching services:

  1. Declarative Caching Services.

    Declarative caching services are enabled by Spring AOP.

  2. Programmatic Use.

    A single interface is exposed to access any of the supported cache providers.