ARCHIVE + LIST view at the same page¶
- 4000 news divided in 4 months. Each month have 1000 news. Pagebrowser set to 10 news per page. So at one month we have 100 cached pages. (100 pages per month x 4 month => 400 cached pages)
- Because we know the datetime of the news that have been added/deleted then we can clear the cache for only one month. So only 100 pages need to be regenerated.
- The problem is AMENU which will have old month counters in those all 300 pages that haven't been regenerated.
- AMENU has no news counters
- the whole AMENU could be fetched from static file using some AJAX
Solution b,) c) is the best option I think. If this is your case and you'd like to see that working at your page you may want to sponsor that issue. (contact me at firstname.lastname@example.org)