@Override
    public void loadNode(PubSubService service, Node.UniqueIdentifier nodeIdentifier)
    {
        log.debug( "Loading node: {}", nodeIdentifier );

        // Make sure that all changes to nodes have been written to the database
        // before the nodes are retrieved.
        flushPendingNode( nodeIdentifier );

        delegate.loadNode( service, nodeIdentifier );
    }
Cache for recently accessed published items.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/CachingPubsubPersistenceProvider.java