Not working with Wp...
 
Notifications
Clear all

Not working with Wp rocket / Cache issues

2 Posts
2 Users
0 Reactions
2,191 Views
(@gnbpodcast)
New Member
Joined: 5 years ago
Posts: 1
Topic starter  

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
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6152
 

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:
Scroll to top