{"id":15823,"date":"2021-09-01T11:01:52","date_gmt":"2021-09-01T09:01:52","guid":{"rendered":"https:\/\/www.transparentedge.eu\/blog\/purgando-suavemente\/"},"modified":"2024-08-23T14:15:01","modified_gmt":"2024-08-23T12:15:01","slug":"purging","status":"publish","type":"post","link":"https:\/\/www.transparentedge.eu\/en\/blog\/purging\/","title":{"rendered":"Purging"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Cache invalidation is a process within a computer system in which cache entries are replaced or removed. In this article we will show you one of our latest updates, the soft purge, which you can use to invalidate content safely even if you have issues in the origin server.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">WHAT IS SOFT PURGING?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">When we perform a Soft Purge, the cache object is not purged directly: instead, you mark it as \u201cstale\u201d. The objects marked like that will behave as if their cache life has expired. That way, the next request will go to the origin to look for a new version of this object.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The main advantage of this type of purge is that if at the time of fetching the new version from the origin backend, the backend doesn\u2019t respond (due to an issue), the \u201cstale\u201d object will be served instead of displaying an error to the end user. Usually, it\u2019s much better to present a stale object rather than an error.\u00a0<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">HOW DO I MAKE A SOFT PURGE REQUEST?\u00a0<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">If you\u2019re using our dashboard, select the \u201cSoft Purge\u201d options.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you\u2019re using our API, remember to include `\u201dsoft\u201d: true` in the JSON payload.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you want to transform a normal purge into a soft purge when you send an invalidation to our <\/span><i><span style=\"font-weight: 400;\">API<\/span><\/i><span style=\"font-weight: 400;\">, you only have to add the field \u201csoft\u201d with the value \u201ctrue\u201d, to the payload sent in JSON format:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">{\u2026, \u201csoft\u201d: true}<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">This method is compatible with the option of refetching or warm-up cache.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">What are you waiting for to start using it?\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cache invalidation is a process within a computer system in which cache entries are replaced or removed. In this article [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":19544,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[137],"tags":[138,139,140,141,142,143,144,146,147,148,149,150],"class_list":["post-15823","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-optimizacion-en","tag-alto-rendimiento-en","tag-cdn-en","tag-distribucion-de-contenidos-en","tag-edgecomputing-en","tag-aceleracion-web-en","tag-cache-en","tag-web-en","tag-velocidad-web-en","tag-optimizacion-imagenes-en","tag-contenido-audiovisual-en","tag-performance-en","tag-seo-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Purging - Transparent Edge<\/title>\n<meta name=\"description\" content=\"This is how purging can help you to override contents more smoothly in case you have problems at the source.\" \/>\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.transparentedge.eu\/blog\/purging\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Purging - Transparent Edge\" \/>\n<meta property=\"og:description\" content=\"This is how purging can help you to override contents more smoothly in case you have problems at the source.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.transparentedge.eu\/blog\/purging\/\" \/>\n<meta property=\"og:site_name\" content=\"Transparent Edge\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-01T09:01:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-23T12:15:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-02.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jara Exp\u00f3sito\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tedgeservices\" \/>\n<meta name=\"twitter:site\" content=\"@tedgeservices\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/\"},\"author\":{\"name\":\"Jara Exp\u00f3sito\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/person\\\/e2bd1cb076dea3d14dfdad4191c83f1a\"},\"headline\":\"Purging\",\"datePublished\":\"2021-09-01T09:01:52+00:00\",\"dateModified\":\"2024-08-23T12:15:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/\"},\"wordCount\":261,\"publisher\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/TE-OG-02.png\",\"keywords\":[\"alto rendimiento\",\"CDN\",\"distribuci\u00f3n de contenidos\",\"EdgeComputing\",\"Aceleraci\u00f3n web\",\"cache\",\"web\",\"velocidad web\",\"optimizaci\u00f3n imag\u00e9nes\",\"contenido audiovisual.\",\"Performance\",\"SEO\"],\"articleSection\":[\"optimizaci\u00f3n\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/\",\"name\":\"Purging - Transparent Edge\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/TE-OG-02.png\",\"datePublished\":\"2021-09-01T09:01:52+00:00\",\"dateModified\":\"2024-08-23T12:15:01+00:00\",\"description\":\"This is how purging can help you to override contents more smoothly in case you have problems at the source.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/TE-OG-02.png\",\"contentUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/TE-OG-02.png\",\"width\":1200,\"height\":627},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/purging\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/www.transparentedge.eu\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Purging\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#website\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/\",\"name\":\"Transparent Edge\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\"},\"alternateName\":\"Transparent Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.transparentedge.eu\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\",\"name\":\"Transparent Edge Services\",\"alternateName\":\"Transparent Edge\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logotipo-cuadrado.jpg\",\"contentUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logotipo-cuadrado.jpg\",\"width\":1328,\"height\":1180,\"caption\":\"Transparent Edge Services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/tedgeservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/transparent-edge\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC5zZoyZmiLGBTAdiFpj2xHA\\\/videos\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/person\\\/e2bd1cb076dea3d14dfdad4191c83f1a\",\"name\":\"Jara Exp\u00f3sito\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Purging - Transparent Edge","description":"This is how purging can help you to override contents more smoothly in case you have problems at the source.","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.transparentedge.eu\/blog\/purging\/","og_locale":"en_US","og_type":"article","og_title":"Purging - Transparent Edge","og_description":"This is how purging can help you to override contents more smoothly in case you have problems at the source.","og_url":"https:\/\/www.transparentedge.eu\/blog\/purging\/","og_site_name":"Transparent Edge","article_published_time":"2021-09-01T09:01:52+00:00","article_modified_time":"2024-08-23T12:15:01+00:00","og_image":[{"width":1200,"height":627,"url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-02.png","type":"image\/png"}],"author":"Jara Exp\u00f3sito","twitter_card":"summary_large_image","twitter_creator":"@tedgeservices","twitter_site":"@tedgeservices","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/#article","isPartOf":{"@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/"},"author":{"name":"Jara Exp\u00f3sito","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/person\/e2bd1cb076dea3d14dfdad4191c83f1a"},"headline":"Purging","datePublished":"2021-09-01T09:01:52+00:00","dateModified":"2024-08-23T12:15:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/"},"wordCount":261,"publisher":{"@id":"https:\/\/www.transparentedge.eu\/#organization"},"image":{"@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/#primaryimage"},"thumbnailUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-02.png","keywords":["alto rendimiento","CDN","distribuci\u00f3n de contenidos","EdgeComputing","Aceleraci\u00f3n web","cache","web","velocidad web","optimizaci\u00f3n imag\u00e9nes","contenido audiovisual.","Performance","SEO"],"articleSection":["optimizaci\u00f3n"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/","url":"https:\/\/www.transparentedge.eu\/blog\/purging\/","name":"Purging - Transparent Edge","isPartOf":{"@id":"https:\/\/www.transparentedge.eu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/#primaryimage"},"image":{"@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/#primaryimage"},"thumbnailUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-02.png","datePublished":"2021-09-01T09:01:52+00:00","dateModified":"2024-08-23T12:15:01+00:00","description":"This is how purging can help you to override contents more smoothly in case you have problems at the source.","breadcrumb":{"@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.transparentedge.eu\/blog\/purging\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/#primaryimage","url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-02.png","contentUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-02.png","width":1200,"height":627},{"@type":"BreadcrumbList","@id":"https:\/\/www.transparentedge.eu\/blog\/purging\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.transparentedge.eu\/en\/"},{"@type":"ListItem","position":2,"name":"Purging"}]},{"@type":"WebSite","@id":"https:\/\/www.transparentedge.eu\/#website","url":"https:\/\/www.transparentedge.eu\/","name":"Transparent Edge","description":"","publisher":{"@id":"https:\/\/www.transparentedge.eu\/#organization"},"alternateName":"Transparent Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.transparentedge.eu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.transparentedge.eu\/#organization","name":"Transparent Edge Services","alternateName":"Transparent Edge","url":"https:\/\/www.transparentedge.eu\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/logo\/image\/","url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2023\/07\/logotipo-cuadrado.jpg","contentUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2023\/07\/logotipo-cuadrado.jpg","width":1328,"height":1180,"caption":"Transparent Edge Services"},"image":{"@id":"https:\/\/www.transparentedge.eu\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/tedgeservices","https:\/\/www.linkedin.com\/company\/transparent-edge\/","https:\/\/www.youtube.com\/channel\/UC5zZoyZmiLGBTAdiFpj2xHA\/videos"]},{"@type":"Person","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/person\/e2bd1cb076dea3d14dfdad4191c83f1a","name":"Jara Exp\u00f3sito"}]}},"_links":{"self":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/comments?post=15823"}],"version-history":[{"count":2,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15823\/revisions"}],"predecessor-version":[{"id":19679,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15823\/revisions\/19679"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/media\/19544"}],"wp:attachment":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/media?parent=15823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/categories?post=15823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/tags?post=15823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}