You are not logged in.
- Topics: Active | Unanswered
#26 2009-01-22 02:55:34
- adama
- Member
- From: Wuxi China
- Registered: 2008-05-10
- Posts: 211
Re: OxygenB
Good.
Offline
#27 2009-01-22 05:14:39
- qie
- Member

- Registered: 2008-06-02
- Posts: 376
Re: OxygenB
i have also keep the original files if anybody needs that just picks a reply ^_^!
now show:光宇游戏
Offline
#29 2009-01-22 18:01:15
- xable
- Member
- Registered: 2008-05-13
- Posts: 145
Re: OxygenB
Is it really worth it xable, css files are generally cached.
Probably not, some people disable cache but probably not enough to make it worth it. If you insist on cutting the size down though I think it`s a good idea to have the origional available too.
I wouldn`t encourage realeasing a compressed version either, I said that more for the individual who might want to take the route of compressing.
Offline
#30 2009-01-23 00:46:25
- MattF
- Member

- From: South Yorkshire, England
- Registered: 2008-05-06
- Posts: 1,230
- Website
Re: OxygenB
Connor wrote:Is it really worth it xable, css files are generally cached.
Probably not, some people disable cache but probably not enough to make it worth it. If you insist on cutting the size down though I think it`s a good idea to have the origional available too.
I wouldn`t encourage realeasing a compressed version either, I said that more for the individual who might want to take the route of compressing.
I'd say quite the opposite regarding the subject. Having the original files as is, that point is obvious. The whole point of the original is readability and ease of editing. Cutting out all the comments and blank lines before compressing and serving them, however, can make a significant saving before server compression even takes place, so you are technically gaining twice. For example, compare these two files. They are the original, former, and the minimised, latter, versions:
http://forums.bauchan.org/devforum/styl … s/blue.css
http://forums.bauchan.org/devforum/styl … t_blue.css
Btw, I do have a regex to tweak there to stop it being quite so draconian on what it strips. ![]()
Screw the chavs and God save the Queen!
Offline
#32 2009-01-23 13:01:22
- qie
- Member

- Registered: 2008-06-02
- Posts: 376
Re: OxygenB
new bug comes.
>>
when you login with a user, click a forum, there is topic links. the new topic you haven't viewed should be "bold" link,the old topic you have read before should be "light" link,but there is no difference now.
keeps going with it.dude
Last edited by qie (2009-01-23 14:19:48)
now show:光宇游戏
Offline
#33 2009-01-23 16:18:17
- xable
- Member
- Registered: 2008-05-13
- Posts: 145
Re: OxygenB
MattF, I was refering to the benefits of compressing twice (I presume Connor was too) and not the potential space saving, that is obvious, at least for me.
For the few that browse without cache it`s only of benefit if the server isn`t compressing them.
Last edited by xable (2009-01-23 16:24:54)
Offline
#34 2009-01-23 16:59:48
- MattF
- Member

- From: South Yorkshire, England
- Registered: 2008-05-06
- Posts: 1,230
- Website
Re: OxygenB
MattF, I was refering to the benefits of compressing twice (I presume Connor was too) and not the potential space saving, that is obvious, at least for me.
For the few that browse without cache it`s only of benefit if the server isn`t compressing them.
The files aren't being compressed twice. They are being compressed once by the server. Reducing a files size is completely different to compressing a file. Nowhere in this thread has there been any reference to compressing, (in the true sense of the term), the file twice. With or without browser caching, a size reduction is a size reduction. That online page that Meow linked to doesn't compress a file. It removes needless space, comments and suchlike. The compression occurs at the server level alone.
Edit: Unless, of course, I have completely misinterpreted what you were inferring when you mentioned heavily 'compressing' a file?
Last edited by MattF (2009-01-23 17:02:40)
Screw the chavs and God save the Queen!
Offline
#35 2009-01-24 00:32:19
- xable
- Member
- Registered: 2008-05-13
- Posts: 145
Re: OxygenB
First compression: Removing white space, comments ect.
Second compression: By server.
Offline
#36 2009-01-24 01:50:29
- MattF
- Member

- From: South Yorkshire, England
- Registered: 2008-05-06
- Posts: 1,230
- Website
Re: OxygenB
I had understood correctly then.
Granted, it may only be, for example, a 1000< byte difference after both processes have been applied, but average that over, say, a thousand downloads, and those bytes start to add up. An extra bit of optimisation can't usually go amiss, even if it is only a small gain. ![]()
Btw, just for reference, here's a link to a script for achieving comment and space stripping and such:
http://csstidy.sourceforge.net/index.php
Edit: It would appear that it also cleans up general CSS coding errors, judging by the description.
Last edited by MattF (2009-01-24 01:53:21)
Screw the chavs and God save the Queen!
Offline
#37 2009-01-24 07:45:14
- Meow
- Member

- From: Taipei, Taiwan
- Registered: 2008-05-10
- Posts: 672
- Website
Re: OxygenB
when you login with a user, click a forum, there is topic links. the new topic you haven't viewed should be "bold" link,the old topic you have read before should be "light" link,but there is no difference now.
keeps going with it.dude
In 1.3, those links of topics are always bold, instead of a link of the author. So it is not a bug.
By the way, I've fixed a missed line because of an accident.
Chita, a feral furry paradise.
Offline
#38 2009-01-24 10:45:40
- qie
- Member

- Registered: 2008-06-02
- Posts: 376
Offline
#39 2009-01-24 10:47:58
- Connor
- Former Developer
- Registered: 2008-04-27
- Posts: 1,127
Re: OxygenB
First compression: Removing white space, comments ect.
Second compression: By server.
That doesn't mean it'll be a lot smaller by doing both, if your server compresses files it probably deals with whitespace quite well.
Offline
#40 2009-01-24 11:56:46
- qie
- Member

- Registered: 2008-06-02
- Posts: 376
Re: OxygenB
compress CSS file is meaningless. if you do compress CSS file kick it's space comments and so on,why you don't compress every php every template file so that there isn't blank comments and so on,so the server would parse the php more quick????
now show:光宇游戏
Offline
#42 2009-01-24 17:34:17
- xable
- Member
- Registered: 2008-05-13
- Posts: 145
Re: OxygenB
I`ll try to explain myself better in future, I think there has been some confusion here but hopefully I can clear it up here.
My origional post was just to point out that linking to an uncompressed version is a good idea to keep it useable for everyone, not just the origional file holder.
I`m not disputing the fact that manually compressing CSS can significantly reduce the size, that`s the whole point of doing it in the first place. I`m saying that it`s not worth the effort as the only time manual compression offers a worthy benifit is when the server doesn`t do any compressing (not that often).
Of course every little helps but if the server is compressing it already then the gain is so little it`s not really worth the effort.
Offline
#43 2009-01-24 17:57:00
- MattF
- Member

- From: South Yorkshire, England
- Registered: 2008-05-06
- Posts: 1,230
- Website
Re: OxygenB
xable wrote:First compression: Removing white space, comments ect.
Second compression: By server.That doesn't mean it'll be a lot smaller by doing both, if your server compresses files it probably deals with whitespace quite well.
There was no mention of it being a lot smaller.
Smaller is smaller, however, whichever way you slice it.
Screw the chavs and God save the Queen!
Offline
#44 2009-01-24 18:00:32
- MattF
- Member

- From: South Yorkshire, England
- Registered: 2008-05-06
- Posts: 1,230
- Website
Re: OxygenB
I`m not disputing the fact that manually compressing CSS can significantly reduce the size, that`s the whole point of doing it in the first place. I`m saying that it`s not worth the effort as the only time manual compression offers a worthy benifit is when the server doesn`t do any compressing (not that often).
If the compression is automatic, however, there's no effort involved. ![]()
In truth, it's notable just how many sites don't actually seem to compress their content.
Screw the chavs and God save the Queen!
Offline
#45 2009-01-24 18:06:01
- MattF
- Member

- From: South Yorkshire, England
- Registered: 2008-05-06
- Posts: 1,230
- Website
Re: OxygenB
compress CSS file is meaningless. if you do compress CSS file kick it's space comments and so on,why you don't compress every php every template file so that there isn't blank comments and so on,so the server would parse the php more quick????
I personally do strip empty lines before outputting the page. ![]()
Screw the chavs and God save the Queen!
Offline
#46 2009-01-31 08:58:49
- qie
- Member

- Registered: 2008-06-02
- Posts: 376
Re: OxygenB
Meow plz check this :


there got grey block i don't know what is that,the right side of the profile zone not neat...
Last edited by qie (2009-01-31 09:08:13)
now show:光宇游戏
Offline
#48 2009-01-31 12:43:05
- qie
- Member

- Registered: 2008-06-02
- Posts: 376
Offline
#49 2009-02-03 13:03:16
- qie
- Member

- Registered: 2008-06-02
- Posts: 376
Re: OxygenB
meow,
I'm thinking of this again,
if you do wanna keep the Fluxbb1.3 style of Bold links both with "unread" and "read" links,i'd agree with u.
anyhow if you could give me details of how to changed CSS to make the thread link style to 1.2 style.
i need unread thread link in Bold,but read links with normally link
Last edited by qie (2009-02-03 15:25:29)
now show:光宇游戏
Offline
#50 2009-02-04 06:41:34
- Meow
- Member

- From: Taipei, Taiwan
- Registered: 2008-05-10
- Posts: 672
- Website
Re: OxygenB
div.postleft dt,div.postmsg h4,div.tclcon a,div.forminfo h3,p.postlink,div.linkst li,div.linksb li,div.postlinksb li,.blockmenu li,.pun span.warntext,.pun p.warntext,#brdfooter p.conr a,#adstats dt{font-weight:700}What you should do is to remove:
div.tclcon a,Chita, a feral furry paradise.
Offline
