ChangeLog 7.7 KB

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