Browse Source

Fix for response caching

pull/282/head
Sebastian 9 years ago
parent
commit
335eea28e9
  1. 1
      src/Squidex/Config/Web/WebServices.cs
  2. 1
      src/Squidex/Squidex.csproj

1
src/Squidex/Config/Web/WebServices.cs

@ -20,6 +20,7 @@ namespace Squidex.Config.Web
services.AddSingletonAs<AppApiFilter>();
services.AddSingletonAs<ApiCostsFilter>();
services.AddResponseCaching();
services.AddMvc().AddMySerializers();
services.AddCors();
services.AddRouting();

1
src/Squidex/Squidex.csproj

@ -67,6 +67,7 @@
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.3" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" Version="2.0.3" />
<PackageReference Include="Microsoft.AspNetCore.ResponseCaching" Version="2.0.2" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.0.2" />

Loading…
Cancel
Save