• I’ve recently started using the CDN portion of the plugin to offload static files to DigitalOcean Spaces, which works (mostly) under the S3 compatible settings.

    Also had minify setup for CSS and JavaScript files and GZip enabled.

    The CSS and JS vesions of the minifications are uploading to the CDN correctly. But the .gzip files are not. And it’s those missing gzip files that are being linked to with gzip enabled. With gzip turned off it’s correctly linking to the .js and .css minified files on the CDN and the site works like it should. With gzip on it’s linking to the .js.gzip and .css.gzip files that didn’t get uploaded so the site has no styling or scripts.

    Feels like I’m probably just missing a setting somewhere, but I’m at a loss where to look.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    CDN handles gzipping itself. Therefore, those _gzip files are not sent there.

    Thread Starter Ryan

    (@ryannutt)

    Ok, that makes sense. But then why are the links to the minified assets pointing to the .js.gzip and .css.gzip versions of the file instead of the .js and .css files that are uploading?

    And follow up… is there a way to specify the meta data for files that are uploaded to S3 compatible CDNs? I can manually set the files to gzip, and can recursively do it with s3cmd. But it seems that it would be better if they were uploaded that way. Same thing with default cache control headers.

    • This reply was modified 5 years, 8 months ago by Ryan.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    W3 Total Cache doesn’t generate .js.gzip files. Potentially some other plugin generate those? If so – you can try to add them as custom files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘gzip minified files not uploading to CDN’ is closed to new replies.