---
title: "Explain the concepts of Post Cache Substitution in .NET"  
description: "Explain the concepts of Post Cache Substitution in .NET"  
author: "Anonymous User"  
published: 2011-05-23  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/1005/explain-the-concepts-of-post-cache-substitution-in-dot-net  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Explain the concepts of Post Cache Substitution in .NET

It works opposite to fragment caching. The entire page is cached, except what is to be kept dynamic. When [OutputCache] attribute is used, the page is cached on both the server and the client. Whereas, you use in case of post cache substitution the page is cached on the server only. HttpResponse.WriteSubstitution method is a way to implement it.

## Answers

### Answer by Anonymous User

It works opposite to fragment caching. The entire page is cached, except what is to be kept dynamic. When [OutputCache] attribute is used, the page is cached on both the server and the client. Whereas, you use in case of post cache substitution the page is cached on the server only. HttpResponse.WriteSubstitution method is a way to implement it.


---

Original Source: https://www.mindstick.com/interview/1005/explain-the-concepts-of-post-cache-substitution-in-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
