Js loaded thumbs and CDN
-
I have configured WPFC with StackPath, and as noticed my WooCommerce product lists have images loaded somehow with javascript (Porto theme). I tried to switch it off, but there is no option.
I have prepared some .htaccess rules (cdn.mysite.com):RewriteCond %{HTTP_HOST} !^cdn.mysite.com$ [NC] RewriteCond %{REQUEST_URI} ^/wp-content/uploads/(.*\.(jpg|webp|png))$
And it works nicely, but I don’t like it because actually it is a redirecting to source. Can’t find any other solution at the moment. Any ideas ?
Maybe I should dig into code hardcode those javascript methods…
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Js loaded thumbs and CDN’ is closed to new replies.