Hello !
I have a web page that is about 45pages that am currently working on when i upload it on and want to view the webpage it time close to 4 to 5 min before it load. But most of the pages that i have really contain more pictures on it i was thinking mays be it is the images that are too much in i that cause it or it is due to many webpages that are present in the website that really cause it or pls suggest possible solution to that progrem.
1. Is it because the peges are too much
is for what do you thing i can do to eliminate that problem.
2. Is it because the images and the flash animation that really cause it
is so pls give me procedure to slim down the size of an image and flash animation size like in the case of a text that you can use css to slim down the text size

Thanks

Dani AI

Generated

Quick checklist and targeted fixes before changing layout or throwing away images.

Start by measuring. Don’t guess causes — confirm them with the browser Network waterfall and a lab tool. Run a PageSpeed test and a full waterfall (PageSpeed Insights, WebPageTest). A simple curl check shows server responsiveness (TTFB) vs download time:

curl -o /dev/null -s -w "TTFB: %{time_starttransfer}s\nTotal: %{time_total}s\n" https://example.com/yourpage

Notes on the main suspects raised in the thread: is right to look for scripts or Flash that hang the page; is right that images are often the biggest bytes; and is right that splitting huge content helps if the page is really doing the job of many pages. Important clarification: the number of pages on the site does not slow a single page unless that single page is requesting everything. Focus on what the browser actually downloads for that page.

Practical fixes (apply iteratively: measure → fix → retest)

  • Images: export appropriately (JPEG for photos, PNG-8 or SVG for graphics, consider WebP/AVIF), strip metadata, and create multiple sizes. Use responsive images and lazy loading so mobile gets smaller files. Example pattern:
<img src="photo-800.jpg"
     srcset="photo-400.jpg 400w, photo-800.jpg 800w, photo-1600.jpg 1600w"
     sizes="(max-width:600px) 100vw, 600px"
     width="800" height="533" loading="lazy" alt="">
  • Scripts/Flash: remove Flash (EOL 2020), replace with HTML5 where needed, and defer/async noncritical JS. Check for infinite loops or heavy synchronous DOM work.
  • Delivery: enable gzip/brotli, set cache headers, serve static assets from a CDN or faster host.

Tools and references: MDN’s image optimization guide and Google’s performance docs explain formats and patterns in detail (). Use an image compressor (Squoosh or ImageMagick) and iterate on the biggest bytes first.

Recommended Answers

All 3 Replies

I suspect, without actually seeing the page in question, is that yes, you have too many images. Large and bulky images can cause high load times. Other reasons may include looping javascripts or looping flash files which render the page unusable and force the browser to stopscript the action calls.

There are a lot of great web optimization tips available if you search the web...I frequently use this tool (http://www.websiteoptimization.com/services/analyze/) as it gives a nice rundown of total page size, image sizes, external files, objects like flash, etc.

The biggest thing I can stress is to make sure that you optimize/compress your images. Five minutes in a program such as fireworks can shred a lot of weight off of an image. Also, try specifying both the height and width of your images in your HTML tags, as the browser can render the space alotted for them, and move on to the next task, rather than wait for each individual image to load before continuing.

As for flash, that depends. If you are putting a lot of raw audio/video into a flash document, the size will increase dramatically. You can help reduce the size of your flash files by compressing your images and video before taking them into your flash authoring program. Huge flash files will make a site drag big time since the browser will try to load the flash file completely before continuing on.

You need a lot of little pages, not one huge one. Navigate between them with links.

commented: haha nice, good call. +3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.