ChangeLog 8.4 KB

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