Giter Club home page Giter Club logo

Comments (9)

Gaurav0 avatar Gaurav0 commented on July 20, 2024 1

Update: Yes there is! You can create a filter on the server that is nothing more than a JS function and refer to it on the client.

https://pouchdb.com/2015/04/05/filtered-replication.html

from ember-api-docs.

acorncom avatar acorncom commented on July 20, 2024 1

In the US, with bandwidth relatively cheap, having this download in the background doesn't seem too problematic. But overseas where folks pay for data far more, I can see this being a real unpleasant surprise (especially for folks who are just starting to learn Ember) ...

from ember-api-docs.

Gaurav0 avatar Gaurav0 commented on July 20, 2024

This is what is supposed to make it browsable offline. Should we disable?

from ember-api-docs.

sivakumar-kailasam avatar sivakumar-kailasam commented on July 20, 2024

IMHO, I'd sync one version of Ember & data docs and keep overriding it with the version the user visited recently.

from ember-api-docs.

Gaurav0 avatar Gaurav0 commented on July 20, 2024

I don't think there is an efficient way to partially replicate a CouchDb database. Is there?

from ember-api-docs.

toddjordan avatar toddjordan commented on July 20, 2024

seems like we'd want our existing behavior when running offline, and do lazy loading when browsing online. I guess one way we could differentiate this is by a url query param...

from ember-api-docs.

MartinMalinda avatar MartinMalinda commented on July 20, 2024

I don't think this feature should be enabled by default.
Maybe there could be a checkbox or two whether to download and keep in sync all versions or just latest version of API docs.
And if the syncing is in process, there could be a progress bar and also a confirmation modal on windowClose event.

from ember-api-docs.

fivetanley avatar fivetanley commented on July 20, 2024

Also, I think if we turn off replication, we can at least load pages we've seen before, and other stuff will stay cached.

from ember-api-docs.

acorncom avatar acorncom commented on July 20, 2024

As mentioned in #132, we're aiming to shift away from CouchDB to simplify the deploy aspect of this app. Will close this issue for now.

from ember-api-docs.

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.