settings on each server may be different and our settings may not work with your server becauase everything depends on server configuration. If you want, we can send you configuration file for W3Total Cache but probably it won't work as good as on our site.
@Muffins: can you provide screenshots/pdf with your settings for your server, so that we be-users can "click & try" each option in w3-total cache settings for our servers?
Seems so that there's a lot of interest in this topic in this forum..
This is very simple. Create another WP instance (in sub-folder or as sub-domain) just for tests. On this new instance install W3 Total Cache plugin and import our config file. It's easy, will take you few minutes and you will be able to test other things in the future as well
What do you do if the icons on RevSlider stop working due to cross-origin resource sharing policy after installing w3 total cache plugin?
Failed to load resource: the server responded with a status of 404 (OK)
www.tantravape.com/:1 Font from origin 'https://ajax.googleapis.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.tantravape.com' is therefore not allowed access. The response had HTTP status code 404.
www.tantravape.com/:1 Font from origin 'https://ajax.googleapis.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.tantravape.com' is therefore not allowed access. The response had HTTP status code 404.
<IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule>
or
<FilesMatch ".(eot|ttf|otf|woff)"> Header set Access-Control-Allow-Origin "*" </FilesMatch>
Added to the .htaccess file has been known to fix the issue. However, in my case it is not doing the job... I can see where W3 Total Cache has rewritten the rules in my .htaccess files with a very long and complicated set of definitions, but I do not know what will break and what will not if I change it or if it is currently conflicting with what I need it to do.
Header set Pragma "public" and Header append Cache-Control "public" are currently added by W3 Total Cache in the .htaccess file. So I believe that these are conflicting with the other rules that I added at the bottom of the file.
No matter what option I chose when I tried to get the error to go away, the only thing that fixed it was to disable w3 total cache and the icons started to work again. This plugin always causes so many unforseen issues although it dramatically helps my google page speed. I may just disable the navigation so the error goes away...
But CORS, can be fixed on server side. If you will check the url we sent you above, you have few solutions of how to solve issue related with this library.
Comments
settings on each server may be different and our settings may not work with your server becauase everything depends on server configuration. If you want, we can send you configuration file for W3Total Cache but probably it won't work as good as on our site.
I use your theme on my own VPS Server. I can config cache on my own
Header set Access-Control-Allow-Origin "*"
</IfModule>
Header set Access-Control-Allow-Origin "*"
</FilesMatch>