Coder Social home page Coder Social logo

Same source for photo and thumb about nimbus HOT 4 CLOSED

jverkoey avatar jverkoey commented on August 19, 2024
Same source for photo and thumb

from nimbus.

Comments (4)

jverkoey avatar jverkoey commented on August 19, 2024

That's entirely up to your implementation of the data sources. Nimbus is completely oblivious to where you get the image data by design.

The photos example project uses ASIHTTPRequest as the network backend for fetching photos and Nimbus' in-memory image cache for storing images in memory. Both of these features cache their images based on the image URL so they should be smart enough to avoid requesting the image twice if it's already cached.

That being said, it's possible that if you make two requests for the same image in quick succession that two requests will be fired off. I'm not sure if ASIHTTPRequest supports request piggy-backing or not, but this might be something to look into.

from nimbus.

jverkoey avatar jverkoey commented on August 19, 2024

Also, please consider using the Nimbus Google Group to ask questions like this:

http://groups.google.com/group/nimbusios

from nimbus.

sindresorhus avatar sindresorhus commented on August 19, 2024

Ok, good to know.

Sorry, didn't see Nimbus had a Google Group, will post there next time ;)

from nimbus.

jverkoey avatar jverkoey commented on August 19, 2024

No problem :) We just started the group fairly recently so it's understandable that people haven't found it yet.

from nimbus.

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.