Cache locking, markdown wrapping, referer fixing