Jump to content
Sign in to follow this  
john_kaufman

Trouble with W3TC cache and Amazon CloudFront CDN

Recommended Posts

john_kaufman

Looking for help -- I am trying to get W3TC running with Amazon CDN using 1.32 Platform Pro. I only modify the platformbase base.css for customization (not through the pagelines interface) and I'm in full width w/ canvas mode. The issue is that once I turn on CDN, it's as if my base.css is being ignored. Colors, fonts, etc. go missing. I've toggled minify, browser caching, etc. re-uploading my content and clearing the cache each time - still no luck. I double check my CloudFront storage each upload, the files exist on Amazon and Firebug shows the CNAMES, FQDN and file paths are set properly?? Anyone have similar issues or guidance? Thanks in advance - john_kaufman

Share this post


Link to post
Share on other sites
bryan-hadaway

I don't have specific experience with those products. You might try setting your CSS in Custom CSS and then have it set to propagate inline to override caching issues. Otherwise, however you're minifying you could/should exclude base.css from minification. Thanks, Bryan

Share this post


Link to post
Share on other sites
Andrew

You can fix this issue by adding your styles in the child theme to style.css (of the child) instead of base.css.

Share this post


Link to post
Share on other sites
john_kaufman

Thanks guys. Bryan I didn't reply back in a timely fashion, but excluding the base.css DID work. Andrew I'll give that a try. Adopting the Amazon CloudFront has sped up my sites significantly, but I know there's still some more performance to squeeze out W3TC. Still having a little trouble Minifying carousel.js, but hey -- one step at a time! :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×