Remora.Discord.Caching.Redis
1.0.24
Prefix Reserved
See the version list below for details.
dotnet add package Remora.Discord.Caching.Redis --version 1.0.24
NuGet\Install-Package Remora.Discord.Caching.Redis -Version 1.0.24
<PackageReference Include="Remora.Discord.Caching.Redis" Version="1.0.24" />
paket add Remora.Discord.Caching.Redis --version 1.0.24
#r "nuget: Remora.Discord.Caching.Redis, 1.0.24"
// Install Remora.Discord.Caching.Redis as a Cake Addin #addin nuget:?package=Remora.Discord.Caching.Redis&version=1.0.24 // Install Remora.Discord.Caching.Redis as a Cake Tool #tool nuget:?package=Remora.Discord.Caching.Redis&version=1.0.24
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 was computed. 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 (>= 7.0.0)
- Remora.Discord.Caching (>= 33.0.1)
-
net6.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 7.0.0)
- Remora.Discord.Caching (>= 33.0.1)
-
net7.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 7.0.0)
- Remora.Discord.Caching (>= 33.0.1)
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 | 119 | 5/28/2024 |
1.1.7 | 154 | 2/5/2024 |
1.1.6 | 230 | 11/14/2023 |
1.1.5 | 209 | 7/24/2023 |
1.1.4 | 227 | 5/11/2023 |
1.1.3 | 300 | 3/20/2023 |
1.1.2 | 518 | 1/19/2023 |
1.1.1 | 308 | 1/10/2023 |
1.1.0 | 343 | 12/28/2022 |
1.0.24 | 333 | 12/10/2022 |
1.0.23 | 375 | 10/30/2022 |
1.0.22 | 493 | 9/2/2022 |
1.0.21 | 397 | 8/19/2022 |
1.0.20 | 422 | 7/26/2022 |
1.0.19 | 407 | 7/26/2022 |
1.0.18 | 467 | 6/29/2022 |
1.0.17 | 415 | 6/27/2022 |
1.0.16 | 408 | 6/23/2022 |
1.0.15 | 433 | 6/20/2022 |
1.0.14 | 452 | 6/19/2022 |
1.0.13 | 440 | 6/18/2022 |
1.0.12 | 433 | 6/14/2022 |
1.0.11 | 452 | 6/8/2022 |
1.0.10 | 446 | 6/3/2022 |
1.0.9 | 440 | 5/25/2022 |
1.0.8 | 421 | 5/23/2022 |
1.0.7 | 441 | 5/15/2022 |
1.0.6 | 456 | 5/10/2022 |
1.0.5 | 446 | 5/3/2022 |
1.0.4 | 462 | 4/28/2022 |
1.0.3 | 424 | 4/25/2022 |
1.0.0 | 474 | 4/18/2022 |
Update dependencies.
Update Remora.Sdk.