Release Testing Time (#1785)
* Fixed a bug with getting continue point where there was a single volume unread and a later volume with chapters inside it, the chapters were being picked. * Fixed a bug where resuming from jump key wasn't working (develop) * Cleaned up the spacing
This commit is contained in:
parent
0de927dee4
commit
bdd2a0a26a
11 changed files with 136 additions and 34 deletions
|
|
@ -60,10 +60,22 @@ public class Startup
|
|||
|
||||
services.AddControllers(options =>
|
||||
{
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.Images,
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.Instant,
|
||||
new CacheProfile()
|
||||
{
|
||||
Duration = 60,
|
||||
Duration = 30,
|
||||
Location = ResponseCacheLocation.None,
|
||||
});
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.FiveMinute,
|
||||
new CacheProfile()
|
||||
{
|
||||
Duration = 60 * 5,
|
||||
Location = ResponseCacheLocation.None,
|
||||
});
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.TenMinute,
|
||||
new CacheProfile()
|
||||
{
|
||||
Duration = 60 * 10,
|
||||
Location = ResponseCacheLocation.None,
|
||||
NoStore = false
|
||||
});
|
||||
|
|
@ -74,30 +86,25 @@ public class Startup
|
|||
Location = ResponseCacheLocation.None,
|
||||
NoStore = false
|
||||
});
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.TenMinute,
|
||||
new CacheProfile()
|
||||
{
|
||||
Duration = 60 * 10,
|
||||
Location = ResponseCacheLocation.None,
|
||||
NoStore = false
|
||||
});
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.FiveMinute,
|
||||
new CacheProfile()
|
||||
{
|
||||
Duration = 60 * 5,
|
||||
Location = ResponseCacheLocation.None,
|
||||
});
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.Statistics,
|
||||
new CacheProfile()
|
||||
{
|
||||
Duration = 60 * 60 * 6,
|
||||
Location = ResponseCacheLocation.None,
|
||||
});
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.Instant,
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.Images,
|
||||
new CacheProfile()
|
||||
{
|
||||
Duration = 30,
|
||||
Duration = 60,
|
||||
Location = ResponseCacheLocation.None,
|
||||
NoStore = false
|
||||
});
|
||||
options.CacheProfiles.Add(ResponseCacheProfiles.Month,
|
||||
new CacheProfile()
|
||||
{
|
||||
Duration = TimeSpan.FromDays(30).Seconds,
|
||||
Location = ResponseCacheLocation.Client,
|
||||
NoStore = false
|
||||
});
|
||||
});
|
||||
services.Configure<ForwardedHeadersOptions>(options =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue