is already disabled
what do I do now?
Looks like you’re also using JS (& CSS) minification in W3 Total Cache; either disable minification there (using 2 plugins to do JS/ CSS optimization can break things unexpectedly) or at least make the same exclusion in W3TC’s configuration.
I disabled W3 Total Cache Minification and now this error appears
“Failed to fetch Error: URL to PDF file must be on the same domain as the current web page. Click here for more info”
Hi @cleitonbergo,
There is an error showing up in the browser’s console tab:
Access to fetch at 'https://xxx/wp-content/uploads/2019/08/Edital-gradua%C3%A7%C3%A3o-EAD-2019.pdf' from origin 'https://xxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
This is an entirely separate issue from the caching. Please see the following FAQ to fix the CORS permissions: https://wp-pdf.com/kb/hosting-pdfs-on-other-services-such-as-amazon-s3/