hjlfmy / statichtml Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tianqiq/statichtml
一个简单,易扩展的asp.net网页静态化组件
This project forked from tianqiq/statichtml
一个简单,易扩展的asp.net网页静态化组件
StaticHtml 是一个简单,易扩展,高效的asp.net 静态html生成组建, 由纯asp.net编写,可以在不改变网站任何 源代码的情况下,为网站添加html静态缓存。 只需要在web.config配置即可。 兼容urlrewrite的网站 怎么使用? 系统主要有一下几个接口 IPatten 判断请求是否要生成html缓存 ,主要方法:bool IsPatten(HttpRequest request) IGenKey 将当前请求生成一个唯一key,主要方法:String GenKey(HttpRequest request) IExpire 判断是否过期, 主要方法bool IsExpire(HttpRequest req, CacheInfo info) IStore html存储容器,主要方法:void Save(string key, Stream repInfo); 保存html内容 String Get(String key);获取html, Stream Get(String key);查询Html缓存信息 如果您阅读源码可以HttpModule -》 HtmlStaticCore 这么一个入口, 其实整个源码是非常简单的。 可以参看这里: http://www.cnblogs.com/tianqiq 作者:tianqiq 邮件: [email protected](有任何问题,发送到这个邮件)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.