Dress to Impress, a big fancy Neopets customization tool!
Find a file
Matt Dunn-Rankin b31a22d4a1
Start serving outfit images via Impress 2020
As part of our project to get off S3 and dramatically reduce costs, we're gonna start serving outfit images that Impress 2020 generates, fronted by Vercel's CDN cache! This should hopefully be just as fast in practice, without requiring an S3 storage cost. (Outfits whose thumbnails are pretty much unused will be evicted from the cache, or never stored in the first place—and regenerated back into the cache on-demand if needed.)

One important note is that the image at the URL will no longer be guaranteed to auto-update to reflect the changes to the outfit, because we're including `updated_at` in the URL for caching. (It also isn't guaranteed to _not_ auto-update, though 😅) Our hope is that people aren't using it for that use case so much! If so, though, we have some ways we could build live URLs without putting too much pressure on image generation, e.g. redirects 🤔

This change does _not_ disable actual outfit generation, because I want to keep that running until we see these new URLs succeed for folks. Gonna wait a bit and see if we get bug reports on them! Then, if all goes well, we'll stop enqueueing outfit image jobs altogether, and maybe wind down some of the infrastructure accordingly.
2021-05-20 20:52:19 -07:00
.sass-cache
app Start serving outfit images via Impress 2020 2021-05-20 20:52:19 -07:00
autotest
config Use Fastly to cache our PNG assets from S3 2021-05-12 22:50:05 -07:00
db Add db field to override special color 2018-05-09 14:10:20 -07:00
doc
lib prefer scraped rainbow pool images over pet images 2015-09-05 18:48:41 +00:00
public ignore public/uploads 2015-07-27 13:24:58 -04:00
script
spec news posts read from the database, with a campaign-supplement classname option :) 2015-09-26 20:37:03 -07:00
test
tmp
vendor nvm, downgrade whenever 2015-07-17 18:26:31 -04:00
.gitignore move some deploy stuff from files into env 2015-07-17 17:47:58 -04:00
bundle
Capfile move some deploy stuff from files into env 2015-07-17 17:47:58 -04:00
config.ru
Gemfile eheh, dont require capistrano 2015-07-17 22:15:56 -04:00
Gemfile.lock nvm, downgrade whenever 2015-07-17 18:26:31 -04:00
isntall
LICENSE
Rakefile
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.