If you enabled minify in W3 Total Cache Plugin and are unable to reply to comments, then this article is for you. I experience the W3 total Cached reply comment issue on different WordPress Themes. The comment reply buttons won’t just click.
Recommended
You may be wondering, why is my reply comment box not working after enabling Minify in Caching Plugin? It is simply the Javascript (JS) Minify breaking the comment box. However, you can fix this issue without disabling Minify or Javascript Optimisation.
How To Fix Total Cache Comment Reply Issue
- Login to WordPress Dashboard
- Locate Performance in the sidebar
- Click Minify Under Performance
- Enable JS, CSS And HTML Minify
- Scroll to Never minify the following JS files
- Paste wp-includes/js/comment-reply.min.js
- Save all Changes and Clear Cache
- Done
Recommended W3 Total Cache Settings
The following are hot cake W3 Total Cache Performance settings you should enable…
- Enable Page Cache (Disk Enhanced)
- Enable Auto Minify (Disable if Using Cloudflare or Other Minify)
- Enable HTML Minify
- Enable Javascript Minify (Minify and Combine)
- Enable CSS Minify (Minify and Combine) – Leave other settings
- Enable Object Cached (Use Memcached if Supported by your Server)
- Disable Emoji, wp-embed script and jquery-migrate
- Automatically prime the page cache
- Set Expire Headers and Cache-Control
- Enable HTTP (gzip) compression
- Remove Query strings from static resources
Note: Don’t use more than one plugin to do minification. Also, don’t enable minify on a plugin when you already enabled HTML, CSS And Javascript Optimisation in Cloudflare settings.
I hope you found this helpful? Feel free to share with others and don’t fail to let me know how you feel using the comment box.
Leave a Reply