Caching support out of the box!

23 views
Skip to first unread message

nick.go...@gmail.com

unread,
Oct 20, 2014, 8:57:23 PM10/20/14
to praxis-...@googlegroups.com
hello
Digging in - trying to figure out certain things - Specifically changing support - like in rails or garner for grape.

Thank you!

nick.go...@gmail.com

unread,
Oct 20, 2014, 10:16:45 PM10/20/14
to praxis-...@googlegroups.com, nick.go...@gmail.com

Sorry was typing from the phone. changing - was supposed to be caching support. I didn't see anything in the docs, and I saw etag support has been suggested as plugin, but is there any other caching support? Thanks

Stephen Crosby

unread,
Oct 20, 2014, 10:27:23 PM10/20/14
to praxis-...@googlegroups.com
Praxis has no specific support for caching. But you can certainly use etags, last-modifieds and all the other cache-related headers allowed by HTTP. I'm not sure what you're looking for exactly, but you may find some helpful resources in the world of rack middlewares since praxis does use rack.


--
You received this message because you are subscribed to the Google Groups "praxis-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to praxis-suppor...@googlegroups.com.
To post to this group, send email to praxis-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/praxis-support/171b79a4-f6bc-4711-8056-afb695f85484%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nick Gorbikoff

unread,
Oct 20, 2014, 10:59:44 PM10/20/14
to Stephen Crosby, praxis-...@googlegroups.com
Thanks for the response Stephen!

What I mean is something along the lines of garner gem for grape

Sent from my iPhone
You received this message because you are subscribed to a topic in the Google Groups "praxis-support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/praxis-support/GwU3LRSjIm8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to praxis-suppor...@googlegroups.com.

To post to this group, send email to praxis-...@googlegroups.com.

Josep Blanquer

unread,
Oct 23, 2014, 1:51:59 PM10/23/14
to Nick Gorbikoff, Stephen Crosby, praxis-...@googlegroups.com
Nick,

 I must admit that I hadn't heard of garner until now. So I don't really know much about how it does things.
I guess without knowing specifics I cannot really say how easy or difficult it would be to use, but let me say that we're about to start working on some initial plugin architecture that would certainly make any integrations easier.

 Cheers,

Josep M.

Nick Gorbikoff

unread,
Oct 23, 2014, 2:49:33 PM10/23/14
to praxis-...@googlegroups.com, nick.go...@gmail.com, ste...@rightscale.com
Sounds good. Right now it's not that big of an issue, just something I was thinking about. 

Right now since I switched to Praxis vs my Rails 3.2 -based exposed api , my requests are about 5-40 times down to 30 - 150 ms on some from 150 - 1200ms they used to take ( well in dev, in quick prod test, I still saw some gains between 2-5 times faster without any caching on the praxis side, except mysql but that's the same for both setups) . Not a comprehensive test, but at least something. 
Reply all
Reply to author
Forward
0 new messages