add pub profile

This commit is contained in:
Tommy Parnell
2015-08-03 01:56:13 -04:00
parent 88f77f7f8c
commit e720f83819
2 changed files with 3 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ namespace lmltfy.Controllers
[Route("")]
[Route("h/{application}")]
[OutputCache(Duration = int.MaxValue, Location = System.Web.UI.OutputCacheLocation.ServerAndClient, VaryByParam = "application")]
public ActionResult Index(string application = AppNames.Lycos)
{
var app = application.ToAppEnum();
@@ -42,7 +43,7 @@ namespace lmltfy.Controllers
[HttpGet]
[Route("{url}")]
// [OutputCache(Duration = 86400, Location = System.Web.UI.OutputCacheLocation.ServerAndClient, VaryByParam = "url")]
[OutputCache(Duration = 86400, Location = System.Web.UI.OutputCacheLocation.ServerAndClient, VaryByParam = "url")]
public ActionResult Search(string url)
{
var model = db.SearchModels.FirstOrDefault(a => a.Url == url);

View File

@@ -199,6 +199,7 @@
<Content Include="Scripts\bootstrap.js" />
<Content Include="Scripts\bootstrap.min.js" />
<Content Include="ApplicationInsights.config" />
<None Include="Properties\PublishProfiles\lmltfy.pubxml" />
<None Include="Scripts\jquery-1.10.2.intellisense.js" />
<Content Include="Scripts\jquery-1.10.2.js" />
<Content Include="Scripts\jquery-1.10.2.min.js" />
@@ -235,7 +236,6 @@
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
<Folder Include="Properties\PublishProfiles\" />
</ItemGroup>
<ItemGroup>
<Content Include="fonts\glyphicons-halflings-regular.woff" />