Cloudfront

2012-04-04 Thread railsnerd
Hi there My site has a lot of static pages, and I'm hoping I can use Cloudfront to host them and stop requests hitting Heroku. (Yes I know there are other possibilities like memcached and varnish) Does anyone know of a good guide in setting this up? It's not very clear to me. thanks -- You

does varnish care about query strings?

2011-04-24 Thread railsnerd
Hi have to URLs which are identical except for a differing query string I was expecting them to be cached differently but they are not :( Is this because varnish ignores query strings? . or do I have a bug in my app? thanks :) -- You received this message because you are subscribed to

Re: Mobile strategy

2011-03-18 Thread railsnerd
You are doing this in the backend? Some people are checking the user agent in the front end... but that seems too late (if u can help it) What are your differences in what is delivered? Do you have different markup and content for mobile? If so I guess caching your URIs might be difficult if

Re: Mobile strategy

2011-03-18 Thread railsnerd
Yes, I was about to say all these techniques (other than the css media queries) require a hit to the backend. Ideally there would be detection on the edge/cloud, so varnish cache can kick in where possible without hitting a rails stack or sinatra. Still, good ideas in this thread. -- You

Re: Mobile strategy

2011-03-18 Thread railsnerd
Some Content Delivery Networks offer device detection and ESI based on this. This is the ideal solution, but too far outside of the Heroku sandbox - maybe? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to

Appoxy SimpleWorker

2011-02-28 Thread railsnerd
This has appeared on the Add-Ons page But a google search reveals nothing Anyone know who provides this service? Would be good to know more details. I'm looking for a cost effecting way to manage image resizing, and this could be ideal. -- You received this message because you are subscribed

Re: Appoxy SimpleWorker

2011-02-28 Thread railsnerd
Ah thanks for that Not clear it is suitable for image manipulation... as that kind of task is quite beefy, requiring memory, grunt and awkward libraries like imagemagick -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email

Action Caching... force it to use Varnish not Memcache

2011-02-19 Thread railsnerd
Hi everyone Is there a way to force Action Caching to cache to Varnish and not use Memcache? Yes I fully realise this might cause (?) the next request to hit Varnish and not my app, which defeats the purpose of Action Caching and I should use Page Caching... but I have my reasons :) If there

Clearing a cached file in Varnish

2011-02-18 Thread railsnerd
Is this possible? Any hacks, atleast? Does the Lacquer gem work with Heroku? Thanks for any tips :) -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send

Can Redis2Go replace memcahe?

2011-01-07 Thread railsnerd
Hey The price difference for 100mb Redis or Memcache is only $5 I may have it wrong, but thought Redis provides very similar functionality, with extra useful functionality Why or when would someone chose Memcache over Redis? Redis is promoted as a way to store sessions, so I assume it is

HTML5 manifest caching on Heroku

2010-11-29 Thread railsnerd
Adam Wiggins kindly put up a cache manifest example: http://cachemanifest.heroku.com/clock.html I notice that this does work when I reload the page that is already open in iPhone Safari However if I load the clock url on a fresh safari page, the cache does not kick in. Is this a heroku issue?

Re: DDOS attack alleviation?

2010-09-30 Thread railsnerd
Just as an aside Does Varnishing as much content as you can protect you from DDOS? It would cover your app backend but is Varnished content on Heroku so heavily cached that it is impenitrable? I assume it must be, since a Reddit attack is as bad as DDOS, and Vanish is what people recommend

Image upload - manipulation - copy to S3

2010-09-27 Thread railsnerd
Hi First of all, I realise Heroku encourages us to upload directly to S3. However I'd like to manage that upload via Heroku first. Two questions: 1) With Heroku I understand your request can have some temporary space for file uploads. Can I rely on that space to exist for a few minutes while a

Heroku and large sites

2010-09-21 Thread railsnerd
This comment on Hacker News got me thinking: And with hilarious I mean really hilarious, as in the $3500 price point for a 50G memcached instance. For that money you can also buy a physical server with 64G RAM every month, fresh from the factory... --- http://news.ycombinator.com/item?id=1664914

Re: RMagick on bamboo-ree-1.8.7

2010-04-13 Thread railsnerd
Thanks Oren that worked Anyone interested can simply test by hitting the index on this controller class ThingsController ApplicationController require 'rubygems' require 'RMagick' def index img = Magick::Image.read(#{RAILS_ROOT}/public/images/ rails.png).first.scale(5).to_blob

Re: Exclude certain gems from installing on Heroku

2010-04-13 Thread railsnerd
RUBY_PLATFORM works for me, fyi -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit

RMagick on bamboo-ree-1.8.7

2010-04-11 Thread railsnerd
Hi there RMagick does not seem to be installed on bamboo-ree-1.8.7 If I do require 'RMagick' at the console it is not found. Are there plans to install it? I tried including it in my Gemfile but it gives the error Can't install RMagick 2.13.1. You must have ImageMagick 6.4.9 or later.

bestbuyideax.com - ran on 8 dynamos?

2009-11-25 Thread railsnerd
Saw this on heroku's twitter: http://bestbuyideax.com is now blazing along on 8 dynos at @heroku. Really? Seems to me that site has the same level of dynamic content as a quiet discussion forum. (a few topics a day, a few replies a day, a few i like this actions). Correct me if I'm wrong.