<commit_before>﻿using SteamWebAPI2;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;

namespace BetterSteamWebAPIDocumentation.Controllers
{
    public class HomeController : Controller
    {
        public async Task<ActionResult> Index()
        {
            string steamWebApiKey = ConfigurationManager.AppSettings["steamWebApiKey"].ToString();
            SteamWebSession session = new SteamWebSession(steamWebApiKey);
            var interfaces = await session.GetSupportedAPIListAsync();

            return View(interfaces);
        }
    }
}<commit_msg>Added output caching for the length of 1 day.<commit_after>﻿using SteamWebAPI2;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;

namespace BetterSteamWebAPIDocumentation.Controllers
{
    public class HomeController : Controller
    {
        [OutputCache(Duration = 86400, Location = System.Web.UI.OutputCacheLocation.Server)]
        public async Task<ActionResult> Index()
        {
            string steamWebApiKey = ConfigurationManager.AppSettings["steamWebApiKey"].ToString();
            SteamWebSession session = new SteamWebSession(steamWebApiKey);
            var interfaces = await session.GetSupportedAPIListAsync();

            return View(interfaces);
        }
    }
}
{'fraction_non_alphanumeric': 0.08237677245104659, 'fraction_numerical': 0.0054017555705604325, 'mean_word_length': 3.6024844720496896, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3017644', 'n_tokens_mistral': 388, 'n_tokens_neox': 387, 'n_words': 90}