Giter Club home page Giter Club logo

Comments (4)

GuilhemN avatar GuilhemN commented on August 28, 2024

Not sure this is a good idea from a performance point of view...

from recent-projects.

bennypowers avatar bennypowers commented on August 28, 2024

Maybe have it default to icon while loading screenshot asynchronously

On Sun, Dec 6, 2015, 12:18 PM Ener-Getick [email protected] wrote:

Not sure this is a good idea from a performance point of view...


Reply to this email directly or view it on GitHub
#40 (comment)
.

Benny Powers
Licensed Israel Tour Guide

In Israel 054-482-5726
In Canada 705-300-0072
In the USA 601-255-3532

bennypowers.com

from recent-projects.

GuilhemN avatar GuilhemN commented on August 28, 2024

What do you think @Exter-N?

from recent-projects.

Exter-N avatar Exter-N commented on August 28, 2024

What do I think ?

  • It would require an API key for the webservice : should one be generated and bundled with the package (might hit rate limits, might be against ToS) or should each user generate his own (initial configuration might be complicated) ?
  • From a performance PoV :
    • Loading the screenshot must be done asynchronously (as the package's primary goal is to allow the user to open their project quickly, synchronously loading a remote resource which, additionally, is computationally expensive to generate would render the package quite useless) but it would make the tile ugly (and the screenshot may not be loaded in time, because, see above) ;
    • The screenshots should be cached to limit the impact of the "screenshot not loaded in time" problem, but it would create another one, namely : how long the cached screenshot should be retained ? On the beginning of a project, the front page may change quite often, but it might only seldom change after a couple months ;
  • Not every server hosts one and only one website : for example I have many sites on one of my HTTP virtual machines, just one on at least two of my other HTTP VMs, but none on my Minecraft one and on my HTTP reverse proxy one ;
  • Even if a server hosts one and only one website, automatically getting its HTTP(S) address is a hard (when feasible) problem : there are lots of different HTTP server packages and libraries, and the FTP(S)/SFTP address may be an internal address, different from the public one (the server might be behind a firewall or reverse proxy).

from recent-projects.

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.