Comments (5)
The Stormpath SDK has caching built in at the foundation for all resources for exactly this reason :) I suspect it is just a matter of enabling it when configuring.
@rdegges do you have an example of how to do this for Express?
from express-stormpath.
Yoooooo.
I've been looking into this. Here's what's happening:
- By default, the Stormpath client uses an in-memory cache, so subsequent calls to get resources will come out of memory. I believe that Express isn't re-using the client object possible, which might be causing issues with the in-memory cache.
- I am working on a new branch currently which allows you to specify cache options in
stormpath.init
, this will let you choose how you want to do caching (memory, redis, memcached, etc.). - The new branch will get released today, and this should allow you to configure a proper cache backend to avoid this sorta stuff =)
from express-stormpath.
Just deployed a new release (0.1.5) which has cache support built-in now. The docs are going to be pushed soon.
=)
from express-stormpath.
Just got a chance to pull the latest update, and it works great "out of the box", thanks!
from express-stormpath.
Awesome! Glad it's working for ya. The new caching options should also make it easy to add in redis / memcached support as well!
from express-stormpath.
Related Issues (20)
- Okta Migration HOT 4
- type Array in SDK to supprt custom data in Okta HOT 4
- Local oauth/token not working in RC3 HOT 1
- 400 error with okta-test-data.js HOT 1
- Cannot read property "access_token" of undefined HOT 3
- stormpathApplication.getAccounts() HOT 2
- Okta Group Expansion HOT 3
- Okta rc4- password reset of super admin
- Changing a user's password doesn't work HOT 5
- Okta expand apiKeys HOT 1
- groupsRequired Middleware iterator not firing HOT 3
- changePassword autoLogin: true doesn't work
- Optionally include offline_access scope HOT 1
- User creation could use some TLC
- Updating data in Okta portal is overwritten if user is logged in
- Cannot change password through custom page
- user email verfication
- No reset email was received except Super Admin User HOT 3
- Okta TLS 1.2
- Game Over?
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 express-stormpath.