I’ve noticed since I enabled the caching system in WP-Optimize, it causes all Font Awesome icons to become a square. Clearing the cache allows them to work again. Running the pre-load option will make them square again.
Is there anything I can add to the exclusions so it will not try to cache that part?
Hello @empmdk,
You may need to exclude the caching of the font awesome icon files.
These are the files:
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-solid-900.woff2
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-solid-900.woff
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-solid-900.ttf
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-solid-900.woff2
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-solid-900.woff
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-solid-900.ttf
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-regular-400.woff2
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-regular-400.woff
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-regular-400.ttf
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-regular-400.woff2
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-regular-400.woff
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-regular-400.ttf
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-light-300.woff2
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-light-300.woff
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-light-300.ttf
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-light-300.woff2
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-light-300.woff
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-light-300.ttf
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-brands-400.woff2
/wp-content/plugins/cornerstone/assets/dist/fonts/fa-brands-400.woff
Hope this helps.
1 Like
Looks like I only needed to enter the main fonts directory. No longer giving any issues.
*/wp-content/plugins/cornerstone/assets/dist/fonts/*
Thanks for the help, RueNel.
On behalf of my colleague, you’re welcome
.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.