![]() ![]() And yes I have caching plugins installed which minify but the woocommerce stores have some pages that are excluded from caching and this does seem to include exclusion from minification of even the HTML. The whole site minification looks to be of a greater benefit. Should I disable the Railgun and go back to using their nameservers for the minification benefit? I think that actually Railgun isn't worth it for my websites, because they aren't being updated dynamically that often - small woocommerce stores, a coppermine gallery and blogs. I guess, the minification service really only works when you are using the Cloudflare nameservers? Is there something else that I'm missing? The information on both sites is kind of vague on what is working and when. So, I'm using A2hosting which give Railgun for free but you have to setup your DNS records with a CNAME configuration from their cPanel, use the A2hosting nameservers and use their Cloudflare app.īefore that I was using the nameservers which Cloudflare game me. I'm not even sure if this is the right place for this question. Code is written in a human consumable way which involves a lot of line breaks and spaces. Then it got me by reading something remotely connected to my problem somewhere around here or serverfault/stackoverflow that it's related to the Railgun configuration. NOTE: Set Browser Cache TTL to Respect Existing Headers if youre caching pages in Cloudflare. Speaking of optimizations, we always do 'Auto minify,' which is an option under Speed - Optimization in Cloudflare: Cloudflare optimizations for page speed. We have contacted CloudFlare support about this, and they have suggested that we do not use this feature. First I thought it was related to caching. It is easy to configure, and it helps with performance, and it's boosting many of our web-based workloads. If you are using CloudFlare on your site, please make sure you do not have this option checked: Selecting the auto minify feature will minimize the already minified CSS file, and it breaks it, leading to having a broken stylesheet on your site. I’ve loved them since I was a kid and still dream about getting one for my mid-life crisis one day.I have burned the last two days wondering why the minification from Cloudflare doesn't work and what is happening. ![]() Purge Cache Caching Level Browser Cache TTL. And be sure to test across all browsers to ensure that your sites are rendering as intended.Īs a side-note, it was great to use old school Mini Cooper artwork for this post. Auto Minify Brotli Rocket Loader AMP Real URL Browser Insights. While some WordPress plugins can do this, you can also take advantage of it if you have set up your site with Cloudflare. Minifying your code involves removing characters in the code that are required for it to execute properly. The lesson I’ve taken from this is that while it’s a great idea to minify stylesheets (and JavaScript for that matter), care has to be taken when doing so. One of the ways that you can make your site load a little faster is to minify your Javascript, CSS, and HTML. Thankfully the option can be turned off and after a quick cache purge, all was well again in the Chrome world. ![]() It turns out that I’d nonchalantly enabled the option to auto-minify stylesheets at the service I use to distribute this site, CloudFlare. I found out the hard way (Thanks Steven) that some of these techniques can strip web browsers ability to read or CSS code correctly, resulting in incorrect fonts being displayed, and the responsiveness of media queries rendered useless. But if you’re using or in your stylesheets, be wary of automatic minifying techniques. If you view the source of your files in your web brows. I’ll agree that it’s very easy, and in the name of speed I can concede a bit to the awesomeness. Once enabled, Cloudflares Auto minify will minify your HTML and your cached CSS & JS files. In the name of speeding up your site you may hear that minifying your CSS is both awesome and easy. Once enabled, Cloudflare's Auto Minify will minify your HTML and your cached CSS and JS files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |