ChangeLog 7.8 KB

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