
For example, you can exclude files from the minification process, and even enable Gzip encoding for better results:Īfter activating this plugin, we tested our home page’s loading times once more: There are also fewer customization options here than for Fast Velocity Minify, but still more than what Autoptimize offers.
However, it doesn’t include an option to optimize your HTML. Just like our previous pick, this plugin automatically enables minification for your JavaScript and CSS. Testing the Merge + Minify + Refresh plugin ⏱️ It also caches them so your server doesn’t have to repeat the entire loading process each time they’re requested, and it automatically updates everything when you make changes to those files.
#Wp super minify code#
Minifying your code is unlikely to make a massive difference in your WordPress site’s page load times. But it is a small optimization strategy that can cut your page load times by a couple of percentage points, which makes it a worthy tactic to implement.Īs you can imagine from its name, Merge + Minify + Refresh works its magic by combining your CSS and JavaScript files and minifying them. There’s no real security benefit beyond a little bit of obfuscation, though.
Minification doesn’t actually hide your site’s code, but it does make it a bit harder for casual users to interpret, if that’s something you’re worried about it.
Obscuring your code from casual onlookers. Decreasing loading times. Most modern websites use multiple scripts and stylesheets, which can combine to result in long loading times ( and frustrated visitors). Minification is particularly popular for scripts, stylesheets, and other similar website components. Minified files perform exactly the same as the original code, they just take up a little less space because they cut out extraneous information. Minification is the process of taking a piece of code and removing all unnecessary characters from it (think white spaces, line breaks, and so on). The Events Calendar and all of its add-ons, by default, load minified JavaScript, minified CSS, and optimized images.Įven if you ignore The Events Calendar’s assets in your minification setup, our plugins’ optimized assets will load in a high-performance manner.What minification is (and how it can benefit your site) wp-content/plugins/the-events-calendar-eventbrite-tickets/(.*).js wp-content/plugins/the-events-calendar-eventbrite-tickets/(.*).css wp-content/plugins/the-events-calendar-community-events-tickets/(.*).js wp-content/plugins/the-events-calendar-community-events-tickets/(.*).css wp-content/plugins/the-events-calendar-community-events/(.*).js wp-content/plugins/the-events-calendar-community-events/(.*).css wp-content/plugins/events-virtual/(.*).js wp-content/plugins/events-virtual/(.*).css wp-content/plugins/the-events-calendar-filterbar/(.*).js wp-content/plugins/the-events-calendar-filterbar/(.*).css wp-content/plugins/event-tickets-plus/(.*).js wp-content/plugins/event-tickets-plus/(.*).css wp-content/plugins/event-tickets/(.*).js wp-content/plugins/event-tickets/(.*).css wp-content/plugins/events-calendar-pro/(.*).js wp-content/plugins/events-calendar-pro/(.*).css wp-content/plugins/the-events-calendar/(.*).js wp-content/plugins/the-events-calendar/(.*).css If you’re using WP Rocket, you can use these values in File Optimization and CDN tabs from WP Rocket settings. Here is a list of the asset folders of each of our plugins that should be ignored. If you want or need to minify and the plugin or web hosting service allows you to ignore scripts and stylesheets from specific sources, then you should set it to ignore assets from The Events Calendar and its add-on plugins. If you have a caching or minification plugin enabled and notice the front-end of your site works once you disable minification, then we’d recommend you not minify. One of the most common reasons for errors when using caching or minification plugins (a single plugin or service will offer both caching and minifying features) is that the order of scripts and stylesheets loaded on a page is altered in a problematic way. Some WordPress plugins or web hosts minify your scripts and stylesheets, which can sometimes be the cause of front-end loading or display errors for The Events Calendar.