Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 will a dynamic asp style sheet file be cached?
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

bjlt
Senior Member

1144 Posts

Posted - 17 August 2002 :  06:51:59  Show Profile
if you are not logged on, active.asp is 1.54M. It's not a page containing a lot of info or multimedia files, but quite some font, td tags. I just think maybe it's better to make a css version while working on the international version?

well, back to the topic, I wonder if I use a dynamic style sheet like what the css perl script convertion mod does, will the style sheet be downloaded every time a page is loaded or it will be cached as specified in the file?

for people with fso enabled I think it's better to develop a admin pannel to output the style sheet as static. this way it will be cached and one can use many sheets as themes.

personally I don't think css convertion is difficult, if the naming standard is decided with the perl scripts or even hand work it could be done in a short time.

I also think that after the css and international version, if not everybody go to use .net instead, we can migrate to asp 3.0 as people with asp2.0 already have an relative stable, secure and fast forum like v3.4 or v4.x

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 August 2002 :  06:53:56  Show Profile  Visit Gremlin's Homepage
I believe it will be cached correctly by the browser hence the cache-control directives which you see at the top of the CSS Conversion's default_css.asp page.

Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 17 August 2002 06:54:22
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 17 August 2002 :  10:10:11  Show Profile
converting the forums to CSS doesn't have to be difficult, but it has to be done properly. For that to be done, you need a small team of say 4 or 5 people who really know CSS and the Snitz codes. They have to have a plan worked out and divide the work load. Then you also have to add tons of classes to give enough options to the more knowledgeable users.

It will take quite some time to do that, especially if you want it to be bug free and tested thoroughly (don't know how to spell that and I'm too lazy to get a dictionary). It's certainly not something to just jump into.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 17 August 2002 :  11:23:49  Show Profile  Visit D3mon's Homepage
I've done it (on my own) - it's not much fun


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 17 August 2002 :  11:35:47  Show Profile
quote:
Originally posted by D3mon

I've done it (on my own) - it's not much fun


That's where people go wrong. They think "Oh, it can't be too hard as I've done it for my own forums too.". Unfortunately they forget that what works for them might not work for others.
When Snitz gets converted to CSS, it has to be done in such a way that it offers enough options for newbies to still be able to make it look like what they want (not too complex), and also for "die-hard snitzers" to be able to edit (almost) every line of text without having to go into the source files. That means classes on every table, row, cell, and line of text, not to mention a list of all classes and where they've been applied.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 17 August 2002 :  12:37:25  Show Profile  Visit D3mon's Homepage
Yes, I agree. I certainly didn't mean to imply that it was easy. "(on my own)" translated to: "by myself" in that context.

To integrate CSS in a manner that makes it as flexible as other options in Snitz (public-friendly) would require a considerable amount of work.
That shouldn't discourage adventurous people from people from adapting thier own forums though.

Perhaps, I will take a standard version 3.4 and 'CSS' it properly if I get time.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 17 August 2002 :  12:42:56  Show Profile
Oh I didn't mean that as a reply to your reply, but as a remark in general. People seem to think that if they can do it for their own forums, they can do it for a release too, but that would require a team to work on it for some time.

Of course it'd help if people would give their inputs on what they'd want and how they did it for their forums, but there's still a long way to go before Snitz will get converted to CSS.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 17 August 2002 :  12:53:40  Show Profile  Visit D3mon's Homepage
Anyhoo, we got kinda strayed from the topic...

AFAIK, the only way CSS is 'cached' is if it is in an external style sheet that is linked in?

quote:
is if it is in an


(wow! how many consecutive two-letter words can you have in a sentence and still make sense! must be a record!)


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 17 August 2002 :  13:15:19  Show Profile
quote:
Originally posted by D3mon

quote:
is if it is in an


(wow! how many consecutive two-letter words can you have in a sentence and still make sense! must be a record!)



if it is in or on an
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 17 August 2002 :  13:43:43  Show Profile  Visit D3mon's Homepage
Oh, the joy of the English language!


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 August 2002 :  21:42:40  Show Profile  Visit Gremlin's Homepage
quote:
AFAIK, the only way CSS is 'cached' is if it is in an external style sheet that is linked in?

Which is how this is being used, but instead of linking to a plain .CSS file it links to a .ASP file which "creates" a CSS file as its output ... hmmm that make any sense heh

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 17 August 2002 :  21:57:10  Show Profile  Visit HuwR's Homepage
quote:

if you are not logged on, active.asp is 1.54M.


Where do you get this figure from ?
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 August 2002 :  22:00:57  Show Profile
After the page has loaded, in Internet Explorer you can choose (from the toolbar):

File --> Properties (or you can just right click anywhere on the webpage and choose properties)

and it will show you the page size, for Active.asp and not being logged on, I get:

1206874 bytes
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 August 2002 :  22:17:58  Show Profile  Visit Gremlin's Homepage
That sounds about right, I trimmed a huge amount of mine by going to CSS at least halved it iirc.

A big improvement could be made by if mLev=0 then defaulting to last days worth of topics perhaps ?

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 August 2002 :  22:28:02  Show Profile
right now it defaults to 10 days in the past, which is ok for a site that isn't that busy, but for this site, I think 1 day would be better.
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 17 August 2002 :  23:40:34  Show Profile  Visit Nathan's Homepage
Do guests really need access to the active topics? -- Just a thought.

quote:
if it is in or on an


How about : is if it is in or on an

Nathan Bales
CoreBoard | Active Users Download
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07