ChangeLog 7.6 KB

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