Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Problem with wasm.br files

Discussion in 'WebGL' started by Steven_Damian, Mar 13, 2021.

  1. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    275
    What is the current Content-Type value for .wasm.gz?
     
  2. Steven_Damian

    Steven_Damian

    Joined:
    Mar 1, 2021
    Posts:
    65
    upload_2021-3-14_16-35-58.png
     
  3. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    275
    try it

    <Files *.wasm.gz>
    AddType "application/wasm" .gz
    AddEncoding gz
    </Files>
     
  4. Steven_Damian

    Steven_Damian

    Joined:
    Mar 1, 2021
    Posts:
    65


    upload_2021-3-15_0-20-12.png
     
  5. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    275
    RemoveType .gz
    AddEncoding gzip .gz
    RemoveType .br
    AddEncoding br .br
    AddType application/wasm .wasm

    I tried this settings is work. Both Chrome and Firefox, and Both GZip and Brotli.
     
  6. Steven_Damian

    Steven_Damian

    Joined:
    Mar 1, 2021
    Posts:
    65
    Like this?

    upload_2021-3-15_13-54-54.png
    upload_2021-3-15_13-55-35.png
     

    Attached Files:

  7. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    275
    <FIles ~></Files> not required.

    httpd.conf only
     

    Attached Files:

    Steven_Damian likes this.
  8. Steven_Damian

    Steven_Damian

    Joined:
    Mar 1, 2021
    Posts:
    65
    This is my httpd.conf file. What is wrong with it? https://www.instahome360.com/httpd.conf
     
  9. Steven_Damian

    Steven_Damian

    Joined:
    Mar 1, 2021
    Posts:
    65
    Fixed! You are amazing man! Thank you so much! I really appreciate that.
     
    De-Panther likes this.
  10. amehin

    amehin

    Joined:
    Apr 12, 2022
    Posts:
    1
    hi all, i have tried what u did but none works for me can u pls help upload_2022-4-12_18-14-25.png