Dress to Impress, a big fancy Neopets customization tool!
Find a file
Matchu 154bdd5d0d cache item-preview-species on items#show
items#show has been very slow recently, and I think it's because there's a lot
of querying to be done. Another option would have been to attempt to
short-circuit Item#supported_species if not body specific, but that would
still leave us with 1s load times for body specific items, which is not
satisfactory. The short-circuiting might still be worth doing, but probably
not now.

I'm also not sure that this is actually the core performance problem, but
we'll see. It definitely helped on the dev server: items#show took about
200ms on item pages where everything but species images were cached, then
took about 30ms on subsequent loads. Looking like a good candidate.
2013-06-21 19:30:41 -07:00
.sass-cache phew. rails 3.2.12, including some asset pipeline. still buggy. 2013-03-05 20:08:57 -06:00
app cache item-preview-species on items#show 2013-06-21 19:30:41 -07:00
autotest rspec:install 2010-05-14 18:17:10 -04:00
config oops: set flex config.hangers_enabled before the line that checks for its presence 2013-06-11 11:22:17 -07:00
db label pet states as glitched, send to bottom of emotion order 2013-04-27 10:21:51 -05:00
doc rails 3 2010-05-14 18:12:31 -04:00
lib fix NoMethodError when pet not found 2013-04-25 16:39:13 -05:00
public update favicon 2013-06-21 18:39:03 -07:00
script rails 3 2010-05-14 18:12:31 -04:00
spec report broken images 2011-08-07 18:23:44 -04:00
test core of pet loading, still needs get image hash, download assets 2010-10-07 10:46:23 -04:00
tmp utf-8 support in both ruby 1.9 and 1.8 2011-06-04 18:40:15 -04:00
vendor security update: rails 3.2.13 2013-03-18 13:25:49 -05:00
.gitignore ignore cap files, move auth config to yaml file 2010-11-13 10:37:57 -05:00
bundle rails 3.1 upgrade - still buggy 2013-03-05 15:10:25 -06:00
config.ru move async behavior to development_async environment 2010-10-11 18:28:39 -04:00
Gemfile security update: rails 3.2.13 2013-03-18 13:25:49 -05:00
Gemfile.lock fix null zone ID bug 2013-05-23 18:48:19 -07:00
isntall rails 3.1 upgrade - still buggy 2013-03-05 15:10:25 -06:00
LICENSE copy LICENSE from impress repo 2010-07-07 02:34:17 -04:00
Rakefile update Rakefile and tasks to match new version of rake 2013-01-02 23:40:37 -05:00
README replace standard rails readme :P 2010-07-07 02:31:47 -04:00

An extension of Dress to Impress (PHP) that runs on Ruby on Rails.
I wanted to use Rails initially for Impress, but hoped that using
PHP would allow me to attract more developers. Looks like that
wasn't the case, so I just went with what I loved and made the
items database in Rails.

Future Impress sections will likely find themselves in this
project, rather than the PHP project.