ChangeLog 7.1 KB

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