* CacheDependency.cs: Handle cache keys that have not been added
[mono.git] / mcs / class / System.Web / System.Web.Caching / ChangeLog
1 2004-02-05  Jackson Harper <jackson@ximian.com>
2
3         * CacheDependency.cs: Handle cache keys that have not been added
4         to the cache yet.
5         
6 2004-02-02  Jackson Harper <jackson@ximian.com>
7
8         * OutputCacheModule.cs: We can use file dependancies now.
9         
10 2004-01-14  Jackson Harper <jackson@ximian.com>
11
12         * Cache.cs: Return null when items are expired but have not been
13         removed yet.
14         * OutputCacheModule.cs: Handle sliding expirations. Remove hacks
15         checking if the item is expired, the cache no longer returns
16         expired items.
17         
18 2004-01-14  Jackson Harper <jackson@ximian.com>
19
20         * Cache.cs: When using sliding expiration update the cache objects
21         expires time as well as the expires entry expire time because the
22         objects expire time is checked when objects are pulled out. This
23         fixex bug #52778.
24         
25 2004-01-11  Jackson Harper <jackson@ximian.com>
26
27         * OutputCacheModule.cs: Remove varyby objects when there are no
28         more raw responses that belong to them.
29         * CachedRawResponse.cs: Keep a reference to the VaryBy object that
30         this response belongs to this is so the varyby can be cleaned up.
31         * CachedVaryBy.cs: Keep a reference to the keys that belong to the
32         varyby and a reference to the varyby's key.
33         
34 2004-01-04  Jackson Harper <jackson@ximian.com>
35
36         * OutputCacheModule.cs: Dont cache items when trace is enabled.
37         
38 2004-01-04  Jackson Harper <jackson@ximian.com>
39
40         * OutputCacheModule.cs: Update the date header value.
41         * CachedRawResponse.cs: Expose a ref to the date header, so it can
42         be easily set/updated. Remove unused methods and vars.
43         
44 2004-01-04  Jackson Harper <jackson@ximian.com>
45
46         * CacheDependency.cs: Copy all the entries into the entries array,
47         set on removed callback for items that we are dependent on.
48         * Cache.cs: Add method to get CacheEntry objects.
49         * OutputCacheModule.cs: Make raw repsonse entries dependent on 
50         their varyby param entries.
51
52 2004-01-04  Jackson Harper <jackson@ximian.com>
53
54         * OutputCacheModule.cs: VaryBy keys now need the HttpContext not just the request.
55         * CachedVaryBy.cs: Handle vary by headers, and vary by custom.
56         
57 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
58
59         * ExpiresBuckets.cs: set _intPos when expanding the array. Fixes bug
60         52541. Patch by Jan Jaros (mono-bug@jerryweb.info).
61
62 2003-11-21  Jackson Harper <jackson@ximian.com>
63
64         * OutputCacheModule.cs: Only cache a page if it has a 200 status
65         code. Fix tabbing.
66         * CachedVaryBy.cs: Give raw response keys a name, use the
67         httpmethod in the key, and delimit items with \n so it is easier
68         to read when debugging.
69         
70 2003-11-21  Jackson Harper <jackson@ximian.com>
71
72         * OutputCacheModule.cs: Store a CachedVaryBy object for each
73         cached page. Then store a CachedRawResponse for each combination
74         of varried parameters for a page.
75         * CachedRawResponse.cs: Do not need to store param values anymore
76         those are stored in the CachedVaryBy now. Get the content length
77         so we dont send back the entire buffer.
78         * CachedVaryBy.cs: New file - holds the varyby data for a page,
79         and a method to generate a key based on params. Right now this
80         only works with VaryByParams. TODO: support VaryByHeaders and
81         VaryByCustom.
82         
83 2003-11-20  Jackson Harper <jackson@ximian.com>
84
85         * Cache.cs: New method so non public cache items can be added.
86         * CachedRawResponse.cs: New file - A snapshot of a response that
87         is stored in the cache and can be used to create a new response.
88         * OutputCacheModule.cs: Module for inserting and retrieving
89         responses from the cache.
90         
91 2003-04-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
92
93         * CacheDependency.cs:
94         * CacheEntry.cs:
95         * Watcher.cs: added a FileSystemWatcher-like class for dependency checking.
96
97 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * Cache.cs:
100         * CacheDefinitions.cs:
101         * CacheDependency.cs:
102         * CacheEntry.cs:
103         * CacheExpires.cs:
104         * ExpiresBuckets.cs: reformatted, make class status page happier. Does
105         not work yet (wait for the next patch).
106
107 2002-12-27  Daniel Cazzulino <dcazzulino@users.sf.net>
108
109         * CacheEntry.cs: several changes. New constants, use of constants
110         defined in Cache.cs, modified locks to optimize perf. Fixed property
111         sets which weren't using the keyword value to set the new values
112         (don't know how this worked before!).
113
114         * Cache.cs: changed singleton implementation to only create the object
115         when actually used. Changed Insert overloads to use constants
116         defined instead of hard values.
117
118         * ExpiresBuchets: major changes. All locking now uses ReaderWriterLock
119         class. Bucket now efectively reuses free indexes from removed items
120         to avoid unnecessary expansions. Expansion now uses Array.CopyTo to
121         add elements to the new list. Added private Int32Collection to
122         handle int indexes efficiently (thanks Shawn Van Ness). See comments
123         there.
124
125 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
126
127         * Cache.cs: little fixes.
128
129 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
130
131         * CacheDefinitions.cs: fixed a couple of enums.
132
133         * CacheDependency.cs: the class is sealed.
134
135 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
136
137         * CacheDependency.cs: fixed a couple of typos and don't throw
138         NotImplementedException in constructors.
139
140 2001-12-21      Gaurav Vaish <gvaish@iitk.ac.in>
141
142         * CacheDependency.cs:    Some unimplemented methods to make build
143
144 2001-07-20      Patrik Torstensson (Patrik.Torstensson@labs2.com)
145
146         * Cache.cs:     Implemented. (90% ready)
147         * CacheDefinitions.cs: Implemented.
148         * CacheDependency.cs: Added. (20% ready)
149         * CacheExpires: Implemented.
150         * CacheEntry.cs: Implemented. (95% ready, going to be changed due to CacheDependecy support)
151         * ExpiresBuckets.cs: Implemented.