Hey edelen. Sorry I didn’t see your question earlier — I’ve been out of town and very busy on other things since I got back.
There are a couple of things to keep in mind. AZIndex just caches which posts are included in the index and the order in which they are sorted within the index. This allows AZIndex to avoid having to sort and filter the complete index every time a page from the index is displayed. When a post is changed in a way that it affects it’s place in the index (e.g. the title is changed) then the index is flagged as dirty and the AZIndex cache is rebuilt which can be a very database intensive task. So the current caching does help reduce the load on the database by a large amount for big indexes.
But (and you knew there had to be a ‘but’) what AZIndex does not currently do is cache the contents of the index pages themselves. Therefore, if you have a 100 posts in your index page, AZIndex has to retrieve the information used in the index from each post — e.g. all the titles, subtitles, and descriptions. So the more entries per page you have in your index, the more database accesses there will be.
But I did try to be smart about it — the SQL query I use does not retrieve the content of the posts — just the metadata and titles, so there should be no risk of megabytes of data being retrieved for each page access. However, I suspect I can do more to alleviate the situation. I know that WPSuperCache does provide hooks into their code to allow other plugins to use their services. I will certainly take a look at see if I can enhance AZIndex so that it can use their caching facilities. I really don’t want to have to build a more complete caching solution from scratch AZIndex.
One thing you can do in the meantime which will reduce the database accesses per page is to reduce the number of items you display on one page (if possible). If you only have 20 – 30 items per page, I would be surprised if that puts too much of a load on your server.
I will check back in a couple of days, so feel free to leave a reply here if you want to.
Mike
https://englishmike.net