1
0
Fork 0
forked from OpenNeo/impress
Dress to Impress, a big fancy Neopets customization tool!
Find a file
Matchu 816584f177 Move item_link partial caching to a helper rather than the template itself
This is a surprisingly huge performance gain. On my testing (with
cache_classes set to true to also cache templates), this sped up
closet_hangers#index rendering by a factor of 2 when there were a
significant number of items. Cool beans.

I think we can even hold off on the individual hanger caching now:
we've made the closet hanger partial tons faster by moving forms out
of them and doing this cache check earlier. I'm expecting significant
performance gains both here and on items#index (though less so there).
I'll deploy and see how much it helps in production; if not enough, we
can look at the layered caching of hangers, lists, groups, full pages,
etc.

So glad we don't *have* to move to a pagination model!
2013-06-22 16:31:46 -07:00
.sass-cache phew. rails 3.2.12, including some asset pipeline. still buggy. 2013-03-05 20:08:57 -06:00
app Move item_link partial caching to a helper rather than the template itself 2013-06-22 16:31:46 -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.