Official Content

Determines the provider used for distributed caching.

Values

In Process The cache is stored on the server, and no distribution mechanism is implemented for data caching.
Memcached The cache is managed using Memcached, which is a distributed memory object caching system.
Redis The cache is managed using Redis, which is an in-memory data structure store.

Scope

Generators: .NET, .NET Framework, Java
Level: Generator

Description

The Cache Provider property default value is 'In Process'. This means that a Local cache (per virtual directory) is used. In other words, the cache is independent per virtual directory. If the cache is recycled in a virtual directory (or webapps) the other virtual directories will not be affected.

In a distributed environment, the Local cache of the application server is useless. In this case, you need a distributed memory object caching system.

The Cache Provider property allows determining the provider used for Distributed cache in GeneXus applications.

Considerations

Runtime/Design time

This property applies only at design time.

How to apply changes

To apply the corresponding changes when the property value is configured, execute Build any object with the purpose of generating the *.config files.

See Also

Cache Location property
Cache Username property
Cache Password property
Redis
Memcached
Cache API

Last update: June 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant