How to fix issues with caching

WP Full Picture loads tracking files at specific places and with specific dependencies. Unfortunately, this causes issues with some settings of caching solutions, which change the placement and order of loading these files.

To make sure that everything works correctly, check the settings of your caching plugin / solution and make these changes.

Do not remove version numbers from files

Some caching tools remove version numbers from files loaded by the browser. This stops them from downloading new versions of these files when they are available, and breaks tracking.

Do not combine JavaScript files

If you combine JS files, WP Full Picture will not be able to block specific tracking scripts installed by other plugins (see the settings in the Consent Banner module).

Do not save inline scripts in a separate file

WP Full Picture adds some JavaScript data to the HTML of the page to make sure that it is available when needed. When this data is saved in a separate file, it can load after the scripts that need them, breaking tracking as a result.

Do not change the order of loading JavaScript files

WordPress developers can choose when a JavaScript file loads (in the head of the document or in the footer) and what other files need to load before it (as a dependency).

However, caching solutions can change this order by deferring, asynchronous loading and delaying execution of these files, which breaks tracking.

Turn off Deferring, Asynchronous loading and Delaying Execution of JavaScript files or set exceptions for:

  • fupi-helpers.js
  • fupi-consb.js
  • /wpfp/js/head.js
  • fupi-woo.js (if you use WooCommerce)
  • jquery.js (if you use WooCommerce)
  • hooks.js (if you use WooCommerce)

BTW. How to speed up your site without using aggressive caching

All the settings I mentioned above are considered risky. They tend to cause problems not only with WP Full Picture but also other plugins. Many developers still use them, however, because their websites are heavy and standard caching does not help much.

But there is a solution for that.

I recorded for you a video presentation of a Freesoul Deactivate Plugins plugin. I am showing how you can use it to speed up your website without having to use aggressive caching solutions. I use it on all the websites and never had problems. Let me know what you think about it in the comments.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments