AI Assistant
Not working with Wp...
 
Notifications
Clear all

Not working with Wp rocket / Cache issues

2 Posts
2 Users
0 Reactions
3,241 Views
(@gnbpodcast)
New Member
Joined: 6 years ago
Posts: 1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#4890]

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: 8 years ago
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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