Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Parameter - Caching #38

Open
4F2E4A2E opened this issue Feb 1, 2016 · 4 comments
Open

Session Parameter - Caching #38

4F2E4A2E opened this issue Feb 1, 2016 · 4 comments

Comments

@4F2E4A2E
Copy link

4F2E4A2E commented Feb 1, 2016

Hello there!

How can one of the Session Parameters be set? We are interested in the CACHE_TTL_OBJECTS property and COMPRESSION.

Just passing it along with the user and password seems not to do the trick.

Any hint would help us alot, thanks in advance!

@paulcpk
Copy link

paulcpk commented Feb 1, 2016

+1

@agea
Copy link
Owner

agea commented Feb 1, 2016

These parameters are available in OpenCmis, AFAIK they are not part of the CMIS specification.

The library does not provide any caching mechanism. So the parameter would be useless. I would be nice to have such functionalities, but at the moment it's out of scope

About HTTP compression, it's something that superagent should provide if you run in node.js, otherwise it's something controlled by the browser

@4F2E4A2E
Copy link
Author

4F2E4A2E commented Feb 1, 2016

It would be great to have such mechanism, we are filtering every property already. We've checked that with superagent but it is still very slow.

Thank you a lot for your answer and guidance.

Cheers

Am 01.02.2016 um 17:24 schrieb Andrea Agili [email protected]:

These parameters are available in OpenCmis, AFAIK they are not part of the CMIS specification.

The library does not provide any caching mechanism. So the parameter would be useless. I would be nice to have such functionalities, but at the moment it's out of scope

About HTTP compression, it's something that superagent should provide if you run in node.js, otherwise it's something controlled by the browser


Reply to this email directly or view it on GitHub.

@4F2E4A2E 4F2E4A2E changed the title SessionParameter Session Parameter - Caching Feb 2, 2016
@paulcpk
Copy link

paulcpk commented Feb 2, 2016

I was able to achieve a great caching solution using this https://www.npmjs.com/package/apicache
It's very easy to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants