Make plugins cacheable

The TOC, navigation, metadata and the main image are cached. This patch makes the remaining plugins (amd, gridpager and uri) cached, too.