skip to Main Content

My website is on shopify platform. Google test show following message

Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.

Enable compression for the following resources to reduce their transfer size by 1.6MiB (78% reduction).

Compressing https://sdk.azureedge.net/js/1.b… could save 1.6MiB (78% reduction).

How can I compress these files in shopify?

2

Answers


  1. You can speed up your Google Speed test by compressing your websites (.js) file

    Google itself provides its Closure Compiler for this purpose.

    refer Closure Compiler

    P.S. Take backup of your JS file before updating in your store js because its compressed code cannot be rolled back to its original state after being compiled.

    Login or Signup to reply.
  2. If you’re on Shopify, most likely those PageSpeed warnings are coming from 3rd party apps.

    In that case you can just reach out to them and ask if they will compress the file.

    If you don’t know which app it is, you can go to the domain name or try searching “what is [paste file path here]“.

    For Shopify specifically, you can get more details and a template from this post.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search