AWS Cloudfront / S3 missing files / .gzip postfix?
-
Hi,
we bought the premium version of this plugin for one of our websites and we struggle a little to setup AWS CDN with Cloudfront.
In generell it works: I created AWS S3 Bucket, Distribution, Subdomains, SSL certificate and so on.
Uploading files from within your plugin does work pretty good. Also a lot of files are distributed from AWS CDN as they should and are displayed at my site correctly.But a few files make problems: They are not uploaded to the bucket and ALSO do not exists on our webpage at all. But when i enable CDN my webpage tries to load that files. That makes the website not usable ATM.
e.q.:
My webpage tries to load https://cdn2.mydomain.com/wpcontent/themes/blocksy/static/bundle/main.js.gzip from CDN but that does not exists on our CDN / bucket.
Even on my webpage that “file wp-content/themes/blocksy/static/bundle/main.js.gzip” does not exists. Only “wp-content/themes/blocksy/static/bundle/main.js” do exist! Without .gzip postfix.
same for all other files below i found so far:# some of the missing CDN FILES
https://cdn2.mydomain.com/wp-content/plugins/mailpoet/assets/dist/js/public.a3850a6f.js.gzip
https://cdn2.mydomain.com/wp-content/themes/blocksy/static/bundle/main.js.gzip
https://cdn2.mydomain.com/wp-content/themes/blocksy/static/bundle/stackable.min.css.gzip
https://cdn3.mydomain.com/wp-content/themes/blocksy/static/bundle/flexy.min.css.gzip
https://cdn1.mydomain.com/wp-content/themes/blocksy/static/bundle/back-to-top.min.css.gzip
https://cdn3.mydomain.com/wp-content/themes/blocksy/static/bundle/main.min.css.gzip
https://cdn3.mydomain.com/wp-content/themes/blocksy/static/bundle/woocommerce.min.css.gzip
https://cdn1.mydomain.com/wp-content/themes/blocksy/style.css.gzip# “Custom file list” in CDN config is default setting
favicon.ico
{wp_content_dir}/gallery/*
{wp_content_dir}/uploads/avatars/*
{plugins_dir}/wordpress-seo/css/xml-sitemap.xsl
{plugins_dir}/wp-minify/min*
{plugins_dir}/*.js
{plugins_dir}/*.css
{plugins_dir}/*.gif
{plugins_dir}/*.jpg
{plugins_dir}/*.pngWhat am i doing wrong?
Can you please guide me into the correct direction?Thank you a lot!!!
- The topic ‘AWS Cloudfront / S3 missing files / .gzip postfix?’ is closed to new replies.