You are here

function community_tags_authcache_community_tags_tags_added in Community Tags 6.2

The CT form is cached along with the rest of the node page with mytags removed from the form. Users tags are loaded by authcache and cached by the browser. If any tags are added or removed from node, the cached node page is invalidated which in turn causes a fresh ajax request for mytags.

File

community_tags_authcache/community_tags_authcache.module, line 85

Code

function community_tags_authcache_community_tags_tags_added($node, $user, $terms) {

  // invalidate the authcache page cache for this node
  _community_tags_authcache_invalidate_nodepage_authcache($node);
}