{"id":24778,"date":"2024-03-16T03:49:52","date_gmt":"2024-03-16T03:49:52","guid":{"rendered":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/"},"modified":"2024-03-22T04:34:11","modified_gmt":"2024-03-22T04:34:11","slug":"how-do-you-configure-multiple-caches-in-spring-boot","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/","title":{"rendered":"How do you configure multiple caches in Spring Boot?"},"content":{"rendered":"<p>In Spring Boot, you can use the @CacheConfig annotation to configure multiple caches. By using the @CacheConfig annotation, you can define cache configurations for multiple methods or classes uniformly. The specific steps are as follows:<\/p>\n<ol>\n<li>Add the @EnableCaching annotation to the main configuration class of Spring Boot or the configuration class that needs to enable caching in order to activate the caching feature.<\/li>\n<li>Add cache annotations such as @Cacheable, @CachePut, @CacheEvict to the methods where caching is needed, specify some cache configurations like cache name, cache key, etc.<\/li>\n<li>Add the @CacheConfig annotation to the class where caching needs to be enabled, specifying the default cache configuration, including the cache name and cache manager.<\/li>\n<\/ol>\n<p>Below is an example code showing how to configure multiple caches in Spring Boot.<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">@Configuration<\/span>\r\n<span class=\"hljs-meta\">@EnableCaching<\/span>\r\n<span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title class_\">CacheConfig<\/span> {\r\n    \r\n    <span class=\"hljs-meta\">@Bean<\/span>\r\n    <span class=\"hljs-keyword\">public<\/span> CacheManager <span class=\"hljs-title function_\">cacheManager<\/span><span class=\"hljs-params\">()<\/span> {\r\n        <span class=\"hljs-type\">SimpleCacheManager<\/span> <span class=\"hljs-variable\">cacheManager<\/span> <span class=\"hljs-operator\">=<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">SimpleCacheManager<\/span>();\r\n        \r\n        <span class=\"hljs-comment\">\/\/ \u521b\u5efa\u7f13\u5b58\u5bf9\u8c61<\/span>\r\n        <span class=\"hljs-type\">Cache<\/span> <span class=\"hljs-variable\">cache1<\/span> <span class=\"hljs-operator\">=<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">ConcurrentMapCache<\/span>(<span class=\"hljs-string\">\"cache1\"<\/span>);\r\n        <span class=\"hljs-type\">Cache<\/span> <span class=\"hljs-variable\">cache2<\/span> <span class=\"hljs-operator\">=<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">ConcurrentMapCache<\/span>(<span class=\"hljs-string\">\"cache2\"<\/span>);\r\n        \r\n        <span class=\"hljs-comment\">\/\/ \u5c06\u7f13\u5b58\u5bf9\u8c61\u52a0\u5165\u5230\u7f13\u5b58\u7ba1\u7406\u5668\u4e2d<\/span>\r\n        cacheManager.setCaches(Arrays.asList(cache1, cache2));\r\n        \r\n        <span class=\"hljs-keyword\">return<\/span> cacheManager;\r\n    }\r\n    \r\n    <span class=\"hljs-meta\">@CacheConfig(cacheNames = \"cache1\")<\/span>\r\n    <span class=\"hljs-meta\">@Service<\/span>\r\n    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title class_\">MyService1<\/span> {\r\n        \r\n        <span class=\"hljs-meta\">@Cacheable(key = \"#id\")<\/span>\r\n        <span class=\"hljs-keyword\">public<\/span> String <span class=\"hljs-title function_\">getDataFromCache<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span> id)<\/span> {\r\n            <span class=\"hljs-comment\">\/\/ \u4ece\u6570\u636e\u5e93\u6216\u5176\u4ed6\u5730\u65b9\u83b7\u53d6\u6570\u636e<\/span>\r\n            <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-string\">\"Data from cache1\"<\/span>;\r\n        }\r\n        \r\n        <span class=\"hljs-meta\">@CachePut(key = \"#id\")<\/span>\r\n        <span class=\"hljs-keyword\">public<\/span> String <span class=\"hljs-title function_\">updateDataInCache<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span> id)<\/span> {\r\n            <span class=\"hljs-comment\">\/\/ \u66f4\u65b0\u7f13\u5b58\u4e2d\u7684\u6570\u636e<\/span>\r\n            <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-string\">\"Updated data in cache1\"<\/span>;\r\n        }\r\n        \r\n        <span class=\"hljs-meta\">@CacheEvict(key = \"#id\")<\/span>\r\n        <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title function_\">deleteDataFromCache<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span> id)<\/span> {\r\n            <span class=\"hljs-comment\">\/\/ \u4ece\u7f13\u5b58\u4e2d\u5220\u9664\u6570\u636e<\/span>\r\n        }\r\n    }\r\n    \r\n    <span class=\"hljs-meta\">@CacheConfig(cacheNames = \"cache2\")<\/span>\r\n    <span class=\"hljs-meta\">@Service<\/span>\r\n    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title class_\">MyService2<\/span> {\r\n        \r\n        <span class=\"hljs-meta\">@Cacheable(key = \"#id\")<\/span>\r\n        <span class=\"hljs-keyword\">public<\/span> String <span class=\"hljs-title function_\">getDataFromCache<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span> id)<\/span> {\r\n            <span class=\"hljs-comment\">\/\/ \u4ece\u6570\u636e\u5e93\u6216\u5176\u4ed6\u5730\u65b9\u83b7\u53d6\u6570\u636e<\/span>\r\n            <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-string\">\"Data from cache2\"<\/span>;\r\n        }\r\n        \r\n        <span class=\"hljs-meta\">@CachePut(key = \"#id\")<\/span>\r\n        <span class=\"hljs-keyword\">public<\/span> String <span class=\"hljs-title function_\">updateDataInCache<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span> id)<\/span> {\r\n            <span class=\"hljs-comment\">\/\/ \u66f4\u65b0\u7f13\u5b58\u4e2d\u7684\u6570\u636e<\/span>\r\n            <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-string\">\"Updated data in cache2\"<\/span>;\r\n        }\r\n        \r\n        <span class=\"hljs-meta\">@CacheEvict(key = \"#id\")<\/span>\r\n        <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title function_\">deleteDataFromCache<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span> id)<\/span> {\r\n            <span class=\"hljs-comment\">\/\/ \u4ece\u7f13\u5b58\u4e2d\u5220\u9664\u6570\u636e<\/span>\r\n        }\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>In the example above, we used the @CacheConfig annotation to specify the cache configuration for both MyService1 and MyService2 classes. MyService1 uses a cache called &#8220;cache1,&#8221; while MyService2 uses a cache called &#8220;cache2.&#8221; We also need to create Cache objects in the CacheConfig class and add them to the cache manager.<\/p>\n<p>Please note that the cacheNames attribute in the @CacheConfig annotation specifies the default cache name. If no cache name is specified in a specific method, the default cache name will be used. However, if a cache name is specified in a specific method, then that specified cache name will be used.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Spring Boot, you can use the @CacheConfig annotation to configure multiple caches. By using the @CacheConfig annotation, you can define cache configurations for multiple methods or classes uniformly. The specific steps are as follows: Add the @EnableCaching annotation to the main configuration class of Spring Boot or the configuration class that needs to enable [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-24778","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How do you configure multiple caches in Spring Boot? - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do you configure multiple caches in Spring Boot?\" \/>\n<meta property=\"og:description\" content=\"In Spring Boot, you can use the @CacheConfig annotation to configure multiple caches. By using the @CacheConfig annotation, you can define cache configurations for multiple methods or classes uniformly. The specific steps are as follows: Add the @EnableCaching annotation to the main configuration class of Spring Boot or the configuration class that needs to enable [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-16T03:49:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-22T04:34:11+00:00\" \/>\n<meta name=\"author\" content=\"Olivia Parker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:site\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Parker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/\"},\"author\":{\"name\":\"Olivia Parker\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/3ff7b3da0e45ac5dbbef2502f3cea8d9\"},\"headline\":\"How do you configure multiple caches in Spring Boot?\",\"datePublished\":\"2024-03-16T03:49:52+00:00\",\"dateModified\":\"2024-03-22T04:34:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/\"},\"wordCount\":238,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/\",\"name\":\"How do you configure multiple caches in Spring Boot? - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\"},\"datePublished\":\"2024-03-16T03:49:52+00:00\",\"dateModified\":\"2024-03-22T04:34:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.silicloud.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do you configure multiple caches in Spring Boot?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"name\":\"Silicon Cloud Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\",\"name\":\"Silicon Cloud Blog\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"contentUrl\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"width\":1024,\"height\":1024,\"caption\":\"Silicon Cloud Blog\"},\"image\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\",\"https:\/\/twitter.com\/SiliCloudGlobal\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/3ff7b3da0e45ac5dbbef2502f3cea8d9\",\"name\":\"Olivia Parker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56c66f189ba32a6f9eb50f31a38fe774e2a725c213d4070835ccc51b8fbbc54b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56c66f189ba32a6f9eb50f31a38fe774e2a725c213d4070835ccc51b8fbbc54b?s=96&d=mm&r=g\",\"caption\":\"Olivia Parker\"},\"url\":\"https:\/\/www.silicloud.com\/blog\/author\/oliviaparker\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How do you configure multiple caches in Spring Boot? - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/","og_locale":"en_US","og_type":"article","og_title":"How do you configure multiple caches in Spring Boot?","og_description":"In Spring Boot, you can use the @CacheConfig annotation to configure multiple caches. By using the @CacheConfig annotation, you can define cache configurations for multiple methods or classes uniformly. The specific steps are as follows: Add the @EnableCaching annotation to the main configuration class of Spring Boot or the configuration class that needs to enable [&hellip;]","og_url":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/","og_site_name":"Blog - Silicon Cloud","article_publisher":"https:\/\/www.facebook.com\/SiliCloudGlobal\/","article_published_time":"2024-03-16T03:49:52+00:00","article_modified_time":"2024-03-22T04:34:11+00:00","author":"Olivia Parker","twitter_card":"summary_large_image","twitter_creator":"@SiliCloudGlobal","twitter_site":"@SiliCloudGlobal","twitter_misc":{"Written by":"Olivia Parker","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/#article","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/"},"author":{"name":"Olivia Parker","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/3ff7b3da0e45ac5dbbef2502f3cea8d9"},"headline":"How do you configure multiple caches in Spring Boot?","datePublished":"2024-03-16T03:49:52+00:00","dateModified":"2024-03-22T04:34:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/"},"wordCount":238,"commentCount":0,"publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/","url":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/","name":"How do you configure multiple caches in Spring Boot? - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/#website"},"datePublished":"2024-03-16T03:49:52+00:00","dateModified":"2024-03-22T04:34:11+00:00","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/blog\/how-do-you-configure-multiple-caches-in-spring-boot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.silicloud.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How do you configure multiple caches in Spring Boot?"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/blog\/#website","url":"https:\/\/www.silicloud.com\/blog\/","name":"Silicon Cloud Blog","description":"","publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.silicloud.com\/blog\/#organization","name":"Silicon Cloud Blog","url":"https:\/\/www.silicloud.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","contentUrl":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","width":1024,"height":1024,"caption":"Silicon Cloud Blog"},"image":{"@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SiliCloudGlobal\/","https:\/\/twitter.com\/SiliCloudGlobal"]},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/3ff7b3da0e45ac5dbbef2502f3cea8d9","name":"Olivia Parker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56c66f189ba32a6f9eb50f31a38fe774e2a725c213d4070835ccc51b8fbbc54b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56c66f189ba32a6f9eb50f31a38fe774e2a725c213d4070835ccc51b8fbbc54b?s=96&d=mm&r=g","caption":"Olivia Parker"},"url":"https:\/\/www.silicloud.com\/blog\/author\/oliviaparker\/"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/24778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/comments?post=24778"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/24778\/revisions"}],"predecessor-version":[{"id":58834,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/24778\/revisions\/58834"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/media?parent=24778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/categories?post=24778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/tags?post=24778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}