<%@ OutputCache Duration="60" VaryByParam= "None" %>
More detail of this technique is taken from this site, as you need to know the caveats and situation where this technique can benefits.
Did a quick benchmark using jMeter on a simple site with themes, LDAP connecting, permission checking to database, and constructing menu, with 10 concurrent threads hitting the server 100 tries:
Before:
- Average response time: 374 ms
- Throughput: 1295 request/minute
- Average response time: 132 ms
- Throughput: 2708 request/minute
Response time reduced about 30% from original. Another page with more complex queries reduce response time 800 ms to 210 ms or about 25%.
--
dsw
Tidak ada komentar:
Posting Komentar