Comments (4)
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.
@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.
@pedrokost What confusion is that?
from ember-cli-deploy-redis.
@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)
- Simple redis url does not work HOT 2
- Prember / Multiple File Support HOT 2
- Value already exists for key: app-name:index:default HOT 16
- How to use with sentinel? HOT 2
- Swap out then-redis for another redis lib HOT 11
- improve logging for fetchRevisions HOT 3
- Should an exception be thrown for duplicate redis keys? HOT 5
- Upload multiple files HOT 5
- Connecting manually via redis-cli works but ember-cli-deploy-redis gets a "connect ETIMEDOUT" error HOT 12
- TypeError: this.readConfig is not a function HOT 5
- this.readConfig is not a function HOT 3
- How do we set the expire for each key? HOT 2
- then-redis yarn warning HOT 4
- didDeploy hook to publish changes HOT 1
- Error in 1.0.1: this._listRevisions(...).then is not a function HOT 1
- Sample nginx conf HOT 1
- Difficult Error When URL Missing "redis://" HOT 1
- possible to upload multiple files? HOT 2
- then-redis is no longer maintained HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-deploy-redis.