Why some sites load like an SPA while some refreshes everytime? [closed] - performance

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 months ago.
Improve this question
I have hosted my website on two different providers
render - https://madhusudanlive.onrender.com/
railway - https://krypton.up.railway.app/
Both of these sites have same code and built on top of nuxtJS, also the same methods used for deploying, but the one hosted on the render loads quickly, and the loading sign on URL doesn't change (feels like an SPA) but the other one reloads page on every single request, and we can clearly see the reload and cross icons changing on every click.
For a better example, open the navbar on top right and click the home/about pages, and then click on the k logo, for render site, it will show animation but for the railway host, it will not show the animation but reload the page.

The app on Render is indeed an SPA, the Railway one behaves like an MPA.
I can confirm that.
As of the exact reason, we'll need to check some of your code. What matters the most is how it behaves if you bundle (and preview) it locally.
Also, depends if you use 'server' or 'static' for those as a target.
Also how you configured the deploy on each platform.
PS: I would start by fixing those errors first is quite important.

Related

White screen of death when narrowing window on MVC project [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
Thanks in advance for your time.
My company project uses kendo UI and kendo.bootstrap for UI/X design, but the problem is the decision they tought to use Bootstrap modal too.
So it is a mess in there and js's overlap like crazy.
But I saw one page when I narrow page It gets completely blank.In responsive mode
Any ideas?!
Thanks
There's your problem:
js's overlap like crazy
If you have one page blanking now, you'll have tons and tons of other weird, unpredictable errors in the future. Sort it out now.
Follow this official Kendo guide: https://docs.telerik.com/kendo-ui/third-party/using-kendo-with-twitter-bootstrap
When a page is blanking, the first thing to do is to check the JavaScript console.

Get website hidden behind loading page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Some websites (example) have a "loading" screen display before they show you their actual content.
If I curl the site, I get this loading screen rather than the content which I want.
How can a bash program get the actual content of the web page, rather than this "redirecting" page?
Modern websites tend to be very dynamic, at least compared to those of the early web. Thus, there are many opportunities for a site operator to hide content; a common one is to load everything, but hide it with Javascript, in which case disabling Javascript prevents the "hiding code" from running.
In this case, the site appears to be using Cloudflare as a CDN. Your request goes to Cloudflare's servers, and then is forwarded on to the actual underlying site. If Cloudlfare decides that your browser looks like a threat, they may decide to do some additional checks - but apparently they didn't decide that curl was. We have no way of knowing what exactly their decision is based upon, but they have complete control over deciding what HTML you are served.

How to create a visual sitemap of a large existing website? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I need to evaluate a current existing website's sitemap and structure. Normally i utilize a patchwork of utilities and programs and end up creating the visual site with either illustrator or slickmaps for a browser based solution.
I have started down this road again and realize this site is much too large to do this all by hand. My "dream" solution would create an attractive diagram of the website possibly from an xml file, and show cross linking and those kinds of relationships. The icing on the cake would be if i could also get it to mashup with google analytics site visitation metrics - but that would probably be asking too much...
Any help appreciated...
Shawna
Do you need sitemap for seo? We use at http://applehub.us/ huge xml file generated by script. I think it would useless create site map for users
For building flow diagram of a website you can try the Site Visualizer software.
Run the app, create new project, enter URL of the site, then click Start button. After the site will be crawled, go to Visual Sitemap tab and click Draw button. Similar visual structure of the website will be drawn:
Click on a page in order to highlight all its outbound links. Click on Save button to save the diagram to an image file.
More info is available here.

Should I put the login view as part of my application? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm studying #marionettejs It's a fantastic library.
Almost all examples start with the whole application, ie, with all regions, like navbar, content, menu, footer, etc.
In my application, I have the initial screen that show the login form where the user need fill to access the application.
My question is: Should I put this login form view as part of app?
Do you have some example, if applicable?
It depends on what you want to do. The reason most examples you see have the full application, is because it is "behind" the log in screen. In other words, the workflow is like this:
User logs in
User is redirected to page containing the Marionette app
The app is started
You can of course manage the login process with Backbone/Marionette as well, but it tends to be more work.

Whats the best approach for handling a template picker in Cocoa [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I have been dealing with this situation for a while now. I have been programming in objective C for about four years now but only for the iphone platform. I am currently working on my first mac osx application and would like some help on the best practices for handling a template picker when the app launches. To be more specific the transition between the template picker view and the window. For example in the application pages, the application allows you to select a template in the first view that is loaded and then after you have chosen your template that view disappears completely and you then receive a new view that is specifically for editing purposes. I currently have an application that loads the first view fine allows for selection in an IKImagebrowser and loads a separate view although I don't know if this is the best approach for doing this and also I can't seem to get the view with the Imagbrowser in it to disappear after I load the second view. If someone could shed some light on this situation for me it would be most appreciated.
there is not much wrong with what your doing... although BASIC difference between iphone programming and MAC programming is that in iphone programming we use the IK kit and in MAC prograamming we dont..all the classes used in MAC programming (not necessarily) but most use NS.... KEEP in mind that in MAC programming , a single button can launch a SINGLE action or call a single method unlike in iphone SDK where u can connect a button with multiple method calls.
my suggestion to u is put a working or busy sign and set its alpha value to zero, wheen first app is closed, dont close it there...instead change gamma value and load the next view...When that is loaded(KEEP THEIR POSITON(x,y) exactly same , hide the previous view app or first app...that way the transition would seem like its a single app....
hope this helps

Resources