Code Monkey home page Code Monkey logo

Comments (3)

marten-seemann avatar marten-seemann commented on July 22, 2024 1

treat .qlog.zip, .qlog.gz and .qlog.br as normal .qlog in both qvis and qvis-server

Don’t you have to gunzip it first?

from qvis.

rmarx avatar rmarx commented on July 22, 2024 1

I'm hoping that I can download them at the server and then just set the correct content_encoding when sending it back to the frontend, allowing the browser to do the decompression... hoping being the keyword there ;)

from qvis.

rmarx avatar rmarx commented on July 22, 2024

Update:
1: This cannot be done directly in the browser. So now we just look for an error. If we get that, we try again via the server (if it was a genuine 4xx the first time we wasted another request, but too bad)

2 - 4: 29d3aaa, bab59db and quiclog/qvis-server@3759662. Our hope was valid: qvis-server can just proxy the files and set the correct Content-Encoding and it works (or at least it seems to ;))

As a side-effect, we now also try to fetch files inside the browser first. If CORS is setup properly, no more backend interaction is necessary!

5: TODO

Some testfiles one can use:

from qvis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.