Feature #3
Caching in image preview window
| Status: | Assigned | Start: | 02/16/2010 | ||
| Priority: | Normal | Due date: | |||
| Assigned to: | Remigijus Kiminas | % Done: | 10% |
||
| Category: | - | Spent time: | 1.00 hour | ||
| Target version: | - | Estimated time: | 10.00 hours | ||
Description
Currently most listing pages are cached. But image preview does not use any caching except SQL query caching. It needs to implement caching. It's a little bit tricky part because need to take care of cache expiring.
History
Updated by Remigijus Kiminas 2 months ago
- % Done changed from 0 to 10
- Estimated time set to 10.00
Updated by Remigijus Kiminas 2 months ago
- Status changed from New to Assigned
Technical specification
Album preview image cache key must include.
1. Album cache key - because album name can be updated
2. Image cache key - depends on name, comments count
3. Sorting mode
Cache clear triggers:
Last uploaded - image name updated, deleted image, uploaded image - (increase album version)
Last commented sorting mode must be cleared then image is commented in the same album.
Top rated sorting mode must be cleared then image in album is rated.