Skip to content
My Agile Pixel® server-side, made easy
Cache

How to Configure W3 Total Cache with My Agile Pixel®

Updated Nov 2026 1 min read

W3 Total Cache is a powerful tool for comprehensive cache management on WordPress. It offers features such as CSS/JS minification to reduce page size and speed up loading.

However, aggressive caching and optimization may stop the scripts of My Agile Pixel® from loading, and cost you events.

To optimize speed while ensuring My Agile Pixel® works correctly, follow these simple steps:

First, from your site’s admin panel, go to: Performance > Minify.

On this page, focus on these fields:
– Never minify the following JS files
– Never minify the following CSS files

W3 Total Cache minify settings with the My Agile Pixel® files excluded

For proper operation, exclude the following JavaScript files (one per line):

/wp-content/plugins/myagilepixel/frontend/(.*).js
/wp-content/plugins/myagilepixel/local-cache/my-agile-pixel/(.*).js
localcdn.myagilepixel.com

Until the local copy is ready (for example right after installation), the scripts come from localcdn.myagilepixel.com: exclude this domain too.
And the following CSS files:

/wp-content/plugins/myagilepixel/frontend/css/(.*).css

Always test your site after any caching or optimization changes.

If you encounter any issues, you may need to further adjust settings or contact our support team or W3 Total Cache’s support.

Frequently asked questions

// ready to go

Recover the conversions you are losing

Turn on server-side tracking on your WordPress: recover the events the browser blocks, after consent.

Buy now →