Replies

Jan 22, 2020 6 years ago
Paramnesia
THESOVEREIGN
User Avatar
Captain Beatd0wn

It's always kinda surprised me how slow subeta is as a site. Even pages that do relatively little load incredibly slowly. I was looking at the source code to see what types of things could possibly be making the site load this slow.

And if I can see the code correctly, every single page on the site makes a call to your full wishlist, since if you look at the source code of any page you can see a full list of the item IDs of every single item in your wishlist, which for me is a couple hundred items.

the menu is making multiple calls to lists of pets, friends, shops.

I wonder how many querys are generated anytime you go to a page with multiple item hovers on it like your inventory.

I wonder if there is anyway to make a setting so that you could disable all the wishlist searching, and item hovers, and if every page wasn't trying to fire off as many searches on every page load if the site would be much faster.

Maybe make a button next to the toggle sidebar button to quick toggle them back on without needing to go through your settings.

But there is no reason for https://subeta.net/forums.php to be pulling up my wishlist.

This also kinda makes me curious if the site would speed up a ton if I just deleted my wishlist all together, and if the site has gotten a lot slower since I started adding all my missing plushies, ect to the wishlist.

Some other query heavy pages could also probably be given a lite mode to them as well like the pets page. I'm always surprised that loads even with only 20 pets on it. But all the queries for all of the stats. A lot of that can be probably fixed with caching, but there will always need to be a query going out for hunger, happiness, likes, and current HP (and at 4x20=80 it probably adds up pretty quick). Alot of which I really don't care about when i'm just trying to go switch my active pet or get a link to the adoption center.

I think a lot of what impressed me about subeta was that it had some really cool features, but I think a lot of those same features today are actually a net drag on the site now.

[Center] [tp=thesovereign] :dmg🔥 [tot=thesovereign] :dmg🔥 [egg=thesovereign] [spoiler=Interesting High Score Tables][url=https://subeta.net/games/battle/scores.php?enemy=206]Paramesian Buttwing Bomber[/URL] [url=https://subeta.net/games/battle/scores.php?enemy=210]Paramesian Recycle Beast[/URL] [/Spoiler][/Center]

Jan 22, 2020 6 years ago
Anoniemmus
wants s'more
User Avatar
Burningwaves

If possible a toggle is a great idea. If it is possible to stop the site from loading this info every single page for lots of users that would probably speed up the site significantly. Now we just need ways to make lots of users actually have the hypothetical toggle turned off most of the time. Here's some ideas on making people do that: -Display it prominently. If it is not highly visible or if it is tucked away on a settings page somewhere people are going to forget it exists -Make it very clear that setting the toggle to "light mode" speeds up the user experience. put it next to the toggle in blinking lights if necessary. -Connect some rewards to it, achievements for (cumulative amount of time you have the toggle set to "light mode", amount of users symultaniously online using "light mode")

Jan 22, 2020 6 years ago
Saturnine
wants to believe
User Avatar
Fearleading

I wonder if you can stop the call with some browser extensions...for instance, one of mine (IDR which, uBlock? Disconnect?) stops the actual tweet layout / Instagram embedded post layout from loading in full when i'm on another site.

It's blocking a script.

S-F
[flower=saturnine][tot=Saturnine]

Jan 23, 2020 6 years ago
Lypsyl
is a billionaire
User Avatar
Crotchety

Love the toggle idea.

But yes, there is definitely a reason to load wishlists on forum pages. Contests, where there are prizes, I want to know if any WL are prizes. Other examples are the advertising forum, CW forum, groups, among many others.

I agree, however, there are many times (most times, probably) that I don't need that info. Which is why a toggle right next to (or even replacing) the dashboard toggle would be a great idea.

Jan 28, 2020 6 years ago
Sorcerer
is a worthy opponent
User Avatar
Forsake

Obviously everyone wants a faster site, but, other than disabling fonts and images, I doubt there are any quick fixes.

Anyway 10,000 WL items is still is still less data than the banner image at the top, so no need to worry about that one. 👍

[edit]This is definitely part of what the old mobile site was trying to achieve.

Jan 28, 2020 6 years ago
Marlboro
loves dinosaurs
User Avatar
PsychoDreamer

Today I noticed that it's even calling Facebook for some reason, maybe a left over when we could link our FB profile to Subeta with a FB button but later was removed.

Jan 28, 2020 6 years ago
Paramnesia
THESOVEREIGN
User Avatar
Captain Beatd0wn

I get why you would want to load them on forum pages.

But literally the Forums index page loads your wishlist. And there is no way that an item will show up on the forum index page.

It depends on how the wishlist is accessed and cached.

If your wishlist is stored on a table in the forum of an item ID string separated by commas like it shows up in your page source, then it is less data than a banner, but it also might be generating the list in a more complicated way, because it seems to update very quickly. If you add an item to your wishlist, it will show up in your source on the next page load But's its also not only pulling a few kb of data, it's also then going and cross checking each number against any item ID numbers of items on the page to see if it needs to put a blue box around it.

This is an n=1 test here, but I did end up deleting my entire wishlist and after about half an hour it seemed like the site sped up quite a bit. I had about 6000 items on my wishlist, and the forums index page went from taking about 3.5 seconds to load to about 2 seconds to load, despite many more users on now with the free shop. Maybe they finally ended up fixing some errors on the site that sped things up, but the timing seems interesting at least.

If it were possible to set it up so that when you are browsing the site normally you never check against your wishlist, and then if you wanted to check a page against your wishlist you have a button that toggles the wishlist boxes on, I wonder if it could cut down on lag.

[Center] [tp=thesovereign] :dmg🔥 [tot=thesovereign] :dmg🔥 [egg=thesovereign] [spoiler=Interesting High Score Tables][url=https://subeta.net/games/battle/scores.php?enemy=206]Paramesian Buttwing Bomber[/URL] [url=https://subeta.net/games/battle/scores.php?enemy=210]Paramesian Recycle Beast[/URL] [/Spoiler][/Center]

Jan 28, 2020 6 years ago
Flying Ace
Speiro
User Avatar

Quote by THESOVEREIGN
But literally the Forums index page loads your wishlist. And there is no way that an item will show up on the forum index page.

Sidebar widgets accept scode, including the item tag. Maybe not the most useful place to check for wishlisted items, but it's still technically possible.


Please log in to reply to this topic.