![]() Problems That May Occur When Using Rocket LoaderĪmong the various Cloudflare tools, Rocket Loader provides you with an opportunity to benefit from the following functionality: ![]() You can find more information on how to set up its Page Rules here. Setup Page RulesĬloudflare has the ability to customize Page Rules that allows you to select or remove the features on the specified pages of the site. * Note: Mirage and Accelerated Mobile Links are currently running in Beta mode. Rocket Loader – is an asynchronous JavaScript loader combined with a browser, that can safely run any JavaScript code on the client’s side. Mirage (Beta) – allows you to increase website page load speed on mobile devices with a slow internet connection.ħ. Brotli – accelerates the page load time for HTTPS traffic using the brotli compression algorithm.Ħ. When a user clicks on an AMP link, Cloudflare starts displaying this page inside the iframe by extracting it from its cache.ĥ. Enable Accelerated Mobile Links – use Cloudflare to identify the links that contain AMP content and convert them to AML after enabling AML for your website. Note, this feature is only available for Pro accounts.Ĥ. As a result, average productivity will be increased up to 200%. Railgun – offers you to compress previously uncached web objects up to 99.6% by applying methods similar to those used when compressing high-quality videos. Polish – allows you to optimize pictures by reducing their size without losing quality, helping to decrease loading time.ģ. Auto Minify – provides minification of JavaScript, CSS, and HTML – it is recommended to enable it.Ģ. ![]() There, take into consideration the following functions:ġ. Now, go to the Speed menu to manage website performance. SetEnvIf X-Forwarded-Proto https HTTPS = on Speed Menu In order to solve this issue, you should consider adding the following directive to your. As a result, you will see a loop between Cloudflare and your server. Magento takes into account the previously passed Cloudflare variables to the server and redirects to HTTPS. Meanwhile, Cloudflare is making a call to the origin server (where the Magento store is located) through port 80 via HTTP. When a user navigates to the site, Cloudflare sets variables on the server, showing that access is provided through port 443 via HTTPS. The looping problem occurs when the value of SSL Flexible is selected. Note: when you use the SSL Flexible parameter, you can face the looping problem – ERR_TOO_MANY_REDIRECTS. Open the Unsecure and Secure sections and change the Base URL to and accordingly. Go to System menu -> Configurations -> General -> WebĢ. Īfter completing the steps on the Cloudflare side, you need to set up the Magento store backend:ġ. Cloudflare provides customers with free CDN, yet if you want to use more features, it is required to use a paid plan that includes additional optimisation tools:įind more information about Cloudflare subscriptions here.
0 Comments
Leave a Reply. |