Giter Site home page Giter Site logo

Comments (4)

achambers avatar achambers commented on June 21, 2024

Hi @pedrokost.

The functionality that you are describing is quite intentional.

It is by design that <keyPrefix>:current points to the Revision Key and not the Redis Key.

This plugin will combine the keyPrefix property and the revisionKey property to determine the Redis Key. Therefore it doesn't make sense for the revisionKey property to either accept the keyPrefix or return a value containing it. The revisionKey is supposed to be the unique value that identifies the revision.

Hope this cleared things up a bit. I'm going to close this issue as there is nothing to be changed here.

If you have any other questions or need something clarified more, by all means ask them here, or reopen this if you need to.

from ember-cli-deploy-redis.

pedrokost avatar pedrokost commented on June 21, 2024

@achambers OK

Why wouldn't the revisionKey and the Redis Key be the same? Wouldn't this remove one possible source of confusion?

from ember-cli-deploy-redis.

achambers avatar achambers commented on June 21, 2024

@pedrokost What confusion is that?

from ember-cli-deploy-redis.

pedrokost avatar pedrokost commented on June 21, 2024

@achambers Nevermind. I only stumbled upon this because I was upgrading from ember-deploy-redis#0.0.7 to ember-cli-deploy-redis.

~~In the former prefixKey:current points to the actual HTML, but in the latter it points to a reference key. Instead the content is in prefixKey:current-content by default. ~~

I can work around this without changing the server side code by renaming activationSuffix to current-pointer and activeContentSuffix to current.

Edit: I wrote incorrectly. In ember-deploy-redis#0.0.7 prefixKey:current contained prefixKey:reference. The only way I can work around this difference seems to by changing the server code.

from ember-cli-deploy-redis.

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.