ChangeLog 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. 2005-07-25 Eyal Alaluf <[email protected]>
  2. * ExpiresBuckets.cs: Removed unused field (that if used would lead to
  3. serious runtime errors).
  4. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  5. * Cache.cs: added new InsertPrivate overload.
  6. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  7. * Cache.cs:
  8. * CacheEntry.cs: style. Removed doc. comments.
  9. 2005-06-08 Ilya Kharmatsky <ilyak-at-mainsoft.com>
  10. * CacheDependency.cs - added TARGET_JVM directives in places,
  11. where file watching is using (Mainsoft's implementation currently
  12. doesn't support the feature).
  13. 2005-05-09 Gonzalo Paniagua Javier <[email protected]>
  14. * CacheEntry.cs: credits for this patch should go to mcs. it catched
  15. that the code after 'if ((_enumFlags & Flags.Removed) != 0)' was
  16. unreachable.
  17. 2005-04-28 Gonzalo Paniagua Javier <[email protected]>
  18. * ExpiresBuckets.cs:
  19. * Cache.cs:
  20. * CacheExpires.cs: fix NullReferenceException thrown sometimes when
  21. using sliding expiration and under high load. Patch by Eyal Alayuf from
  22. Mainsoft.
  23. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  24. * CacheDependency.cs: remove warnings.
  25. 2005-04-01 Gonzalo Paniagua Javier <[email protected]>
  26. * CachedVaryBy.cs: fixed VaryByParam and wildcard (*). Patch by Ilya
  27. Kharmatsky (Mainsoft) that fixes bug #73981.
  28. 2005-04-01 Lluis Sanchez Gual <[email protected]>
  29. * CachedRawResponse.cs: Fix warning.
  30. 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
  31. * CacheEntry.cs: convert the external DateTime to GMT, as everything
  32. else uses that timezone. Fixes bug #69194.
  33. 2004-10-03 Ben Maurer <[email protected]>
  34. * Cache.cs, CacheEntry.cs, CacheExpires.cs, ExpiresBuckets.cs:
  35. use UtcNow rather than Now.
  36. 2004-05-27 Patrik Torstensson <[email protected]>
  37. * ExpiresBucket.cs (FlushExpiredItems): fix csc and a typo bug
  38. 2004-05-27 Patrik Torstensson <[email protected]>
  39. * CacheEntry.cs,CacheExpires.cs,ExpiresBucket.cs,
  40. Cache.cs : Fixed deadlock issues, fixed
  41. items not correctly being flushed, fixed update
  42. of item when expiration has been updated more
  43. than 1 min (placed in wrong bucket),
  44. fixed deadlock during cache callback when item
  45. is removed due to expiriation.
  46. Rewrite of locking handling in Cache class, leading
  47. to better performance and less bugs.
  48. This rewrite is due to a number of bugs found
  49. in the output caching during load (leading to memory
  50. leaks and deadlocks)
  51. 2004-05-16 Patrik Torstensson <[email protected]>
  52. * ExpiresBucket.cs: Style changes plus;
  53. (Update): Fixed possible lock bug (bug 54531)
  54. (Expand): remove lock optimization due to it can cause newly
  55. added items to be lost.
  56. (Remove): fixed possible lock bug.
  57. 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
  58. * Cache.cs: fix from Jan Jaros for NullRef (bug #56996).
  59. 2004-04-07 Lluis Sanchez Gual <[email protected]>
  60. * Cache.cs, CacheEntry.cs, ExpiresBuckets.cs: The value to use to
  61. specify infinite timeout in ReaderWriterLock is -1, not 0.
  62. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  63. * Watcher.cs: Removed file. Jackson made it obsolete and already
  64. removed it from the .sources file.
  65. 2004-02-09 Jackson Harper <[email protected]>
  66. * ExpiresBucket.cs: Remove duplicate code. Fixes bug #54031.
  67. 2004-02-09 Jackson Harper <[email protected]>
  68. * Cache.cs: Close entries that are removed.
  69. * CacheDependency.cs: Use FileSystemWatcher instead of custom
  70. Watcher for file dependencies.
  71. * OutputCacheModule.cs: Make the varyby objects dependent on the
  72. cached page.
  73. 2004-02-05 Jackson Harper <[email protected]>
  74. * CacheDependency.cs: Handle cache keys that have not been added
  75. to the cache yet.
  76. 2004-02-02 Jackson Harper <[email protected]>
  77. * OutputCacheModule.cs: We can use file dependancies now.
  78. 2004-01-14 Jackson Harper <[email protected]>
  79. * Cache.cs: Return null when items are expired but have not been
  80. removed yet.
  81. * OutputCacheModule.cs: Handle sliding expirations. Remove hacks
  82. checking if the item is expired, the cache no longer returns
  83. expired items.
  84. 2004-01-14 Jackson Harper <[email protected]>
  85. * Cache.cs: When using sliding expiration update the cache objects
  86. expires time as well as the expires entry expire time because the
  87. objects expire time is checked when objects are pulled out. This
  88. fixex bug #52778.
  89. 2004-01-11 Jackson Harper <[email protected]>
  90. * OutputCacheModule.cs: Remove varyby objects when there are no
  91. more raw responses that belong to them.
  92. * CachedRawResponse.cs: Keep a reference to the VaryBy object that
  93. this response belongs to this is so the varyby can be cleaned up.
  94. * CachedVaryBy.cs: Keep a reference to the keys that belong to the
  95. varyby and a reference to the varyby's key.
  96. 2004-01-04 Jackson Harper <[email protected]>
  97. * OutputCacheModule.cs: Dont cache items when trace is enabled.
  98. 2004-01-04 Jackson Harper <[email protected]>
  99. * OutputCacheModule.cs: Update the date header value.
  100. * CachedRawResponse.cs: Expose a ref to the date header, so it can
  101. be easily set/updated. Remove unused methods and vars.
  102. 2004-01-04 Jackson Harper <[email protected]>
  103. * CacheDependency.cs: Copy all the entries into the entries array,
  104. set on removed callback for items that we are dependent on.
  105. * Cache.cs: Add method to get CacheEntry objects.
  106. * OutputCacheModule.cs: Make raw repsonse entries dependent on
  107. their varyby param entries.
  108. 2004-01-04 Jackson Harper <[email protected]>
  109. * OutputCacheModule.cs: VaryBy keys now need the HttpContext not just the request.
  110. * CachedVaryBy.cs: Handle vary by headers, and vary by custom.
  111. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  112. * ExpiresBuckets.cs: set _intPos when expanding the array. Fixes bug
  113. 52541. Patch by Jan Jaros ([email protected]).
  114. 2003-11-21 Jackson Harper <[email protected]>
  115. * OutputCacheModule.cs: Only cache a page if it has a 200 status
  116. code. Fix tabbing.
  117. * CachedVaryBy.cs: Give raw response keys a name, use the
  118. httpmethod in the key, and delimit items with \n so it is easier
  119. to read when debugging.
  120. 2003-11-21 Jackson Harper <[email protected]>
  121. * OutputCacheModule.cs: Store a CachedVaryBy object for each
  122. cached page. Then store a CachedRawResponse for each combination
  123. of varried parameters for a page.
  124. * CachedRawResponse.cs: Do not need to store param values anymore
  125. those are stored in the CachedVaryBy now. Get the content length
  126. so we dont send back the entire buffer.
  127. * CachedVaryBy.cs: New file - holds the varyby data for a page,
  128. and a method to generate a key based on params. Right now this
  129. only works with VaryByParams. TODO: support VaryByHeaders and
  130. VaryByCustom.
  131. 2003-11-20 Jackson Harper <[email protected]>
  132. * Cache.cs: New method so non public cache items can be added.
  133. * CachedRawResponse.cs: New file - A snapshot of a response that
  134. is stored in the cache and can be used to create a new response.
  135. * OutputCacheModule.cs: Module for inserting and retrieving
  136. responses from the cache.
  137. 2003-04-09 Gonzalo Paniagua Javier <[email protected]>
  138. * CacheDependency.cs:
  139. * CacheEntry.cs:
  140. * Watcher.cs: added a FileSystemWatcher-like class for dependency checking.
  141. 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
  142. * Cache.cs:
  143. * CacheDefinitions.cs:
  144. * CacheDependency.cs:
  145. * CacheEntry.cs:
  146. * CacheExpires.cs:
  147. * ExpiresBuckets.cs: reformatted, make class status page happier. Does
  148. not work yet (wait for the next patch).
  149. 2002-12-27 Daniel Cazzulino <[email protected]>
  150. * CacheEntry.cs: several changes. New constants, use of constants
  151. defined in Cache.cs, modified locks to optimize perf. Fixed property
  152. sets which weren't using the keyword value to set the new values
  153. (don't know how this worked before!).
  154. * Cache.cs: changed singleton implementation to only create the object
  155. when actually used. Changed Insert overloads to use constants
  156. defined instead of hard values.
  157. * ExpiresBuchets: major changes. All locking now uses ReaderWriterLock
  158. class. Bucket now efectively reuses free indexes from removed items
  159. to avoid unnecessary expansions. Expansion now uses Array.CopyTo to
  160. add elements to the new list. Added private Int32Collection to
  161. handle int indexes efficiently (thanks Shawn Van Ness). See comments
  162. there.
  163. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  164. * Cache.cs: little fixes.
  165. 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
  166. * CacheDefinitions.cs: fixed a couple of enums.
  167. * CacheDependency.cs: the class is sealed.
  168. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  169. * CacheDependency.cs: fixed a couple of typos and don't throw
  170. NotImplementedException in constructors.
  171. 2001-12-21 Gaurav Vaish <[email protected]>
  172. * CacheDependency.cs: Some unimplemented methods to make build
  173. 2001-07-20 Patrik Torstensson ([email protected])
  174. * Cache.cs: Implemented. (90% ready)
  175. * CacheDefinitions.cs: Implemented.
  176. * CacheDependency.cs: Added. (20% ready)
  177. * CacheExpires: Implemented.
  178. * CacheEntry.cs: Implemented. (95% ready, going to be changed due to CacheDependecy support)
  179. * ExpiresBuckets.cs: Implemented.