Adds _get_permalink to cache posts URLs
Replaces calls to get_permalink with _get_permalink