{"id":7,"date":"2015-11-15T14:19:35","date_gmt":"2015-11-15T14:19:35","guid":{"rendered":"http:\/\/windows.emacslisp.com\/?p=7"},"modified":"2016-01-22T13:24:54","modified_gmt":"2016-01-22T13:24:54","slug":"asp-net-outputcache-example","status":"publish","type":"post","link":"http:\/\/windows.emacslisp.com\/index.php\/2015\/11\/15\/asp-net-outputcache-example\/","title":{"rendered":"Asp.net OutputCache Example"},"content":{"rendered":"<p>Output Cache Will determine when page will refresh<\/p>\n<p>the following example shows that date time will be updated every 10 seconds, if client keeps on pressing F5 to refresh<\/p>\n<pre lang=\"xml\" line=\"1\">\r\n\r\n<%@ Page Language=\"C#\" AutoEventWireup=\"true\" CodeBehind=\"outputCacheTest.aspx.cs\" Inherits=\"WebApplication.outputCacheTest\" %>\r\n<%@ OutputCache duration=\"10\" varybyparam=\"None\" %>\r\n<!DOCTYPE html>\r\n\r\n<html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\r\n<head runat=\"server\">\r\n    <title><\/title>\r\n<\/head>\r\n<body>\r\n    <form id=\"form1\" runat=\"server\">\r\n    <div>\r\n    <%= DateTime.Now.ToString() %><br \/>\r\n    <\/div>\r\n    <\/form>\r\n<\/body>\r\n<\/html>\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Output Cache Will determine when page will refresh the following example shows that date time will be updated every 10 seconds, if client keeps on pressing F5 to refresh<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/7"}],"collection":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":9,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"predecessor-version":[{"id":16,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/7\/revisions\/16"}],"wp:attachment":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}