{"id":20,"date":"2017-11-08T09:55:16","date_gmt":"2017-11-08T15:55:16","guid":{"rendered":"https:\/\/help.marketingservices.dev\/?p=20"},"modified":"2020-11-27T10:34:35","modified_gmt":"2020-11-27T16:34:35","slug":"divi-file-caching","status":"publish","type":"post","link":"https:\/\/help.marketingservices.dev\/?p=20","title":{"rendered":"Troubleshooting: CSS changes not updating &#8211; Divi Builder Plugin"},"content":{"rendered":"<h2>Problem<\/h2>\n<p>The Divi theme provides a lot of very powerful features, including a visual editor mode allowing you to drag and drop page elements. Newer versions of Divi generate static CSS files (and possibly other files) by default.\u00a0This means that while making edits to a site using newer versions of Divi that have the\u00a0<strong>Static CSS File Generation<\/strong>\u00a0setting turned on, the changes won\u2019t be made live immediately.<\/p>\n<h2>Solution<\/h2>\n<p>To solve this problem, you will need to turn the static file generation off. The following blog on Divi\u2019s site provides a more thorough explanation of this feature:<\/p>\n<p><a href=\"https:\/\/www.elegantthemes.com\/blog\/theme-releases\/divi-performance-enhancement-introducing-static-css-file-generation-for-divi\">https:\/\/www.elegantthemes.com\/blog\/theme-releases\/divi-performance-enhancement-introducing-static-css-file-generation-for-divi<\/a><\/p>\n<p>Enabling this feature after you are done developing or making edits will increase performance because the files can be served statically rather than on request.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem The Divi theme provides a lot of very powerful features, including a visual editor mode allowing you to drag and drop page elements. Newer versions of Divi generate static CSS files (and possibly other files) by default.\u00a0This means that while making edits to a site using newer versions of Divi that have the\u00a0Static CSS [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"<span style=\"font-weight: 400;\">The Divi theme provides useful stuff including a visual editor mode allowing you to drag and drop page elements. Newer versions of Divi generate static CSS files (and possibly other files) by default. Vendasta's website team built or modified pages and those changes seemed to never show up.<\/span>\r\n\r\n<span style=\"font-weight: 400;\">Since they were aware that Website Pro has some Site File Caching via Nginx there was much confusion over what was causing this problem.<\/span>\r\n\r\n<span style=\"font-weight: 400;\">I think to solve this problem you might need to just turn the static file generation off (and maybe turn it back on again later). Here's a very optimistic press release about Divi's static CSS files:<\/span><span style=\"font-weight: 400;\">\r\n<\/span><a href=\"https:\/\/www.elegantthemes.com\/blog\/theme-releases\/divi-performance-enhancement-introducing-static-css-file-generation-for-divi\"><span style=\"font-weight: 400;\">https:\/\/www.elegantthemes.com\/blog\/theme-releases\/divi-performance-enhancement-introducing-static-css-file-generation-for-divi<\/span><span style=\"font-weight: 400;\">\r\n<\/span><\/a>","_et_gb_content_width":"","footnotes":""},"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/posts\/20"}],"collection":[{"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":8,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":342,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions\/342"}],"wp:attachment":[{"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.marketingservices.dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}