Possible implementation: have a valid_since datetime field on photosizes, which
is reset to current time whenever a significant change happens to it, like the
width, height, crop, etc. fields change. When getting an image of that size,
regenerate the cached image if its timestamp is before valid_since.
Not a major issue, since for production you shouldn't be changing photo sizes
that much, but it's cleaner than having to clear out the cache manually.
Original issue reported on code.google.com by valtron2...@gmail.com on 1 Nov 2011 at 6:30
Original issue reported on code.google.com by
valtron2...@gmail.com
on 1 Nov 2011 at 6:30