{"id":90045,"date":"2022-08-09T09:53:39","date_gmt":"2022-08-09T07:53:39","guid":{"rendered":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/"},"modified":"2021-03-03T14:11:02","modified_gmt":"2021-03-03T17:11:02","slug":"almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn","status":"publish","type":"post","link":"https:\/\/rmarketingdigital.com\/en\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/","title":{"rendered":"Custom Directory Caching with W3 Total Cache and MaxCDN"},"content":{"rendered":"<div class=\"container-med\">\n<div class=\"entry atype\">\n<p><strong>Warning<\/strong>- This is a relatively advanced topic that may only be of interest to a few performance fans.<\/p>\n<p>Have you ever referenced a newly created group of assets (in other words, images or css files) contained in a custom directory within a WordPress template, page, or post and assumed these assets will be cached in a way automatic by MaxCDN? Or maybe you&#039;ve already noticed that they are not cached * and wondering why not. Well guess what? Without informing MaxCDN about this new directory you have created, you will not know it is there and consequently you will not be able to store anything in it! This is what you should do (assuming you are using W3 Total Cache) ...<\/p>\n<p><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" class=\"theme-button\" title=\"W3 Total Cache Free WordPress Plugin\" href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\">Free WordPress W3 Total Cache Plugin<\/a><\/p>\n<h3>Step 1.<\/h3>\n<p>From the management panel, go to &#039;Performance&#039; -&gt; &#039;CDN&#039;, scroll down and make sure the &#039;Custom host files&#039; checkbox is checked.<\/p>\n<p><img alt='image-no-1-3760069' loading=\"lazy\" class=\"alignnone size-full wp-image-30206\" src='https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/09\/image-no-1-3760069.png' width=\"842\" height=\"140\"><\/p>\n<h3>Step 2.<\/h3>\n<p>Keep scrolling down until you reach the &#039;Custom File List&#039; field. This is where you will need to add your custom directory. As an example, if your custom directory is located within the same directory as your WordPress installation (which will generally be the site&#039;s root directory), simply add the directory name followed by an asterisk (the asterisk here means&#039; all in this folder &#039;), as in the example screenshot below.<\/p>\n<p><img alt='image-no-2-6626305' loading=\"lazy\" class=\"alignnone size-full wp-image-30207\" style=\"line-height: 1.8em;\" src='https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/09\/image-no-2-6626305.png' width=\"969\" height=\"206\"><\/p>\n<p>\u2026 And voila, all assets contained within the folder should now be cached by MaxCDN.<\/p>\n<p>* You can check whether or not assets are being cached by loading the referenced page or post in a browser and checking the source code - if they are being cached, you should see the CDN URL inside of the URL that refers to the asset.<\/p>\n<\/div>\n<p><script type=\"application\/ld+json\">{\n    \"@context\": \"http:\\\/\\\/schema.org\",\n    \"@type\": \"BlogPosting\",\n    \"mainEntityOfPage\": {\n        \"@type\": \"WebPage\",\n        \"@id\": \"https:\\\/\\\/www.wpexplorer.com\\\/caching-custom-directories\\\/\"\n    },\n    \"headline\": \"Caching Custom Directories With W3 Total Cache And MaxCDN\",\n    \"image\": {\n        \"@type\": \"ImageObject\",\n        \"url\": \"https:\\\/\\\/www.wpexplorer.com\\\/wp-content\\\/uploads\\\/w3-maxcdn-caching.png\",\n        \"width\": 900,\n        \"height\": 350\n    },\n    \"datePublished\": \"2014-03-06T10:24:25-06:00\",\n    \"dateModified\": \"2019-06-10T20:17:27-06:00\",\n    \"author\": {\n        \"type\": \"Person\",\n        \"name\": \"Brin Wilson\"\n    },\n    \"publisher\": {\n        \"@type\": \"Organization\",\n        \"name\": \"R Marketing Digital\",\n        \"logo\": {\n            \"@type\": \"ImageObject\",\n            \"url\": \"https:\\\/\\\/www.wpexplorer.com\\\/wp-content\\\/themes\\\/wpexplorer\\\/images\\\/wpexplorer-organization-logo.png\",\n            \"width\": 400,\n            \"height\": 60\n        }\n    },\n    \"description\": \"Brin covers the advanced topic of custom directory caching and how to do it using MaxCND and the W3 Total Cache free WordPress plugin.\"\n}<\/script><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Advertencia: este es un tema relativamente avanzado que solo puede ser de inter\u00e9s a unos pocos fan\u00e1ticos del rendimiento. \u00bfAlguna vez ha hecho referencia a un grupo de activos reci\u00e9n&#8230;<\/p>","protected":false},"author":1,"featured_media":90046,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1351],"tags":[],"class_list":["post-90045","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v28.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Almacenamiento en cach\u00e9 de directorios personalizados con W3 Total Cache y MaxCDN - R Marketing Digital<\/title>\n<meta name=\"description\" content=\"Advertencia: este es un tema relativamente avanzado que solo puede ser de inter\u00e9s a unos pocos fan\u00e1ticos del rendimiento. \u00bfAlguna vez ha hecho referencia\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rmarketingdigital.com\/en\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Almacenamiento en cach\u00e9 de directorios personalizados con W3 Total Cache y MaxCDN\" \/>\n<meta property=\"og:description\" content=\"Advertencia: este es un tema relativamente avanzado que solo puede ser de inter\u00e9s a unos pocos fan\u00e1ticos del rendimiento. \u00bfAlguna vez ha hecho referencia\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rmarketingdigital.com\/en\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/\" \/>\n<meta property=\"og:site_name\" content=\"R Marketing Digital\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-09T07:53:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/09\/w3-maxcdn-caching-9788128.png\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"R Marketing Digital\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/\"},\"author\":{\"name\":\"R Marketing Digital\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#\\\/schema\\\/person\\\/7c0d9782b2977b840b3740f00c69a73e\"},\"headline\":\"Almacenamiento en cach\u00e9 de directorios personalizados con W3 Total Cache y MaxCDN\",\"datePublished\":\"2022-08-09T07:53:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/\"},\"wordCount\":348,\"image\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rmarketingdigital.com\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/w3-maxcdn-caching-9788128.png\",\"articleSection\":[\"Wordpress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/\",\"name\":\"Almacenamiento en cach\u00e9 de directorios personalizados con W3 Total Cache y MaxCDN - R Marketing Digital\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rmarketingdigital.com\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/w3-maxcdn-caching-9788128.png\",\"datePublished\":\"2022-08-09T07:53:39+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#\\\/schema\\\/person\\\/7c0d9782b2977b840b3740f00c69a73e\"},\"description\":\"Advertencia: este es un tema relativamente avanzado que solo puede ser de inter\u00e9s a unos pocos fan\u00e1ticos del rendimiento. \u00bfAlguna vez ha hecho referencia\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wordpress\\\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\\\/#primaryimage\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/w3-maxcdn-caching-9788128.png\",\"contentUrl\":\"https:\\\/\\\/rmarketingdigital.com\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/w3-maxcdn-caching-9788128.png\",\"width\":900,\"height\":350,\"caption\":\"w3-maxcdn-caching-9788128-6955655-png\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/\",\"name\":\"R Marketing Digital\",\"description\":\"Agencia SEO | Publicidad redes sociales | Community Management\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rmarketingdigital.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#\\\/schema\\\/person\\\/7c0d9782b2977b840b3740f00c69a73e\",\"name\":\"R Marketing Digital\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g\",\"caption\":\"R Marketing Digital\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Almacenamiento en cach\u00e9 de directorios personalizados con W3 Total Cache y MaxCDN - R Marketing Digital","description":"Warning: this is a relatively advanced topic that may only be of interest to a few performance fans. Have you ever referenced","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:\/\/rmarketingdigital.com\/en\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/","og_locale":"en_US","og_type":"article","og_title":"Almacenamiento en cach\u00e9 de directorios personalizados con W3 Total Cache y MaxCDN","og_description":"Advertencia: este es un tema relativamente avanzado que solo puede ser de inter\u00e9s a unos pocos fan\u00e1ticos del rendimiento. \u00bfAlguna vez ha hecho referencia","og_url":"https:\/\/rmarketingdigital.com\/en\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/","og_site_name":"R Marketing Digital","article_published_time":"2022-08-09T07:53:39+00:00","og_image":[{"width":900,"height":350,"url":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/09\/w3-maxcdn-caching-9788128.png","type":"image\/png"}],"author":"R Marketing Digital","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/#article","isPartOf":{"@id":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/"},"author":{"name":"R Marketing Digital","@id":"https:\/\/rmarketingdigital.com\/#\/schema\/person\/7c0d9782b2977b840b3740f00c69a73e"},"headline":"Almacenamiento en cach\u00e9 de directorios personalizados con W3 Total Cache y MaxCDN","datePublished":"2022-08-09T07:53:39+00:00","mainEntityOfPage":{"@id":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/"},"wordCount":348,"image":{"@id":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/#primaryimage"},"thumbnailUrl":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/09\/w3-maxcdn-caching-9788128.png","articleSection":["Wordpress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/","url":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/","name":"Almacenamiento en cach\u00e9 de directorios personalizados con W3 Total Cache y MaxCDN - R Marketing Digital","isPartOf":{"@id":"https:\/\/rmarketingdigital.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/#primaryimage"},"image":{"@id":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/#primaryimage"},"thumbnailUrl":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/09\/w3-maxcdn-caching-9788128.png","datePublished":"2022-08-09T07:53:39+00:00","author":{"@id":"https:\/\/rmarketingdigital.com\/#\/schema\/person\/7c0d9782b2977b840b3740f00c69a73e"},"description":"Warning: this is a relatively advanced topic that may only be of interest to a few performance fans. Have you ever referenced","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rmarketingdigital.com\/wordpress\/almacenamiento-en-cache-de-directorios-personalizados-con-w3-total-cache-y-maxcdn\/#primaryimage","url":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/09\/w3-maxcdn-caching-9788128.png","contentUrl":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/09\/w3-maxcdn-caching-9788128.png","width":900,"height":350,"caption":"w3-maxcdn-caching-9788128-6955655-png"},{"@type":"WebSite","@id":"https:\/\/rmarketingdigital.com\/#website","url":"https:\/\/rmarketingdigital.com\/","name":"R Digital Marketing","description":"SEO Agency | Advertising social networks | Community Management","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rmarketingdigital.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/rmarketingdigital.com\/#\/schema\/person\/7c0d9782b2977b840b3740f00c69a73e","name":"R Digital Marketing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c5599c203e0120b8ccbff4666af86f35f9b3dcad468a8bc6295313a3964a80be?s=96&d=mm&r=g","caption":"R Marketing Digital"}}]}},"_links":{"self":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/posts\/90045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/comments?post=90045"}],"version-history":[{"count":0,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/posts\/90045\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/media\/90046"}],"wp:attachment":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/media?parent=90045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/categories?post=90045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/tags?post=90045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}