Wordpress LScache Plugin: CORS error with cloudflare + quic.cloud
Last Updated on: Wed, 15 Apr 2026 00:00:02 hello i setup cloudflare to serve static cache from cdn.freshuk.co.il and dynamic cache from quic.cloud cloudflare settings: https://snipboard.io/U9lkSn.jpg but i get those errors in browser: GET https://cdn.freshuk.co.il/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff?5.11.0 net::ERR_FAILED 08:42:50.811 (index):1 Access to font at https://cdn.freshuk.co.il/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?5.11.0’ from origin https://freshuk.co.il’ has been blocked by CORS policy: No Access-Control-Allow-Origin header is present on the requested resource. i setup cdn mapping as per your guide thank you ! Hi, please provide the report number , you can get it in toolbox -> report -> click send to LiteSpeed Best regards, KVVTDBWL thank you please contact your provider for why CORS header didnt pass through i talked to my hosting provider before, they said its missconfigured plugin setup also everything seems to work fine if i go to http://www.freshuk.co.il but if i go to cdn.freshuk.co.il or http://www.freshuk.co.il only the fonts will not load properly Hi, In your htaccess, you have Header set Access-Control-Allow-Origin this directive will create CORS header [root@test1 ]# curl -I -XGET https://www.freshuk.co.il/wp-content/plugins/woocommerce-advanced-products-labels/css/frontend.css --resolve www.freshuk.co.il:443:80.___.___.113 HTTP/1.1 200 OK Server: nginx Date: Thu, 11 Mar 2021 17:47:44 GMT Content-Type: text/css Content-Length: 11455 Last-Modified: Tue, 23 Feb 2021 12:30:09 GMT Connection: keep-alive Vary: Accept-Encoding ETag: 6034f551-2cbf Expires: Fri, 12 Mar 2021 17:47:44 GMT Cache-Control: max-age=86400 Accept-Ranges: bytes and [root@test1 ]# curl -I -XGET https://cdn.freshuk.co.il/wp-content/plugins/woocommerce-advanced-products-labels/css/frontend.css --resolve cdn.freshuk.co.il:443:80.___.___.113 HTTP/1.1 200 OK Server: nginx Date: Thu, 11 Mar 2021 17:48:40 GMT Content-Type: text/css Content-Length: 11455 Last-Modified: Tue, 23 Feb 2021 12:30:09 GMT Connection: keep-alive Vary: Accept-Encoding Cache-Control: max-age=31557600 Expires: Fri, 11 Mar 2022 23:48:40 GMT ETag: 6034f551-2cbf Accept-Ranges: bytes your origin server seems running on nginx , you need to ask them to add that directives nginx equivalent to the system setting. i see i speaked few times with them today already and they seem not to do it for me for some reason (they blame my config) is there any other workaround for this issue? I dont know your system is weird I have seen LiteSpeed ADC and Apache from report , but actual curl gives me nginx which now makes me haywire that if Apache or Nginx is running on backend Header set Access-Control-Allow-Origin this directive works on Apache , but if your site is running on nginx , then you may need their attention for this matter. Best regards, this is a ngnix .. can it be related to cloudflare? because it never happened with their cdn no no no your origin is NOT sending the CORS header, thats the issue , this has nothign to do with CF
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference