Not working with Wp...
 
Notifications
Clear all

Not working with Wp rocket / Cache issues  

  RSS

gnbpodcast
(@gnbpodcast)
New Member
Joined: 3 months ago
Posts: 1
26/12/2019 12:19 am  

Hi! I do love the plugin, but it is not working with many cache plugins. I'm using wprocket right now and everytime i login through a social network i have to refresh the page once connected to be able to see my gravatar and post a comment. 

I would like to use wpdiscuz but exclude the plugin from my cache system. I saw a lot of topics about cache issues and i'm wondering if wpdiscuz will create other problems related to cache such as non-visible comments in real-time (i'll have to refresh everytime) etc. 

I know i have to exclude js-files, pages url etc from cache, but i would like to know which files to exclude and which pages url. Thanks a lot


Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3770
26/12/2019 11:53 am  

Hi @gnbpodcast,

You should exclude:

/wp-content/plugins/wpdiscuz/assets/wpdiscuz-social.js
/wp-content/plugins/wpdiscuz/assets/wpdiscuz.js

It'd be better if you exclude the whole js folder from the WP Rocket plugin settings. 

As far as I know the right way exclude URL is:

/wp-content/plugins/wpdiscuz/assets/(.*).js

But I'm not so sure. 

I've found the following article it should be helpful for you.

https://docs.wp-rocket.me/article/915-find-the-right-js-files-to-exclude-from-minification


ReplyQuote
Share: