{"id":41015,"date":"2016-02-11T18:21:10","date_gmt":"2016-02-11T18:21:10","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=41015"},"modified":"2024-03-04T07:56:39","modified_gmt":"2024-03-04T07:56:39","slug":"how-to-clean-and-flush-cache-programmatically-in-magento2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/","title":{"rendered":"How to clean and flush cache programmatically in magento2"},"content":{"rendered":"\n<p class=\"has-text-align-left\">How to clean and flush cache programmatically in magento2 &#8211; Sometimes it is required to clear the cache after performing an operation from the user&#8217;s end to reflect the changes or take effect on the UI. But we can not expect the end user to run the CLI commands from the terminal to clear the cache. As we are expecting the user as a non &#8211; technical individual, so for the fluency of the application we may need to clear the cache programmatically on the behalf of the user to enhance the user experience . If you are having issue with cache clear programmatically in magento2, then you don&#8217;t need to worry about this anymore . The solution is in this blog, you can easily follow the below steps and add this cache clean\/flush code to your project by following just some easy steps-<\/p>\n\n\n\n<p>Here, I am assuming that you are already aware of how to create a custom module in magento 2 and Controllers and Helpers to the module.<\/p>\n\n\n\n<p><b>1. Define constructor in you Controller or Helper &#8211; In the constructor you need to pass two arguments i.e. Magento\\Framework\\App\\Cache\\TypeListInterface and Magento\\Framework\\App\\Cache\\Frontend\\Pool to your file&#8217;s constructor as defined below :<\/b><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function __construct(\n    Context $context,\n    \\Magento\\Framework\\App\\Cache\\TypeListInterface $cacheTypeList,\n    \\Magento\\Framework\\App\\Cache\\Frontend\\Pool $cacheFrontendPool\n) {\n    parent::__construct($context);\n    $this-&gt;_cacheTypeList = $cacheTypeList;\n    $this-&gt;_cacheFrontendPool = $cacheFrontendPool;\n}<\/pre>\n\n\n\n<p><strong>2. Now add following code to the method where you want clear\/flush cache<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$types = array(&#039;config&#039;,&#039;layout&#039;,&#039;block_html&#039;,&#039;collections&#039;,&#039;reflection&#039;,&#039;db_ddl&#039;,&#039;eav&#039;,&#039;config_integration&#039;,&#039;config_integration_api&#039;,&#039;full_page&#039;,&#039;translate&#039;,&#039;config_webservice&#039;);\nforeach ($types as $type) {\n    $this-&gt;_cacheTypeList-&gt;cleanType($type);\n}\nforeach ($this-&gt;_cacheFrontendPool as $cacheFrontend) {\n    $cacheFrontend-&gt;getBackend()-&gt;clean();\n}<\/pre>\n\n\n\n<p>How to clean and flush cache programmatically in magento2<\/p>\n\n\n\n<p>So in this way you can clean and flush cache in magento2 . Hope this blog will help you.<\/p>\n\n\n\n<p>If you have any queries please comment below for discussion<\/p>\n\n\n\n<p>You can also check the below links :<\/p>\n\n\n\n<p><a href=\"https:\/\/webkul.com\/blog\/flush-cache-by-tag-in-magento-2\/\">https:\/\/webkul.com\/blog\/flush-cache-by-tag-in-magento-2\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/devdocs.magento.com\/guides\/v2.3\/config-guide\/cli\/config-cli-subcommands-cache.html\">https:\/\/devdocs.magento.com\/guides\/v2.3\/config-guide\/cli\/config-cli-subcommands-cache.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to clean and flush cache programmatically in magento2 &#8211; Sometimes it is required to clear the cache after performing an operation from the user&#8217;s end to reflect the changes or take effect on the UI. But we can not expect the end user to run the CLI commands from the terminal to clear the <a href=\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":15,"featured_media":39718,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[2721,2719,2720,2718],"class_list":["post-41015","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","tag-cache-flush-all","tag-clean","tag-flush","tag-magento2-cache"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to clean and flush cache programmatically in magento2 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"How to clean and flush cache programmatically in magento2\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to clean and flush cache programmatically in magento2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"How to clean and flush cache programmatically in magento2\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-11T18:21:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-04T07:56:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pooja Sahu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pooja Sahu\" \/>\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:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/\"},\"author\":{\"name\":\"Pooja Sahu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\"},\"headline\":\"How to clean and flush cache programmatically in magento2\",\"datePublished\":\"2016-02-11T18:21:10+00:00\",\"dateModified\":\"2024-03-04T07:56:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/\"},\"wordCount\":287,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\",\"keywords\":[\"cache flush all\",\"clean\",\"flush\",\"magento2 cache\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/\",\"name\":\"How to clean and flush cache programmatically in magento2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\",\"datePublished\":\"2016-02-11T18:21:10+00:00\",\"dateModified\":\"2024-03-04T07:56:39+00:00\",\"description\":\"How to clean and flush cache programmatically in magento2\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to clean and flush cache programmatically in magento2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\",\"name\":\"Pooja Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Pooja Sahu\"},\"description\":\"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/pooja\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to clean and flush cache programmatically in magento2 - Webkul Blog","description":"How to clean and flush cache programmatically in magento2","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:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/","og_locale":"en_US","og_type":"article","og_title":"How to clean and flush cache programmatically in magento2 - Webkul Blog","og_description":"How to clean and flush cache programmatically in magento2","og_url":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-02-11T18:21:10+00:00","article_modified_time":"2024-03-04T07:56:39+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","type":"image\/png"}],"author":"Pooja Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Pooja Sahu","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/"},"author":{"name":"Pooja Sahu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b"},"headline":"How to clean and flush cache programmatically in magento2","datePublished":"2016-02-11T18:21:10+00:00","dateModified":"2024-03-04T07:56:39+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/"},"wordCount":287,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","keywords":["cache flush all","clean","flush","magento2 cache"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/","url":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/","name":"How to clean and flush cache programmatically in magento2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","datePublished":"2016-02-11T18:21:10+00:00","dateModified":"2024-03-04T07:56:39+00:00","description":"How to clean and flush cache programmatically in magento2","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/01\/Magneto-Code-Snippet-5.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-clean-and-flush-cache-programmatically-in-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to clean and flush cache programmatically in magento2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b","name":"Pooja Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Pooja Sahu"},"description":"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.","url":"https:\/\/webkul.com\/blog\/author\/pooja\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/41015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=41015"}],"version-history":[{"count":5,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/41015\/revisions"}],"predecessor-version":[{"id":425844,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/41015\/revisions\/425844"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/39718"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=41015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=41015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=41015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}