Commit Graph
7 Commits
Author SHA1 Message Date
Jackson Harper fe11fbe774 * OutputCacheModule.cs: Dont cache items when trace is enabled.
svn path=/trunk/mcs/; revision=21702
2004-01-05 05:21:09 +00:00
Jackson Harper d3895b8c75 * OutputCacheModule.cs: Update the date header value.
* CachedRawResponse.cs: Expose a ref to the date header, so it can
	be easily set/updated. Remove unused methods and vars.

svn path=/trunk/mcs/; revision=21700
2004-01-05 04:10:55 +00:00
Jackson Harper 46d769c5a8 * OutputCacheModule.cs: Make raw repsonse entries dependent on
their varyby param entries.

svn path=/trunk/mcs/; revision=21694
2004-01-05 01:54:54 +00:00
Jackson Harper c8574de2f2 * OutputCacheModule.cs: VaryBy keys now need the HttpContext not just the request.
* CachedVaryBy.cs: Handle vary by headers, and vary by custom.

svn path=/trunk/mcs/; revision=21686
2004-01-04 21:51:45 +00:00
Jackson Harper bc46837166 * OutputCacheModule.cs: Only cache a page if it has a 200 status
code. Fix tabbing.
	* CachedVaryBy.cs: Give raw response keys a name, use the
	httpmethod in the key, and delimit items with \n so it is easier
	to read when debugging.

svn path=/trunk/mcs/; revision=20506
2003-11-26 22:23:28 +00:00
Jackson Harper 1889af35df * OutputCacheModule.cs: Store a CachedVaryBy object for each
cached page. Then store a CachedRawResponse for each combination
	of varried parameters for a page.
	* CachedRawResponse.cs: Do not need to store param values anymore
	those are stored in the CachedVaryBy now. Get the content length
	so we dont send back the entire buffer.
	* CachedVaryBy.cs: New file - holds the varyby data for a page,
	and a method to generate a key based on params. Right now this
	only works with VaryByParams. TODO: support VaryByHeaders and
	VaryByCustom.

svn path=/trunk/mcs/; revision=20333
2003-11-22 06:53:51 +00:00
Jackson Harper 54d9ed0618 * Cache.cs: New method so non public cache items can be added.
* CachedRawResponse.cs: New file - A snapshot of a response that
	is stored in the cache and can be used to create a new response.
	* OutputCacheModule.cs: Module for inserting and retrieving
	responses from the cache.

svn path=/trunk/mcs/; revision=20272
2003-11-20 11:50:24 +00:00