Remora.Discord.Caching.Redis
1.1.8
Prefix Reserved
dotnet add package Remora.Discord.Caching.Redis --version 1.1.8
NuGet\Install-Package Remora.Discord.Caching.Redis -Version 1.1.8
<PackageReference Include="Remora.Discord.Caching.Redis" Version="1.1.8" />
paket add Remora.Discord.Caching.Redis --version 1.1.8
#r "nuget: Remora.Discord.Caching.Redis, 1.1.8"
// Install Remora.Discord.Caching.Redis as a Cake Addin #addin nuget:?package=Remora.Discord.Caching.Redis&version=1.1.8 // Install Remora.Discord.Caching.Redis as a Cake Tool #tool nuget:?package=Remora.Discord.Caching.Redis&version=1.1.8
Remora.Discord.Caching.Redis
This package contains a distributed, Redis-based cache provider which can replace the default in-memory cache provider. This alternate cache provider enables a shared cache between multiple applications, which may include (but is not limited to) shards, other bots, and shark-mounted laser cannons.
Structure
The structure is simple, and merely provides a Redis-backed ICacheProvider
implementation.
Usage
Usage is simple, but with one caveat - caching must be enabled after the REST and gateway services have been added to the dependency injection container, as this library replaces services from them.
After that, it's as simple as calling the following method. By default, the caching system uses an in-memory cache provider.
services.AddRedisDiscordCaching();
Note that you are not required to call AddDiscordCaching
; this is taken care
of by the method above.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 8.0.6)
- Remora.Discord.Caching (>= 39.0.0)
-
net6.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 8.0.6)
- Remora.Discord.Caching (>= 39.0.0)
-
net7.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 8.0.6)
- Remora.Discord.Caching (>= 39.0.0)
-
net8.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 8.0.6)
- Remora.Discord.Caching (>= 39.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.8 | 115 | 5/28/2024 |
1.1.7 | 150 | 2/5/2024 |
1.1.6 | 226 | 11/14/2023 |
1.1.5 | 205 | 7/24/2023 |
1.1.4 | 221 | 5/11/2023 |
1.1.3 | 296 | 3/20/2023 |
1.1.2 | 514 | 1/19/2023 |
1.1.1 | 304 | 1/10/2023 |
1.1.0 | 339 | 12/28/2022 |
1.0.24 | 329 | 12/10/2022 |
1.0.23 | 371 | 10/30/2022 |
1.0.22 | 484 | 9/2/2022 |
1.0.21 | 393 | 8/19/2022 |
1.0.20 | 418 | 7/26/2022 |
1.0.19 | 403 | 7/26/2022 |
1.0.18 | 461 | 6/29/2022 |
1.0.17 | 411 | 6/27/2022 |
1.0.16 | 404 | 6/23/2022 |
1.0.15 | 429 | 6/20/2022 |
1.0.14 | 448 | 6/19/2022 |
1.0.13 | 436 | 6/18/2022 |
1.0.12 | 429 | 6/14/2022 |
1.0.11 | 448 | 6/8/2022 |
1.0.10 | 442 | 6/3/2022 |
1.0.9 | 436 | 5/25/2022 |
1.0.8 | 417 | 5/23/2022 |
1.0.7 | 437 | 5/15/2022 |
1.0.6 | 452 | 5/10/2022 |
1.0.5 | 442 | 5/3/2022 |
1.0.4 | 458 | 4/28/2022 |
1.0.3 | 420 | 4/25/2022 |
1.0.0 | 470 | 4/18/2022 |
Update dependencies.