WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: W3 Total Cache] CDN - Cloudfront Minified CSS and JS Files Not Found (3 posts)

  1. DigiDrift
    Member
    Posted 3 years ago #

    If anyone could please help me I would appreciate it. (also a big thanks to Fredrick for creating this plugin). I have been using W3 Total Cache solely for caching and minify of JS and CSS files seved loacaly from my host without any issues.

    Last night I set up an Amazon Cloudfront account with my S3 Bucket and started serving files as CDN via this method. Everything works fine in relation to Media files from my posts, but when it comes to the minifed .js files I have problems.

    It appears that the HTML served up from W3 Total Cache is including .js files that don't exist on Cloudfront. I have checked this in the HTML for my page and then cross referenced files uploaded to Cloudfront and the extension doesn't line up.

    When I re-try the whole process I can get differnt results. Sometimes the .js and css files in the HTML for the page are not shown as being referenced from Cloudfront and are served locally. I can't seem to work out what is wrong.

    I also have allot of 'Object Already Exists' in the 'Unsuccessful File Transfers', which I keep deleting, but they just keep on coming back again.

    I am no expert in this field as you can tell, but I can fumble my way through most setup such as this.

    From my view it appears to be some kind of bug, but I am not sure. Any help would be appreciated.

  2. DigiDrift
    Member
    Posted 3 years ago #

    I have just noticed that it's only the minified files served from the footer that is specific to single page posts. The css and js minified files for all page types are being served from Cloudfront.

    Any help would be appreciated.

  3. Frederick Townes
    Member
    Posted 3 years ago #

    Odd, can you submit a bug submission from the support tab of the plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic