Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Amazon Coundfront with Dante Theme?
New Landing › How can we help? › Themeforest Theme Support › Dante › Amazon Coundfront with Dante Theme?
Tagged: Amazon, AWS, Cloudfront, Dante, Missing Icons, S3
- This topic has 33 replies, 6 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Dante
-
September 10, 2014 at 11:08 am #109037This reply has been marked as private.September 10, 2014 at 12:05 pm #109071
Now I’m only using W3 Total Cache because your team has suggested it. Before I was using WP Super Cache & that didn’t seem to work either. The CDN is now using a custom CNAME. Are the CSS & JS files not coming into the CDN?
I’m not sure if a couple of links are consider resolving the issue.
September 10, 2014 at 11:08 pm #109325Hi @wizastudios
We did advise it, but things such as caching/CDN etc aren’t standard scope of support as a lot of the time there are often issues with hosting/plugins which means it can take quite a bit of configuration – we simply wouldn’t have the time to be able to support this for everyone, which is why it’s outside the scope of support.
If you aren’t able to configure it yourself, then we would suggest hiring a freelancer to configure it for you.
– Ed
September 11, 2014 at 11:25 am #109521I have attempted to read and watch every video related to optimize the theme. There are even several posts on this support page related to the same issue.
For what it seems like, I’ll have to figure this out on my own. Thanks for the attempts.
September 11, 2014 at 11:48 am #109532No problem. We try to help as much as we can, Ed already explained above the reasons.
-RuiApril 3, 2015 at 1:15 pm #163009Hey Guys
I finally got my CDN configured with Cloudfront but now I have a new issue. I’m not sure how familiar you are with AWS but I’ve tried to search high and low for a solution.
Now it appears all the Dante Icons aren’t loading into the CDN & coming up broken. I can’t tell if this is from the CSS being Minified or not.
I currently have CSS Minify off.
Also I notice images shift to the right in the mobile version.
Attachments:
You must be logged in to view attached files.April 7, 2015 at 3:15 am #163297BUMP
April 8, 2015 at 12:55 pm #163754Hi,
The homepage looks fine to me, probably cache on your machine.
https://www.dropbox.com/s/tbyofbjli31zhoq/homepage_fine.png?dl=0Regarding the image size, Add the code below to your custom css
.page-id-77 .spb_parallax_asset.parallax-stellar { margin-left: -20px!important; }
-Rui
April 8, 2015 at 2:05 pm #163784I’m in NYC so by the time you saw this I may have disabled the CDN features. It does appear W3TC and Cloudfront aren’t calling in the icons. The images I sent were what I saw with everything active.
I’ve tried to disable the minify features but what I wish to do is optimize the site for Google’s Page Speed standards. According to Page Speed I have a 34/100 on mobile and 50/100 desktop.
April 8, 2015 at 3:24 pm #163802I still can see the icons. Is it the cdn enabled? If not enable it so I can try.
-Rui
April 8, 2015 at 3:55 pm #163810give it a try now
Attachments:
You must be logged in to view attached files.April 8, 2015 at 3:59 pm #163813This reply has been marked as private.April 8, 2015 at 4:15 pm #163821Now I can see it. It’s trowing an “Access-Control-Allow-Origin” error.
This only happens in Chrome, for security they don’t allow to load resources from a different url of the site.To fix this it’s necessary to change the htaccess file to allow some file extensions to cross from one domain to another
Check the article bellow it has the necessary code to place in htaccess.
-Rui
April 8, 2015 at 8:35 pm #163871does the same thing happen to Firefox? Also will I need a domain URL in the htaccess file to allow it to come through?
April 8, 2015 at 8:52 pm #163872You are right, it’s also happening in Firefox they have the same security restrictions
If your server is Apache add the code below, you don’t need to specify the domain just the file extensions
<FilesMatch ".(eot|ttf|otf|woff)"> Header set Access-Control-Allow-Origin "*" </FilesMatch>
-Rui
-
Posted in: Dante
You must be logged in to reply to this topic.