Compatibility with Caching Plugins (including Object Cache)

Caching plugins can significantly improve your WordPress site’s speed and performance. However, they may occasionally interfere with the dynamic functionality of Linkify Pro. This guide will help you configure popular caching plugins to work seamlessly with Linkify Pro.

General Compatibility Guidelines

For optimal performance with Linkify Pro, you should:

  1. Exclude Linkify’s JavaScript files from being minified or combined
  2. Clear your cache after making significant changes to Linkify settings
  3. Temporarily disable object caching when generating Linkify’s internal cache

Compatibility with Popular Caching Plugins

WP Fastest Cache

To ensure compatibility with WP Fastest Cache:

  1. Go to WP Fastest Cache > Settings
  2. Navigate to the Exclude tab
  3. Add a new rule by clicking “Add New Rule”
  4. Select “Contains” from the dropdown
  5. Enter linkify in the text field
  6. Click “Add Rule”

This will prevent WP Fastest Cache from caching Linkify’s JavaScript files, ensuring that all dynamic features like analytics tracking work correctly.

W3 Total Cache

For W3 Total Cache compatibility:

  1. Go to Performance > Minify
  2. Scroll down to the “Never minify the following JS files” section
  3. Add the following entries:
    /wp-content/plugins/linkify-pro/assets/dist/js/linkify-frontend.min.js/wp-content/plugins/linkify-pro/assets/dist/js/linkify-analytics-tracking.min.js
    
  4. Click “Save Settings”

LiteSpeed Cache

To configure LiteSpeed Cache:

  1. Navigate to LiteSpeed Cache > Cache
  2. Go to the Excludes tab
  3. Under “Do Not Cache URIs”, add:
    /wp-admin/admin-ajax.php
    
  4. Under “JS Excludes”, add:
    linkify-
    
  5. Save changes

WP Rocket

For WP Rocket settings:

  1. Go to WP Rocket > Settings
  2. Navigate to File Optimization tab
  3. Scroll to “Excluded JavaScript files”
  4. Add these entries:
    /wp-content/plugins/linkify-pro/assets/dist/js/linkify-frontend.min.js/wp-content/plugins/linkify-pro/assets/dist/js/linkify-analytics-tracking.min.js
    
  5. Click “Save Changes”

Autoptimize

To configure Autoptimize:

  1. Go to Settings > Autoptimize
  2. Under the “JavaScript Options” section, find “Exclude scripts from Autoptimize”
  3. Add linkify to the exclusion list
  4. Save changes

Object Caching and Redis Compatibility

If you’re using an object caching solution like Redis or Memcached, you should be aware of the following:

Important Notice

When generating Linkify Pro’s internal cache from the Dashboard or other areas, you should temporarily disable your object cache or Redis.

This prevents any conflicts between the caching systems and ensures that Linkify generates its cache correctly. Here’s how:

  1. Before regenerating Linkify’s cache, disable your object cache plugin or Redis service
  2. Go to Linkify > Dashboard and click “Regenerate ALL Cache”
  3. Wait for the process to complete (it may take several minutes depending on your site size)
  4. Re-enable your object cache or Redis service

For Redis Users

If you’re using Redis, you can temporarily disable it by:

  1. Accessing your hosting control panel
  2. Locating the Redis service
  3. Pausing or stopping it temporarily
  4. Completing your Linkify cache generation
  5. Restarting the Redis service

For Object Cache Plugin Users

If you’re using a plugin like WP Redis, Redis Object Cache, or a similar solution:

  1. Navigate to the plugin settings
  2. Look for a “Disable” or “Flush Cache” option
  3. Disable the object cache temporarily
  4. Complete your Linkify cache operations
  5. Re-enable the object cache

Troubleshooting

If you experience issues with Linkify Pro after configuring your caching plugins:

  1. Clear all caches (both WordPress and browser)
  2. Regenerate Linkify’s internal cache
  3. Check that JavaScript exclusions are properly set in your caching plugin
  4. Verify that your object cache is functioning correctly

For persistent issues, contact our support team through the Help page with details about your caching setup.

By following these guidelines, you’ll ensure that Linkify Pro works optimally with your caching solution while maintaining the performance benefits of both systems.