def _get_cache_path_parts(self, link):<EOL>
<EOL>key_parts = [link.url_without_fragment]<EOL>if link.hash_name is not None and link.hash is not None:<EOL><INDENT>key_parts.append("<STR_LIT:=>".join([link.hash_name, link.hash]))<EOL><DEDENT>key_url = "<STR_LIT:#>".join(key_parts)<EOL>hashed = hashlib.sha224(key_url.encode()).hexdigest()<EOL>parts = [hashed[:<NUM_LIT:2>], hashed[<NUM_LIT:2>:<NUM_LIT:4>], hashed[<NUM_LIT:4>:<NUM_LIT:6>], hashed[<NUM_LIT:6>:]]<EOL>return parts<EOL>
Get parts of part that must be os.path.joined with cache_dir