{"id":11638,"date":"2024-03-12T14:41:45","date_gmt":"2024-03-12T09:11:45","guid":{"rendered":"https:\/\/www.skynats.com\/?p=11638"},"modified":"2025-01-08T20:36:56","modified_gmt":"2025-01-08T15:06:56","slug":"dynamic-caching-with-engintron-optimizing-nginx-for-cpanel","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/dynamic-caching-with-engintron-optimizing-nginx-for-cpanel\/","title":{"rendered":"Enhanced Dynamic Caching with Engintron: Optimizing NGINX for cPanel"},"content":{"rendered":"\n<figure class=\"wp-block-image size-medium\"><img decoding=\"async\" width=\"300\" height=\"107\" sizes=\"(max-width: 300px) 100vw, 300px\" src=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/03\/engintron-300x107.png\" alt=\"Engintron Nginx on cPanel\" class=\"wp-image-11640\" srcset=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/03\/engintron-300x107.png 300w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/03\/engintron-768x273.png 768w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/03\/engintron.png 900w\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/engintron.com\/\" target=\"_blank\" rel=\"noopener\">Engintron<\/a>, an Nginx implementation tailored for CPanel, comes equipped with numerous advanced features already enabled. One notable feature is its micro-caching service designed specifically for dynamic HTML content. This caching capability allows for the temporary storage of dynamic HTML responses in the cache for a duration of one second. To safeguard against caching sensitive information, the application does not cache requests containing cookies or URLs with shared prefixes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The primary objective of Engintron is to streamline the deployment and maintenance of NGINX on <a href=\"https:\/\/www.skynats.com\/server-management\/\">cPanel servers<\/a>, particularly as reverse proxies alongside Apache. Engintron boasts various caching features, including fastcgi and proxy caching. With the recent addition of micro-caching for dynamic content, it surpasses NGINX Reverse Proxy capabilities in cPanel environments. When dealing with high-traffic websites that load slowly, especially those without e-commerce shopping carts, configuring NGINX to store PHP output and serve it directly from cache rather than routing all requests to Apache can significantly improve performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You could follow the steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Begin by setting up Engintron.<\/li>\n\n\n\n<li>Navigate to WHM -&gt; Plugins -&gt; Engintron for cPanel\/WHM.<\/li>\n\n\n\n<li>Choose &#8220;Edit proxy_params_dynamic.&#8221; Adjust the values accordingly.<\/li>\n\n\n\n<li>By setting the EXPIRES_FOR_DYNAMIC value to a specific number of minutes, NGINX&#8217;s cache will expire after that duration, fetching the latest version from Apache thereafter.<\/li>\n\n\n\n<li>For additional settings, scroll down: Set the proxy_cache_valid final number to match the expired cache duration, such as 5 minutes. Ensure the comment character (#) is removed from the expires line&#8217;s settings.<\/li>\n\n\n\n<li>Complete the process by clicking the green Update button. Ideally, editable file formats akin to those utilised in Engintron for dynamic content would be preferred.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Our\u00a0<a href=\"https:\/\/www.skynats.com\/blog\/\">Support Team<\/a>\u00a0is available to help if you encounter any issues or errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Engintron, an Nginx implementation tailored for CPanel, comes equipped with numerous advanced features already enabled. One notable feature is its micro-caching service designed specifically for dynamic HTML content. This caching capability allows for the temporary storage of dynamic HTML responses in the cache for a duration of one second. To safeguard against caching sensitive information, [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,823,68],"tags":[18,822,43],"class_list":["post-11638","post","type-post","status-publish","format-standard","hentry","category-blog","category-optimization","category-server-management","tag-cpanel","tag-engintron","tag-nginx"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/11638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=11638"}],"version-history":[{"count":0,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/11638\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=11638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=11638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=11638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}