{"id":8586,"date":"2012-09-25T19:26:22","date_gmt":"2012-09-25T13:56:22","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=8586"},"modified":"2012-09-25T19:26:22","modified_gmt":"2012-09-25T13:56:22","slug":"how-to-integrate-spring-cache-plugin-with-grails","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/","title":{"rendered":"How to integrate Spring cache plugin with Grails"},"content":{"rendered":"<p>In one of my recent project, i want to cache\u00a0 method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin.<\/p>\n<p style=\"padding-bottom: 10px\">\n<p>It&#8217;s very easy to integrate cache plugin with grails.<\/p>\n<p>1. Add following plugin dependency in BuildConfig.groovy.<\/p>\n<p>[groovy]compile &quot;:springcache:1.3.1&quot;<\/p>\n<p>[\/groovy]<\/p>\n<p style=\"padding-bottom: 10px\">\n<p>2.\u00a0 We need to define the caches in resource.groovy. Use below mention code to create cache in resources.groovy.<\/p>\n<p>[groovy]<\/p>\n<p>studentCache(EhCacheFactoryBean) { bean -&gt;<br \/>\ncacheManager = ref(&quot;springcacheCacheManager&quot;)<br \/>\ncacheName = &quot;studentCache&quot;<br \/>\nmemoryStoreEvictionPolicy = &quot;LRU&quot;<br \/>\n}<br \/>\n[\/groovy]<\/p>\n<p>EhCacheFactoryBean &#8211; Pre define class of the spring<br \/>\nstudentCache &#8211; Cache name<\/p>\n<p>3. Add following codes in Config.groovy file to enable cache.<\/p>\n<p>[groovy]<br \/>\nspringcache {<br \/>\n    defaults {<br \/>\n        eternal = false<br \/>\n        diskPersistent = false<br \/>\n    }<br \/>\n    caches {<br \/>\n        studentCache {<br \/>\n            memoryStoreEvictionPolicy = &quot;LRU&quot;<br \/>\n           ttl=1000<br \/>\n        }<br \/>\n    }<br \/>\n}<br \/>\n[\/groovy]<\/p>\n<p>We need to mention the cache name that we want to enable. We can enable multiple cache.<\/p>\n<p style=\"padding-bottom: 10px\">\n<p>4. Add @Cacheable annotation above method that you want to cache.<\/p>\n<p>[groovy]<br \/>\n@Cacheable(cache=&quot;studentCache&quot;)<br \/>\n    Student showStudent(long id){<br \/>\n        return Student.get(id)<br \/>\n    }<br \/>\n[\/groovy]<\/p>\n<p>@Cacheable &#8211; We need to pass cache name<br \/>\nBut one thing we need to ensure, the class in which we are implementing the cache, it should be managed by spring or grails.<br \/>\nRun server, hit the url, you can see our method output is cached.<br \/>\nHope so this code will work for you \ud83d\ude42<\/p>\n<p style=\"padding-bottom: 10px\">\n<p>To know more about Cache, you can take the reference by using below link.<br \/>\n<a href=\"http:\/\/grails.org\/plugin\/springcache\">http:\/\/grails.org\/plugin\/springcache<\/a><\/p>\n<p style=\"padding-bottom: 10px\">\n","protected":false},"excerpt":{"rendered":"<p>In one of my recent project, i want to cache\u00a0 method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It&#8217;s very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile &quot;:springcache:1.3.1&quot; [\/groovy] 2.\u00a0 We need to [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":10,"footnotes":""},"categories":[7],"tags":[350,1072,4840,4841],"class_list":["post-8586","post","type-post","status-publish","format-standard","hentry","category-grails","tag-annotations","tag-cache","tag-grails","tag-spring"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In one of my recent project, i want to cache method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It&#039;s very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile &quot;:springcache:1.3.1&quot; [\/groovy] 2. We need to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Mohit Garg\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"How to integrate Spring cache plugin with Grails | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In one of my recent project, i want to cache method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It&#039;s very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile &quot;:springcache:1.3.1&quot; [\/groovy] 2. We need to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to integrate Spring cache plugin with Grails | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In one of my recent project, i want to cache method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It&#039;s very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile &quot;:springcache:1.3.1&quot; [\/groovy] 2. We need to\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#article\",\"name\":\"How to integrate Spring cache plugin with Grails | TO THE NEW Blog\",\"headline\":\"How to integrate Spring cache plugin with Grails\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2012-09-25T19:26:22+05:30\",\"dateModified\":\"2012-09-25T19:26:22+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#webpage\"},\"articleSection\":\"Grails, Annotations, Cache, Grails, Spring\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#listItem\",\"name\":\"How to integrate Spring cache plugin with Grails\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#listItem\",\"position\":3,\"name\":\"How to integrate Spring cache plugin with Grails\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit\\\/\",\"name\":\"Mohit Garg\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/931ccdefca3a3ec5366d4652824c2e03776befb43ae29205264bc46a3ec45d0a?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Mohit Garg\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/\",\"name\":\"How to integrate Spring cache plugin with Grails | TO THE NEW Blog\",\"description\":\"In one of my recent project, i want to cache method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It's very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile \\\":springcache:1.3.1\\\" [\\\/groovy] 2. We need to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-integrate-spring-cache-plugin-with-grails\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit\\\/#author\"},\"datePublished\":\"2012-09-25T19:26:22+05:30\",\"dateModified\":\"2012-09-25T19:26:22+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to integrate Spring cache plugin with Grails | TO THE NEW Blog","description":"In one of my recent project, i want to cache method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It's very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile \":springcache:1.3.1\" [\/groovy] 2. We need to","canonical_url":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#article","name":"How to integrate Spring cache plugin with Grails | TO THE NEW Blog","headline":"How to integrate Spring cache plugin with Grails","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/mohit\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2012-09-25T19:26:22+05:30","dateModified":"2012-09-25T19:26:22+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#webpage"},"articleSection":"Grails, Annotations, Cache, Grails, Spring"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/www.tothenew.com\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#listItem","name":"How to integrate Spring cache plugin with Grails"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#listItem","position":3,"name":"How to integrate Spring cache plugin with Grails","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/mohit\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/mohit\/","name":"Mohit Garg","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/931ccdefca3a3ec5366d4652824c2e03776befb43ae29205264bc46a3ec45d0a?s=96&d=mm&r=g","width":96,"height":96,"caption":"Mohit Garg"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/","name":"How to integrate Spring cache plugin with Grails | TO THE NEW Blog","description":"In one of my recent project, i want to cache method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It's very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile \":springcache:1.3.1\" [\/groovy] 2. We need to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/mohit\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/mohit\/#author"},"datePublished":"2012-09-25T19:26:22+05:30","dateModified":"2012-09-25T19:26:22+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"How to integrate Spring cache plugin with Grails | TO THE NEW Blog","og:description":"In one of my recent project, i want to cache method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It's very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile &quot;:springcache:1.3.1&quot; [\/groovy] 2. We need to","og:url":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"How to integrate Spring cache plugin with Grails | TO THE NEW Blog","twitter:description":"In one of my recent project, i want to cache method output. For implementing method level cache, i have used spring cache. For implement Spring cache, we can use grails cache plugin. It's very easy to integrate cache plugin with grails. 1. Add following plugin dependency in BuildConfig.groovy. [groovy]compile &quot;:springcache:1.3.1&quot; [\/groovy] 2. We need to","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"8586","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 08:09:00","updated":"2024-02-29 10:53:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to integrate Spring cache plugin with Grails\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Grails","link":"https:\/\/www.tothenew.com\/blog\/category\/grails\/"},{"label":"How to integrate Spring cache plugin with Grails","link":"https:\/\/www.tothenew.com\/blog\/how-to-integrate-spring-cache-plugin-with-grails\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/8586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=8586"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/8586\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=8586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=8586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=8586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}