From: DreamCars
 
Date: 8/29/06 @ 2:12 PM
1
Yo, check it. So I needs to be getting my skillz back. No not my pimpin skillz (although it would be nice to have those back as well) We have a computer help thread, but this is more focused on web design questions. I thought this might be a helpful thread since there are many of you that have personal website and probably have a question that google just can't help with from time to time. So I'll begin with the first question.

My question: Is there a way to clear your browsers (if it worked in the majority of them it would be cool) cache so that a visitor is gauranteed to see the most recent version of an html page? I'm running into this problem on my site where as people are seeing old content (mostly images) That I have gone as far to delete those images on the server and they still show up. I don't really trust using joe schomo's scripts I find on google. I can trust a fazer though. Next question or an answer please. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 2:15 PM
2
If you have access to IIS or even Apache you can set an expiration date. You can do it with metatags also. 
From: dirwood tastes like sin
 
Date: 8/29/06 @ 2:15 PM
3
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 2:20 PM
4
For an ASP page:

<% @Language="VBScript" %>
<% Response.CacheControl = "no-cache" %>

Goes at the very top before <html> 
From: bebblebrox v2.0
 
Date: 8/29/06 @ 2:23 PM
5
Or you could just do a pop-up window for everyone who comes to your page saying "HIT F5 BITCHES!!!" 
From: Heferito this tagline intentionally left blank
 
Date: 8/29/06 @ 2:23 PM
6
Goodthing's answer is the easiest one. I'm sure there's a PHP equivalent if you're into that open source shizzle. 
From: DreamCars
 
Date: 8/29/06 @ 2:27 PM
7
Bebblebrox's answer sounds the best.

I have both asp and php on the site, two different server, but this is one of the static html pages on the site. I'm gonna try dirwood's right quick. This better not fuck shit up :) 
From: Red Boxer
 
Date: 8/29/06 @ 2:28 PM
8
The blink tag is never bad. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 2:28 PM
9
Also want to keep your skills up?
CSS and tabless design is the way to go.
External CSS files.
External .js files.
Keep it clean.

You will make it a lot eaiser for any trouble shooting if you stick to those rules. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 2:29 PM
10
Although metatags are easy to implement, they're the least effective method of controlling caching. Typically, only the browser cache recognizes and honors metatags. Proxy servers rarely recognize them because the servers don't usually read a page's HTML content but simply cache the page for subsequent client hits. 
From: Heferito this tagline intentionally left blank
 
Date: 8/29/06 @ 2:31 PM
11
Yeah Metatags are pretty much hit or miss and totally not reliable. 
From: eltsdrac is mister
 
Date: 8/29/06 @ 2:37 PM
12
Know any good tutorials for tableless CSS design? 
From: vibrio smells like unicorns and magic
 
Date: 8/29/06 @ 2:41 PM
13
Know any good tutorials for tableless CSS design?


http://www.glish.com/css/
http://www.alistapart.com/
http://www.csszengarden.com/ 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 2:42 PM
14
http://www.w3.org/2002/03/csslayout-howto
It's good to have knowledge of CSS oof bat, but I learned by just messing around with already built designs. Patience helps because you have to design for most major browser platforms and that can get frustrating. (IE)

http://www.csscreator.com/version2/pagelayout.php
CSS Layout generator. 
From: davelog SAINTS, BABY!!!
 
Date: 8/29/06 @ 2:42 PM
15
You can force an image to pull from the server each time (instead of the cache) by appending a query and a random (or incremental) number behind it. example:

NORMAL:
<img src=weenus.jpg>

FORCED UPDATE:
<img src=weenus.jpg?8675309>

The web server will see the image as a new, not-requested-before file from the request because of the crap at the end. Obviously, this will only work once per query string, so you can create the query string using a random feature, or using unixtime (seconds since the epoch).

<? PHP
$butt=rand(100000000);
$pic="weenus.jpg?".$butt;
ECHO "<img src=$pic>";
?> 
From: DreamCars
 
Date: 8/29/06 @ 2:47 PM
16
Thanks guys so far so good. Testing.......

Tabless CSS design is the way to go. I am taking a course right now to refresh the skills and learn any new tricks. csszengarden is awesome. I love that site. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 2:50 PM
17
Hey Vibreo

You have a Dowloader trojan on your home page or on the server it's on. My Norton just freaked out visiting your page. It also took awhile to load. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 2:51 PM
18
Scan type: Auto-Protect Scan
Event: Security Risk Found!
Threat: Downloader
File: C:\DOCUME~1\*****\LOCALS~1\TEMPOR~1\Content.IE5\NAKVBHO9\INDEX_~4.HTM
Location: Unknown Storage
Computer: S867535
User: ****\******
Action taken: Clean failed : Quarantine failed : Delete succeeded : Access denied
Date found: Tuesday, August 29, 2006 1:46:07 PM 
From: silentcry ... I got nothing
 
Date: 8/29/06 @ 3:17 PM
19
You can force an image to pull from the server each time (instead of the cache) by appending a query and a random (or incremental) number behind it.


You could also do that for all of the links on your page.. 
From: Crooky is the day that is rued
 
Date: 8/29/06 @ 3:20 PM
20
I'm interested in this too but I'm probably starting at a more basic level than DC.
I know basic HTML. I know I need to learn CSS. What else is handy?
AJAX? 
From: davelog SAINTS, BABY!!!
 
Date: 8/29/06 @ 3:22 PM
21
Unless I misunderstand, AJAX is really just an environment of javascript (for client side) and php (for server side). 
From: gar  bag  e man bowls in the streets and gets a gutter every time
 
Date: 8/29/06 @ 3:22 PM
22
I just set up this website a few days ago. if you guys want to give me some ideas on what i've done right and wrong, i'd appreciate it. just post here orrrrrr email me. just starting the whole web design thing, running some CSS files and I like it so far. /hides 
From: Heferito this tagline intentionally left blank
 
Date: 8/29/06 @ 3:23 PM
23
I always thought Spun set up this website

/smartass 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 3:24 PM
24
AJAX is very cool stuff.

Go here and learn my son. http://www.sitepoint.com/

Plenty of good info and their forums are helpful.

Less graphics is better. with Css and other elements you can make a page look clean and professional w/ out bulky flashy graphics.

If your getting into the commercial aspect definitely educate yourself on SEO. It's important how your pages are designed for Search Engine indexing. 
From: dirwood tastes like sin
 
Date: 8/29/06 @ 3:25 PM
25
Less graphics is better.

Only with extensive use of the blink tag. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 3:26 PM
26
Only with extensive use of the blink tag.


HAHA! I don't even think that works in updated browsers anymore. 
From: silentcry ... I got nothing
 
Date: 8/29/06 @ 3:27 PM
27
You know you've hit quality when you've found a page with blink..

I'm talking high class GeoCities / AngelFire pages here.. 
From: dirwood tastes like sin
 
Date: 8/29/06 @ 3:27 PM
28
It does in firefox 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 3:27 PM
29
You forgot myspace pages.. Ive seen a few that can induce seizures. 
From: bebblebrox v2.0
 
Date: 8/29/06 @ 3:27 PM
30
GeoCities / AngelFire


These are what the fucking MySpace pages remind me of.

I so want to slaughter the creator of MySpace. Those type of pages needed to stay dead and buried with the hookers. 
From: Crooky is the day that is rued
 
Date: 8/29/06 @ 3:30 PM
31
Isn't myspace owned by Fox now? 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 3:32 PM
32
Isn't myspace owned by Fox now?


You are correct. I can't wait until they throw the "charge" on all those addicted fucks.

It's genius. Internet crack for some people. 
From: jimmyfo is User 927
 
Date: 8/29/06 @ 3:32 PM
33
AJAX is very cool, but don't rush into it - if you don't do it right, it can be a bad user experience. With CSS hover tags and things like that, you can do quite a bit without JS.

Keep an eye on http://www.w3schools.com/ for all the good stuff. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 3:34 PM
34
Keep an eye on http://www.w3schools.com/ for all the good stuff.


That's the best resource for learning. W3schools has saved me hours of time and frustration. 
From: DreamCars
 
Date: 8/29/06 @ 4:00 PM
35
It's genius. Internet crack for some people.


Seriously. Some people I know (that are stupid fucking myspace addicts) wonder why I refuse to join. "I don't know guys, why do you refuse to use herion? Because it SUCKS and watching a group of junkies hang out in an alley isn't my thing." I'd rather faze. The people here are so much more intelligent. Well in some cases. Sorry to group you in with the rest of us fuckers Crooky. 
From: Crooky is the day that is rued
 
Date: 8/29/06 @ 4:01 PM
36
Sorry to group you in with the rest of us fuckers Crooky.

Ummmmmmmm... pwned? I don't know how to feel. Don't leave me hanging. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 4:06 PM
37
I'll give another bit of important advise for anyone who wishes to do web design freelance.

Make contracts/agreements. This covers your ass and shows you are professional. I know it's a pain but very important. Stipulate late fees after net 30 days. Require half of the project cost down. So, do not start on anything until you get a deposit. A non-refundable deposit at that.

Explain to your clients what is expected of them. Majority of people believe you are going to do everything, and that includes content. Specify what content in your contract that you expect form them (photos, writing) and by what date. Clients are notorious for not giving you content you need therefore slowing if not halting the process. Then they bitch why thier site is not done. I have some clients who can't don't even know how to check their email and expect me to come to their office and hold their hand through everything. I don't mind because I charge them for the time and gas. They learn fast. Always let them know that they need to be involved.

Also, scope the project and tasks on paper or at least in a proposal that they sign. If you do not do this then you will end up with scope creep and they just want more and more added on. Change orders are a must and when they find out how much those cost and how far some can set back a project they think twice. Phase 2 buddy.

I learned the hard way and always wanted to please everybody and ended getting screwed and not getting paid for my time and work. Things have changed since then and I make 3 times as much and have more free time (kinda). 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 4:16 PM
38
Don't end up on this page either. http://www.webpagesthatsuck.com/dailysucker/

A bit of self ownage on that page.

First Article bottom link.
Link is all jacked up. They forgot the http:// in the link.

For god sakes if your going to rip peoples sites make sure your shit doesn't stink. 
From: gar  bag  e man bowls in the streets and gets a gutter every time
 
Date: 8/29/06 @ 4:24 PM
39
I just set up this website a few days ago. if you guys want to give me some ideas on what i've done right and wrong, i'd appreciate it. just post here orrrrrr email me. just starting the whole web design thing, running some CSS files and I like it so far. /hides

oh yeah, link http://www.corporealshift.com 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 4:41 PM
40
Garbage. It's not bad. Very simple. Id make it liquid or at least display correctly in 800x600. No horizontal scroll.

You have 2 external css. This is fine but you could probably combine them unless one is purely for print. You also have static CSs code in the head. Put that in your external.

You can eliminate half that code by putting the table elements into a style sheet. width,heights, border, margins, etc..

I like you used a CSS list menu. So easy to maintain. If it is not a Server Side Include, make it one. Navigation should always be one file. Makes it easy to update globally. If your not using PHP or ASP .Net, you can use AJAX SSI. Works great.

Your logo can be done in CSS text to eliminate one more graphic. Search engines love text.

Other then that it's not bad. Simple can never be bad. It's when you go overboard with eye candy things turn ugly. IMO 
From: gar  bag  e man bowls in the streets and gets a gutter every time
 
Date: 8/29/06 @ 4:43 PM
41
thanks. it's still kinda a work in progress, but those are some good ideas i hadn't thought about.

keep 'em comin people 
From: dhamangry will not get very far with this attitude
 
Date: 8/29/06 @ 5:19 PM
42
I did this 1 page site.. design, code & graphics in a few hours last week.
I got all fancy with the css for styles.
But I still use tables like a mf'er for placement.
http://it.medcenter.arizona.edu 
From: bebblebrox v2.0
 
Date: 8/29/06 @ 5:39 PM
43
keep 'em comin people


Text needs to wrap to whatever size my browser happens to be at. 
From: do ok y is the loose cannon your mom warned you about
 
Date: 8/29/06 @ 7:07 PM
44
DhamAngry said:

I did this 1 page site.. design, code & graphics in a few hours last week.
I got all fancy with the css for styles.
But I still use tables like a mf'er for placement.
http://it.medcenter.arizona.edu


Why not use a div container? Used for placement just the same. 
From: Goodthing comes on those who wait
 
Date: 8/29/06 @ 7:37 PM
45
There are some things you still have to use tables for because divs won't work to get a certain effect. But yea, you could have wrapped all that in a div and floated a left and right one. 
From: dhamangry will not get very far with this attitude
 
Date: 8/29/06 @ 8:40 PM
46
I haven't even looked into divs; I have no idea how they work.
I'll do a little research. I've been trying to put it off.
Here's goes though. 
From: do ok y is the loose cannon your mom warned you about
 
Date: 8/30/06 @ 12:27 PM
47
Well when you're making an "all css" layout, that's pretty much what you're going to use. Divs and Spans.

you still have to use tables for because divs won't work to get a certain effect


Actually, any attribute you create for a table you can create for a div. And vice versa. That's kinda how css works. 
From: Goodthing comes on those who wait
 
Date: 8/30/06 @ 3:02 PM
48
Try using the opacity filters for a background color in a div and then a another div in that with text that is not opaic.

Doens't work in IE unless you make it a table for some reason. Firefox is fine. 
From: Crooky is the day that is rued
 
Date: 9/19/06 @ 3:57 PM
49
Domain name question:
If you do a whois on a domain name and it says it's about to expire in 3 days and you want it, how can you get it?
Note: The domain was bought only a year ago and there is absolutely nothing on the site. It's a parking page. 
From: Goodthing comes on those who wait
 
Date: 9/19/06 @ 4:28 PM
(more) 50
You can sign up on the waiting list.

https://www.namesecure.com/pages/home.jhtml Don't use Network solutions unless you want to pay out your ass. Even if it expires they still give the person who owned it a few weeks, and then it goes through some cleansing stage ready for the next buyer. You need to be quick because Cyber Squatters grab expired domain names so they can sell them back to the person who didn't pay attention that it expired. 
forum | login | new user | top