mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Cache is disabled for json responses.
This commit is contained in:
parent
b029195260
commit
642207c68d
5 changed files with 40 additions and 8 deletions
|
@ -33,6 +33,7 @@ namespace NzbDrone.Api
|
|||
container.Resolve<IMessageAggregator>().PublishEvent(new ApplicationStartedEvent());
|
||||
|
||||
pipelines.AfterRequest.AddItemToStartOfPipeline(GzipCompressionPipeline.Handle);
|
||||
pipelines.AfterRequest.AddItemToEndOfPipeline(CacheHeaderPipeline.Handle);
|
||||
|
||||
ApplicationPipelines.OnError.AddItemToEndOfPipeline(container.Resolve<NzbDroneErrorPipeline>().HandleException);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue