cache_get('content:12345:23456', 'cache_content'); #
get the data
cache_clear_all('content:nid:vid', 'cache_content') #
clear that specific nid/vid combination
cache_clear_all('content:nid', 'cache_content', TRUE) #
clear all cached revisions of that nid
No comments:
Post a Comment