Tag Archives: Optimisation

Implications of the Amazon CloudFront default root object

Amazon recently announced that their CloudFront service now supports serving of an arbitrary object at the root URL of a CloudFront domain. This means that Amazon S3 users can now host entire static sites using only S3 and CloudFront.

Posted in AWS, Ruby | Tagged , , , , | 2 Comments

Optimising specs for ActiveRecord scopes and other database-dependent functionality

After recently switching to a lower-performance laptop for my regular development tasks, I decided to spend a bit of time cleaning up some long-running rspec examples. I found that some misunderstanding of rspec’s features had led me to write highly … Continue reading

Posted in Ruby | Tagged , , , | Leave a comment