Comments (1)
I think you are missing the point of index. It is not a per object index; i.e. hey I loaded this object, let's stick it's "index" value in the hash. When you specify an index you say hey I'm interested in all values match x for field y and so cache-money performs that query and populates the cache with the results. It's the only way to guarantee that the cache is correct.
from cache-money.
Related Issues (18)
- TTL - not having an effect - memcache.yml HOT 2
- "Indices can be corrupted if you do not plan accordingly." HOT 1
- find_all_by_ids returns stale records HOT 9
- ready for rails3? HOT 5
- Cache keys doesnt match HOT 4
- Uncommitted data can be written to cache when mixing cached and non-cached models HOT 2
- cache-money:false in the config should only turn cache money off HOT 1
- Uncacheable for :all HOT 3
- key too long error HOT 1
- ruby 1.9 issue require path HOT 3
- delete, delete!, and delete_all will make the cache stale HOT 1
- Is there any reason why don't populate caches for missing values? HOT 3
- Any luck with Rails 3.2? HOT 2
- Known bug with find_from_ids_with_cache...? HOT 6
- undefined method `<=>' error HOT 6
- Uncacheable entries for very basic finds HOT 5
- undefined method `default_ttl' HOT 4
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 cache-money.