Entrance Events! Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
May 09, 2025 - @825.54 (what is this?)
Activity rating: Four Stars Posts & Arts: 75/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :happy: Open the all windows! Your mind needs storms and air! :happy: Super News: Upload a banner!

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  is there a way to optimize a website without subpages?


« previous next »
Pages: [1] Print
Author Topic: is there a way to optimize a website without subpages?  (Read 73 times)
maddy ੈ✩‧₊
Casual Poster ⚓︎
*


maddycha.com

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: maddy

View Profile WWWArt

Joined 2025!
« on: April 25, 2025 @792.84 »

hi! i wasn't sure if this should be in web crafting or i need help but i figured it could be applicable to multiple projects so wanted to start here

i have been working out of one index.html file for my personal website to make it feel as seamless as possible
rather than having one html file per page, i have everything on one page and use javascript to switch scale from 0 to 1 to simulate the different windows opening.

i was worried that as i keep adding content, the speed of the site would vastly slow down. i'm self-taught so i wasn't sure how to google if this would be an issue but i was wondering if there was a solution like splitting up the html into separate files and using js to insert it into the main index.html would be a solution while keeping the same sort of interactive experience? i wasn't sure if there was a way to have multiple html files without having multiple pages available on the site. right now everything is vanilla html/css/javascript.

sorry if this is a lot or it didn't make much sense! i can also share my code if that would be helpful!
Logged


hi i'm maddy (they/them)
nice to meet u!
   
cynderthekitsune
Full Member ⚓︎
***


she/her

⛺︎ My Room
StatusCafe: thiskitsuneexists
iMood: cynderthekitsune
XMPP: Chat!
RSS: RSS

View Profile WWWArt

Vocaloid Fan !Joined 2025!
« Reply #1 on: April 25, 2025 @862.05 »

i suppose, maybe downsize the images, or at least make them SVGs? because high-res images can slow a lot of slower/older devices down, especially if not optimised properly :P
JPGs or very optimised PNGs are really good for this!

maybe 'prune' the code a bit too, i guess? make sure it's not spaghetti code, plus no dead-ends or janky bits in it :P
Logged

maddy ੈ✩‧₊
Casual Poster ⚓︎
*


maddycha.com

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: maddy

View Profile WWWArt

Joined 2025!
« Reply #2 on: April 25, 2025 @869.39 »

i suppose, maybe downsize the images, or at least make them SVGs? because high-res images can slow a lot of slower/older devices down, especially if not optimised properly :P
JPGs or very optimised PNGs are really good for this!

maybe 'prune' the code a bit too, i guess? make sure it's not spaghetti code, plus no dead-ends or janky bits in it :P

this is helpful thank u! i have optimized my pngs, but might make them all svgs just to be safe.
i'll start too with fixing up my code, it's definitely not the most optimized right now since i kept messing with it, i gotta clean it up a bit!
Logged


hi i'm maddy (they/them)
nice to meet u!
   
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

Website size

Started by RolyBoard ✁ ∙ Web Crafting

Replies: 72
Views: 11893
Last post April 20, 2025 @579.14
by chipyowo
Website example page

Started by Icey!Board ✁ ∙ Web Crafting

Replies: 3
Views: 2933
Last post December 16, 2021 @285.10
by cinni
Website status (Check replies for part 2)

Started by Icey!Board ☆ ∙ Projects

Replies: 8
Views: 3200
Last post December 26, 2021 @841.50
by Icey!

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi