Getting More from ExactDN

The default behavior of ExactDN is to use your existing images, compress them losslessly, and only resize when necessary, but it can do much more than that!

Important: For all of these options, make sure that you insert the option above where it says to stop editing. There will always be a line in your wp-config.php that says something like "That's all, stop editing!". Anything below that line will not work properly.

More Compression

ExactDN can use either Pixel Perfect or Premium compression to make sure your images are packed efficiently. Premium compression averages about 5x the savings of Pixel Perfect mode. Enable premium mode in the ExactDN settings, or add this line to your wp-config.php

define( 'EXACTDN_LOSSY', true );

You can also change the default quality level by setting EXACTDN_LOSSY to a number from 60-90 instead of just "true".

WebP Conversion

WebP is a newer image format from Google that lets you gain additional savings on your images with minimal quality loss. You don't need to do anything to enable WebP support with ExactDN, it takes care of everything for you.

Resizing for Better Quality

If you aren't satisfied with the quality of the "resizes" that WordPress generates, you can tell ExactDN to re-resize all images on-demand, so that the resized versions will use the superior GraphicsMagick library, and you can also adjust the image quality on the Advanced EWWW IO settings (don't go higher than 90 though, that's just silly). To allow ExactDN to override existing resizes, you will simply need to add this line to your wp-config.php file:

define( 'EXACTDN_RESIZE_EXISTING', true );

Going Beyond Images (Include All Resources)

This option is enabled by default and tells ExactDN to rewrite urls for all content in the wp-includes (core WP content) and wp-content (user-generated content) folders. If you need to disable it, you can toggle it in the ExactDN settings, or add the line below and set it to false in your wp-config.php:

define( 'EXACTDN_ALL_THE_THINGS', true );

The EWWW IO plugin will then do a simple replacement in all wp-includes and wp-content links to allow ExactDN to serve CSS, JavaScript, Fonts, and more.

If you need any assistance with these functions, just use the contact form below!

Still need help? Contact Us Contact Us