Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
What's the best way to implement a "lite" version of a page?
Post Body

I'm wanting to give users of a site the ability to switch back and forth between the normal, image-heavy version of a site and a "lite", text-only version. I figure I can also use this to copy how Google offers to send you to the HTML-only version of Gmail if the page takes too long to load.

So far, I've identified two ways I could do this:

  • Use the same page but build a separate, lite stylesheet and use JS to switch back and forth
  • Build a new page, "/home2", which doesn't have any images or other heavy items, with normal anchor links between the two

Going the second route, it seems like I could force traffic to the lite page, if needed, and just remove the link to the normal page, while I'm pretty certain the first wouldn't actually take any load off of the server, if that's what I'm trying to do.

Has anyone else done something similar or, does anyone have any thoughts on what I outlined? I'm leaning towards the second option but, would like some other opinions.

Author
User Suspended
Account Strength
0%
Suspended 4 months ago
Account Age
14 years
Verified Email
Yes
Verified Flair
No
Total Karma
594
Link Karma
1,548
Comment Karma
23,499
Profile updated: 1 day ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago