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

    (@vmarko)

    Hello @technichdml

    Thank you for reaching out and I am happy to assist you with this.
    There is a chance that the gzip compression is enabled in the AWS console, and it’s compressing the files there once uploaded.
    Can you please make sure that the AWS Compress objects automatically setting is set to Yes and if so, please set it to No.
    Check more info at this link.

    I hope this helps!

    Thanks!

    Thread Starter technichdml

    (@technichdml)

    Hi @vmarko

    In Cloudfront > Distributions > Behaviors
    – i set compress objects automatically to no (was yes before)
    – Reactivated CDN cache.
    – Restarted NGINX
    – Purged all caches

    Unfortunately the same problem:

    When i enable CDN cache in the plugin it tries to load “main.js.gzip” and fails”:
    https://snipboard.io/FHocyg.jpg

    When not enabled it loads “main.js””:
    https://snipboard.io/BQMXxa.jpg`

    Any more ideas how to debug?
    Thanks a lot!

    Thread Starter technichdml

    (@technichdml)

    Update: I got it working after looking into the code of the plugin.

    Seems like i missed the part that the files are loaded from CDN no matter if i uploaded them or not.
    So it was just adding all those files into “Custom file list:”
    Also looks like they have to be upload after compression was activated to have the compressed once as well. I did it before.

    Thanks for your help!

    • This reply was modified 2 years, 11 months ago by technichdml.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @technichdml

    Thank you for the information.
    I am glad the issue is resolved and thank you for providing the information
    Thanks!

    Thread Starter technichdml

    (@technichdml)

    Hi @vmarko

    im not sure if understood your latest reply / function.

    which basicaly mean that the CDN is tryin go load different file which does not exist on the server.

    The files are stored in CDN without URL Parameter of course.
    So should not be a problem?
    Or is the CDN somehow pulling files?

    Is there anywhere a comprehensive documentation about all thoose gerat features in the plugin?
    It’s kind of tricky even with a lot of IT knowledge.
    For example i have questions like what happens i memcached server is not reachable anyore and more ??

    Thank you a lot!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @technichdml

    Please disregard the previous and edited post since it was posted once just before you provided the solution.
    You can check the documentation here for W3 Total Cache features and settings.
    As for your Memcached question, this of course is not documented, and if the Memcached server is not reachable, you will get the notification in W3 Total Cache to check the status, and if one of the Caching features is using Memcached, it will simply stop working (If the caching method for page cache is Memcached, the Page cache will not work if the problem occurs.)

    I hope this helps!

    Thanks!

    Thread Starter technichdml

    (@technichdml)

    Hi @vmarko okay.

    If i understood correctly the cache will not work but the site still being delivered.
    You can close the thread. Thank you a lot!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘AWS Cloudfront / S3 missing files / .gzip postfix?’ is closed to new replies.