GithubHelp home page GithubHelp logo

Comments (6)

buschtoens avatar buschtoens commented on June 12, 2024

Thanks for letting us know! I'll add a note to the docs.

Did your directory strucutre look like (a) or (b) ?

// (a)
public/fonts
|- Helvetica
|  |- a.svg        (1 kb)
|  |- b.svg        (1 kb)
|  |- c.svg        (1 kb)
|  ...
|- Comic Sans
|  |- a.svg        (1 kb)
|  |- b.svg        (1 kb)
|  |- c.svg        (1 kb)
|  |-  ...
|- ...


// (b)
public/fonts
|- Helvetica.svg   (500 kb)
|- Comic Sans.svg  (500 kb)
|-  ...

How many fonts do you have in there? How big are the individual files?

Maybe I can configure this plugin to show ember-inline-svg instead of Flatiron.

from ember-inline-svg.

jgwhite avatar jgwhite commented on June 12, 2024

@buschtoens more like (b). 4 files around 400–500K apiece.

from ember-inline-svg.

buschtoens avatar buschtoens commented on June 12, 2024

Thanks! :)

I assume you have the optimization enabled. Just for kicks, does optimize: false speed up the build?

from ember-inline-svg.

jgwhite avatar jgwhite commented on June 12, 2024

optimize: false completely removes the delay πŸ˜„

Is caching on the roadmap? It seems like we pay the optimization price even if an unrelated part of the app tree changes.

from ember-inline-svg.

buschtoens avatar buschtoens commented on June 12, 2024

Yeah, I was afraid of that happening. :D

In theory we already cache unchanged resources. I will definitely look into this problem.
For now, I'll add a troubleshooting guide to the docs and track the caching in a new issue. :)

from ember-inline-svg.

jgwhite avatar jgwhite commented on June 12, 2024

Awesome. Thanks!

from ember-inline-svg.

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.