1
0
Fork 0
forked from OpenNeo/impress
impress/app/views
Emi Matchu 583f3c712f High-level caching for closet lists
Okay, so I still don't know why rendering is just so slow (though
migrating away from item translations did help!), but I can at least
cache entire closet lists as a basic measure.

That way, the first user to see the latest version of a closet list
will still need just as much time to load it… but *only* the ones that
have changed since last time (rather than always the full page), and
then subsequent users get to reuse it too!

Should help a lot for high-traffic lists, which incidentally are likely
to be the big ones belonging to highly active traders!

One big change we needed to make was to extract the `user-owns` and
`user-wants` classes (which we use for trade matches for *the user
viewing the list right now*) out of the cached HTML, and apply them
after with Javascript instead. I always dislike moving stuff to JS, but
the wins here seem. truly very very good, all things considered!
2024-02-20 18:43:39 -08:00
..
alt_styles Update site copy to reflect that Alt Styles are released 2024-02-01 06:58:54 -08:00
closet_hangers High-level caching for closet lists 2024-02-20 18:43:39 -08:00
closet_lists High-level caching for closet lists 2024-02-20 18:43:39 -08:00
contributions i18n for contributions#index 2013-01-09 17:15:23 -06:00
devise Can edit username in user settings page 2023-10-23 19:05:08 -07:00
fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
item_trades Oops, load the data for the bulk item quantity form on the trades page! 2024-01-21 06:42:24 -08:00
items High-level caching for closet lists 2024-02-20 18:43:39 -08:00
layouts Add redirect from openneo.net to impress.openneo.net 2024-02-20 10:35:59 -08:00
neopets_page_import_tasks refactor importing 2015-07-27 13:25:24 -04:00
outfits Move JS library files into a new lib folder 2024-02-18 20:40:16 -08:00
pets Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
sitemap Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
static Remove Pardon Our Dust message and page 2024-01-14 23:00:23 -08:00
users i18n for contributions#index 2013-01-09 17:15:23 -06:00