Re: App development - Lobby functionality optimisation Programming Mobile Development by jonathannweyer Since you’ve already tried caching and reducing network calls, you might want to look into pagination or lazy loading to avoid loading all rooms at once. WebSockets can also help by pushing updates instead of polling. Make sure your backend queries are indexed efficiently, especially for filters like player count. If the lag happens mostly during … Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani … get 3 visitors per hour, the overhead of setting and fetching from the cache isn't worth it, because you're… Handling Real-Time DOM Sync in SSR React App with Dynamic Nested Routes Programming Web Development by Neil_brown001 … complexity, I'm using React Query for client-side data fetching (with staleTime optimization), and Zustand for global state management. Occasionally… Re: Ensuring data consistency and integrity Hardware and Software Cloud-based Apps by Miles_0 Thanks for overwhelming response. How do you ensure efficient cache management with Memcached in such a distributed system, especially when fetching multiple items per page while minimizing cache misses? Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by jkon Hello Dani, I decided last week not to respond to your last post, but, let's be honest, I can't keep myself from responding. Your example could be valid if you take into account: What percentage of websites/web apps use SXG? Of those, what percentage of the indexed pages by Google are actually cached by Google at any given moment? Of … Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani > Is your example valid? Yes, if you stretch a fringe and long-shot possibility into an opinion. My post was based on my own use case, which is the only data that I have access to. > What percentage of websites/web apps use SXG? DaniWeb uses SXG. > Of those, what percentage of the indexed pages by Google are actually cached by… Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani > If a webpage performs poorly in Lighthouse audits for metrics like LCP, Speed Index, CLS, e.t.c. those issues will also affect real Chrome users, ultimately having a negative impact on its SEO. Basically what I was saying was that I found that to not be the case with my own website. Like I said, half the time SXG makes what I see in … Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by jkon Dani, first of all, thank you for sharing the numbers. Yes, if LCP for mobile devices has improved from 3 seconds to 2.1 seconds (with SXG being the only difference), it’s clear that SXG is working well for DaniWeb. 232,000 crawl requests for an SXG certificate over the past three months for 207,000 pages is negligible. Your SXG certificates … Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by jkon I also don't believe that Lighthouse audit results are an effective representation of CWV , but I believe that are an efficient way that we have to understand what affects CWV in a web app Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani > Your SXG certificates have a limited lifespan SXG certificates have a maximum lifespan of 90 days, and the majority of our pages have cache-control HTTP headers anywhere between 7 and 30 days. (Some longer, some shorter) If a forum thread is 10 years old, and has not received a new reply in 9 years 10 months, we can feel comfortable caching… Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani > Of course, Lighthouse audit results are influenced by factors like your location, connection, and other variables. That's why I disagreed with you that a Lighthouse audit is always representative of real world users. In my case, the majority of my real world users do not have the same location and/or technology as I do. > I decided … Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani So then that begs the question ... may I ask why you were initially hesitant to respond to me the other week? I'm just curious. Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by jkon Just a correction to my last comment: 'I love being part of the DaniWeb experience,' not Daniwev. It was a typo I noticed immediately, but I couldn't edit the comment (which could be a useful feature). I was hesitant to respond because discussing SXG seemed to be significantly off-topic for this thread. Additionally, the fact that Lighthouse … Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by jkon > It was a typo I noticed immediately, but I couldn't edit the comment (which could be a useful feature). > You should be able to click the little edit button for up to 10 or 15 minutes (I forget which) after posting in order to correct typos. We don't allow you to edit your post after that because we've run into problems in the past… Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani Ah, yes, I thought you were talking about posts themselves. Post comments can no longer be edited. (Too many people were replying to post comments and then the person would change their vote and remove the comment.) Comments are mostly meant to be short things like "I agree with that!" or that type of thing. Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Reverend Jim >Comments are mostly meant to be short things like "I agree with that!" or that type of thing. A reminder to all - use the comment tool to give kudos instead of reviving a multi-year old thread by adding a new post. Using the comment tool not only saves us from wading through old threads, it also gives points the the person who … Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Pelorus_1 By loading images and content only when necessary, lazy loading speeds up web portals. Implement JavaScript or frameworks like React with dynamic imports, and use loading="lazy" for images. Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by scope_2 Lazy loading enhances web portal speed by loading images, videos, or components only when needed. Add loading="lazy" to <img> and <iframe> tags for simple use. For advanced control, use libraries like Lozad.js or lazysizes. In frameworks like React, use React.lazy() and <Suspense>. Avoid lazy loading above-the-fold … Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by gediminas.bukauskas.7 Here is a problem: Blazor WEB application working in SSR mode performs partial update of the page after posting. JS initialization does not work in this case. It is difficult to find correct event for performing JS operations. Re: Fetching Posts by Category in WordPress with jQuery and pagination Programming Web Development by LastMitch >Fetching Posts by Category in WordPress with jQuery and pagination I … fetching inner text from a particular div Programming Web Development by Xufyan Hello, I am having trouble fetching content from a web-page, actually i wanted to fetch … 'displaybody' but my code doesn't seems working, it is fetching all the content of the page and after 4 page… Fetching values from MySql Database Programming Web Development by havish999 …>'; ?> Student is my master table from which Iam fetching student name, student rollno.. and from table samp, iam… fetching attendance and the date on which attendance was taken.. Is … Re: fetching inner text from a particular div Programming Web Development by LastMitch > but my code doesn't seems working, it is fetching all the content of the page > and after 4 … issue you are having here: http://stackoverflow.com/questions/9556198/fetching-inner-text-from-a-particular-div fetching arrays from ajax, php/zf Programming Web Development by cali_dotcom … and i get "delete". now the problem is fetching the array string so i gp-could go ahead with… Fetching web pages in C / a simple wget equivalent? Programming Software Development by DayOldPorridge I was wondering if there's a simple way to create a wget-like program in C? If anyone could point me in the direction of a short guide/tutorial focusing on fetching web pages in C, that'd be great. Beej's guide is a bit too detailed, for me -- I just want to know something simple. Thanks for your help. Fetching Data before Insert....!!!! Programming Databases by newnetzerouser I need help on fetching data before inserting. My issue is as follow: My table … fetching metadata of web page Programming Web Development by mangel.murti hi all, i have problem i am fetching meta data information of web page so that on the … Fetching the values using joins using 3 tables Programming Databases by sampath naik …/%Y') GROUP BY x.levshort"; [/CODE] but this is fetching only 1 empid values i need result pl=1.5… fetching hindi data from mysql Programming Web Development by jacob21 … data in my my sql table through Php form. While fetching,it is not coming in hindi but some unusual symbols… Re: fetching hindi data from mysql Programming Web Development by jacob21 [QUOTE=Karthik_pranas;1601422]In phpmyadmin table, is it visible as hindi text or symbols?[/QUOTE] In table it is visible in hindi correctly but during fetching i am getting error(symbols) I change the collation to utf8_unicode_ci