mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Use cache priming in Music Store sample
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
</cache>
|
||||
|
||||
@section scripts {
|
||||
@await Html.PrimeCache(Url.Action("GenreMenuList", "GenresApi"))
|
||||
@await Html.PrimeCache(Url.Action("MostPopular", "AlbumsApi"))
|
||||
|
||||
<script src="~/lib/traceur/bin/traceur-runtime.js"></script>
|
||||
<script src="~/lib/es6-module-loader/dist/es6-module-loader-sans-promises.js"></script>
|
||||
<script src="~/lib/reflect-metadata/Reflect.js"></script>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@using MusicStore
|
||||
@using Microsoft.AspNet.AngularServices
|
||||
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
|
||||
@addTagHelper "*, Microsoft.AspNet.AngularServices"
|
||||
|
||||
Reference in New Issue
Block a user