<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Response.Redirect and Output Caching Trouble</title>
	<atom:link href="http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html</link>
	<description>Productive software development using ASP.NET, C#, Adobe Flex, and other technologies and tools.</description>
	<lastBuildDate>Mon, 26 Jul 2010 02:01:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html/comment-page-1#comment-1681</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 15 Jan 2010 01:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html#comment-1681</guid>
		<description>Ta Duc, I don&#039;t know of a way to cache the redirect. Caching usually applies to the content, not the headers. It wouldn&#039;t save you much anyway since the server has to process the headers anyway.</description>
		<content:encoded><![CDATA[<p>Ta Duc, I don&#8217;t know of a way to cache the redirect. Caching usually applies to the content, not the headers. It wouldn&#8217;t save you much anyway since the server has to process the headers anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ta Duc</title>
		<link>http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html/comment-page-1#comment-1680</link>
		<dc:creator>Ta Duc</dc:creator>
		<pubDate>Thu, 14 Jan 2010 02:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html#comment-1680</guid>
		<description>Is there any that can actually cache the output result of a redirect page? for instance, i have a page that query something first and then redirect user to that result. Is there anyway to apply cache to this?

I tried output cache on the action, but when check it up in Linq2sql profiler, i got queries everytime without caching...

Thanks,

BTW, can you add the function to automatic send an email if there is respond to this? If not i will be having a lot of hardtime tracing back your page. or you could reply to my email: duc at ducdigital dot com... Thanks</description>
		<content:encoded><![CDATA[<p>Is there any that can actually cache the output result of a redirect page? for instance, i have a page that query something first and then redirect user to that result. Is there anyway to apply cache to this?</p>
<p>I tried output cache on the action, but when check it up in Linq2sql profiler, i got queries everytime without caching&#8230;</p>
<p>Thanks,</p>
<p>BTW, can you add the function to automatic send an email if there is respond to this? If not i will be having a lot of hardtime tracing back your page. or you could reply to my email: duc at ducdigital dot com&#8230; Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rem</title>
		<link>http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html/comment-page-1#comment-731</link>
		<dc:creator>Rem</dc:creator>
		<pubDate>Mon, 13 Oct 2008 18:14:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html#comment-731</guid>
		<description>Nice post...</description>
		<content:encoded><![CDATA[<p>Nice post&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: superjason</title>
		<link>http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html/comment-page-1#comment-730</link>
		<dc:creator>superjason</dc:creator>
		<pubDate>Mon, 13 Oct 2008 15:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html#comment-730</guid>
		<description>Shawn, that will fix the issue. However, there are dozens of mobile device user agents (even more on the desktop).

This has 2 effects:
1. Excessive memory is used (not sure how substantial)
2. More importantly, you&#039;re losing the likelihood of hitting the cache. You want users to hit the cache for the benefit of the server, AND for a quick response on their end.

You could certainly focus on varying by browser and version to help out a little bit.

It goes without saying that you&#039;ll have to determine which method is going to work for your project.</description>
		<content:encoded><![CDATA[<p>Shawn, that will fix the issue. However, there are dozens of mobile device user agents (even more on the desktop).</p>
<p>This has 2 effects:<br />
1. Excessive memory is used (not sure how substantial)<br />
2. More importantly, you&#8217;re losing the likelihood of hitting the cache. You want users to hit the cache for the benefit of the server, AND for a quick response on their end.</p>
<p>You could certainly focus on varying by browser and version to help out a little bit.</p>
<p>It goes without saying that you&#8217;ll have to determine which method is going to work for your project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Obishawn</title>
		<link>http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html/comment-page-1#comment-729</link>
		<dc:creator>Obishawn</dc:creator>
		<pubDate>Mon, 13 Oct 2008 15:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ytechie.com/2008/10/responseredirect-and-output-caching-trouble.html#comment-729</guid>
		<description>For the mobile browser example, couldn&#039;t you also use &lt; %@ OutputCache Duration=&quot;120&quot; VaryByParam=&quot;*&quot; VaryByHeader=&quot;User-Agent&quot; %&gt;. Then all browsers with the same user agent would have the same behavior be it a redirect or a cached page being rendered?

Personally I think you should always be varying a page by the user agent because certain third party (and I think even .NET Framework) controls render differently depending on the browser you are using.</description>
		<content:encoded><![CDATA[<p>For the mobile browser example, couldn&#8217;t you also use < %@ OutputCache Duration="120" VaryByParam="*" VaryByHeader="User-Agent" %>. Then all browsers with the same user agent would have the same behavior be it a redirect or a cached page being rendered?</p>
<p>Personally I think you should always be varying a page by the user agent because certain third party (and I think even .NET Framework) controls render differently depending on the browser you are using.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
