Changes between Initial Version and Version 1 of Ticket #26706, comment 8


Ignore:
Timestamp:
Jun 6, 2016, 11:47:08 AM (8 years ago)
Author:
Yoong Kang Lim

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26706, comment 8

    initial v1  
    11I just read #25344, thanks, didn't know there were other methods that were affected.
    22
    3 I think the behaviour should be added in both cases. Is it not reasonable, in general, to expect the cache to be cleared when you mutate the items? If the historical cached list is needed for any reason, it could always be stored in a variable.
     3I think the behaviour should be added in both cases. Is it not reasonable, in general, to expect cache to be cleared on change of data? If the historical cached list is needed for any reason, it could always be stored in a variable.
    44
    55I do agree that in either case it should be documented. Either that your prefetched values could be out of date, or that any changes via the add(), clear() and remove() methods will clear the cache.
Back to Top