Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I can't speak for any other platform but in ASP.NET there's a technique that can lead to something like this, which is output caching. Once an incoming request has been completely processed and rendered by the web server, the generated HTML is cached in memory on the server, and any further requests <em>that the server considers to be for the same page</em>, are fulfilled by the cached version of the page. </p> <p>It's a powerful technique for increasing the scalability of a site but you've got to be careful how you apply it (and test it!) or else you end up in this sort of situation where people start seeing details of other people's accounts - I've heard of this happening on banking sites.</p> <p>How do you fix it? In the <code>OutputCache</code> page directive, there's a number of <code>VaryBy...</code> attributes that can be set to control the set of circumstances under which the server generates a new version of the page vs serving the request from the cache e.g. caching a page for each unique querystring, caching pages based on content encodings. In ASP.NET WebForms, there's also a little-known control called <code>Substitution</code> which allows you to dynamically insert content into an output-cached page.</p> <p>MSDN References</p> <ul> <li><a href="http://msdn.microsoft.com/en-us/library/hdxfb6cy.aspx" rel="nofollow">OutputCache page directive</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/ms228212.aspx" rel="nofollow">Subsitution control</a> </li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload