-
Notifications
You must be signed in to change notification settings - Fork 61
Looooong lag for back office controls to load - v3.11.5 #185
Comments
Seems the control is loading straight away in the back office. Ideally it should lazy load itself when visible. I'm not sure how to actually know if a control is "visible" or not at the minute but I've created an issue for it on the Umbraco issues tracker: http://issues.umbraco.org/issue/U4-11067 Also this is the source file that is being called, if you open it in a new browser (using the url in the original issue description) you can see it loads the full grid so lots of SQL I imagine running and blocking the download. https://github.com/kipusoep/UrlTracker/blob/master/UI/UrlTrackerManager.aspx |
Yes you're right, clearing the 404 Not Found entries usually helps. It's been developed by me a long time ago and I would do so much different nowadays, but that doesn't help you ;-) |
Yupp, one day, eventually, I'll probably re-develop the backoffice to use Angular. It's a while away from today though 👍 |
As a work around I've moved it to a new "Tools (Slow)" section in the back office :) Inspired by a discussion with the evil hacker genius Marc Goodson, it was his smart idea to move it to the Traslation section. |
Also the Tracker Table gets alot of activity over a period of time, so make sure you regularly check index fragmentation of that table.... https://docs.microsoft.com/en-us/sql/relational-databases/indexes/reorganize-and-rebuild-indexes Basically any improvement in performance you can squeeze on reading from that table, remove duplicates, 404s (if you not doing anything about them, turn 404 tracking off, (or ignore common requests if you are... /wpadmin.php) etc - will improve the lag time But yes apologies to any translators in the future who happen to discover UrlTracker hidden there! |
We've discussed the current status of the UrlTracker at the company I work for and we might pick up where we left off. Again; the discussion is still in progress, but we've seen how much the UrlTracker is still used and think there's no real replacement yet. Even Umbraco's effort to replace it was a total disaster IMO. /ping @daniel-chenery |
@kipusoep We are in a similar position where we would love to re-build this in Angular, but our resources are elsewhere at the moment. The UrlTracker is excessively used though, and it's a massive shame the Core's version doesn't allow for custom entries. |
I must say I'm really excited about picking this up again, so I think chances are pretty big that at least myself will be starting development again in the near future :-) |
@kipusoep Excellent! Do ping me an email if you need a hand with anything 😃 |
@daniel-chenery @marcemarc wrote some excellent blogs about it Doing something similar for a customer which I released as a package Maybe it's better connect with Umbraco HQ to see which features from this package they would have in the core ? Dave |
I really think it should've been the other way around; Umbraco HQ started developing this feature without talking to me at all. It felt like a backstab when I found out they developed this. |
package is well used - would love to see it being developed further. Cheers |
@kipusoep That button disables the Umbraco Core tracker..not yours if i'm correct Dave |
The docs even state that they disable core url tracking when your package is installed https://our.umbraco.org/Documentation/Reference/Routing/URL-Tracking/#enable--disable--configure |
Alright, my bad, still I would have liked to be part of the Core Url Tracker. I even discussed that with multiple core team members and agreed to cooperate on this, which didn't happen. Anyway, it's probably bad to start chasing old grudges :-) |
We could always disable the core URL tracker on install too 😆 |
@kipusoep you can still be part of the Core URL tracker if you create a pull request will all the things missing from the core url tracker. Create an issue on the issue tracker with what is missing and create the pull request. For sure @nul800sebastiaan is willing to add the missing functionality/features if they make sense. |
its great to hear @kipusoep the dev will continue, with better 404 and angular ui whoever used URL tracker before core tracker introduced, still trying to continue using URL tracker for obvious reasons. |
I'll discuss the suggestions tomorrow with my colleagues to see which approach we like best. |
I would first create a issue for it on the tracker to discuss before making a PR |
Hello everyone! Good to see the renewed enthusiasm for updating a plugin that many people have enjoyed over time! The current implementation of the automatic URL tracker in Umbraco core was the product of a spur of the moment "I'm passionate about this, let's see if I can help HQ make a solid implementation of tracking changes to URLs on nodes". This was kickstarted by @marcemarc at the Umbraco retreat a couple of years ago and the implementation was so simple and workable that we got very excited and after a few rounds of review decided it would be good to put into Umbraco immediately. Unfortunately, there wasn't time to do get your stamp of approval @kipusoep - but we obviously never meant to hurt your feelings. Sometimes, in the heat of the moment oget carried away, sorry about that. By the time we went from proof of concept to polishing this feature (over the course of 3 days) it was clear that we were taking an entirely different road from the way URLTracker works. When URLTracker started we didn't have such a nice pipeline with The current implementation was always ONLY meant to be super safe and should not ever be able to cause infinite loops or performance problems. These were the only 2 success criteria. Which brings me to the cry for new features that we've been getting from day one. :-) Let me explain the reasons why some things never got implemented even after numerous requests (this is also the reason why the URLTracker package is to this day very popular):
I hope this make our well-loved "disaster" a bit more clear and it might also help you decide where to focus your efforts. Note: All of this is absolutely open for discussion and if we can find a very good way to support some of the features above then we're very happy to listen. |
Thanks for clarifying these points @nul800sebastiaan. There are some very valid points in your post about keeping it simple and taking no risks. The UrlTracker has proven that errors and performance issues are so easy to run into. We'll take everything into consideration tomorrow and make a decision on how to move forward. As far as I understand you guys want to keep the core redirect module lightweight and additional features (created by the community) will be more likely to exist as add-ons outside of the core, right? |
While I regret not contacting you after it became clear that we were going to run with the solution we came up with, we also run by the ethos of always assuming positive intent https://our.umbraco.org/terms-and-conditions/ - it's therefore a shame that you felt so slighted by us. So I dropped the communication ball here, and I apologize for that! Sure, we love add-ons and we also love if add-ons at some point could "graduate" into the core, if they've been proven to be a healthy solution that fits with the goals of Umbraco as a CMS! |
Just found a long discussion on Our that was had about this some years back this is still valid I think so putting it here for reference. |
@nul800sebastiaan not kickstarted by me! the driver for it was a general discussion on CMS feature comparison sites that were fashionable at the time, and in a lot of them: 'tracking url changes with 301s - out of the box' was a thing - and Umbraco could only do this with plugins, hence the aim to provide a minimum thing to tick that feature comparison box and nothing else, but if you got UrlTracker installed you'd just use that... I only worked on it cos James M South had done something around redirects already, and he wanted someone to pal up with... and really enjoyed that.... but feel guilty as the dashboard I instigated causes me no end of pain with questions from editors about how to add new entries! and them working out how to do that by cleverly publishing and renaming and removing - hence the blog posts and PRs - but for the record - if I had kickstarted it, then I would definitely only have done so in order to spite @kipusoep who is my arch nemesis, and must be stopped! :-P |
@ALL |
Which makes me wonder, what features are you guys missing? |
The biggest missing feature for me is the ability to add custom rules, that is what motivated me to fix the initial YSOD bug. However, @nul800sebastiaan's 1st point makes me wonder if a PR like this would be added. Perhaps if we only limited this feature to those who had access to the "developer" section? I don't use Slack daily, but I agree for a channel! |
Feel free to join me on umbracians slack: https://umbracians.slack.com/messages/C9R54LJRJ/ |
Yep, we do not want to support this in core, if a developer has to do it then they can go in and update their web.config with a custom redirect rule. That will also force people to do proper testing before just trying to add a redirect on their live site. This will also be much more performant, we don't have to go through the request pipeline in Umbraco at all, we hit IIS first and it can handle the necessary rules.
Oh no @marcemarc - I didn't mean to blame you, my memory is apparently faulty! :-) |
With @dawoe his excellent package you can add custom rules... :-) |
What do you mean buy this ? |
Happy new year all. I am willing to throw my hat in to move away from web forms to angular. Unless someone else has started if not Ill start sometime this month. Matt edit |
Noticed in the back office the network would hang for a really long time and then would start downloading again. Seems it was this request:
/umbraco/UrlTracker/InfoCaster.Umbraco.UrlTracker.UI.UrlTrackerManager.aspx?culture=en-GB&uiculture=en-GB
Hangs from anything from 14-20 seconds before returning! Not sure what its doing, going to do some digging now.
The text was updated successfully, but these errors were encountered: