Page 1 of 1

Stylesheets cache setting

Posted: Wed May 13, 2009 6:58 pm
by replytomk3
For the following setting,
Maximum amount of time (seconds) stylesheets can be cached in the browser:
what value can I use other than zero for a site like www.mkrd.info? I have looked thru documentation, Geegle, etc, but it is now explained anywhere.

Re: Stylesheets cache setting

Posted: Wed May 13, 2009 9:06 pm
by viebig
Depends on how much you will update the stylesheet.

If you dont plan to change it never go for a high value, likeĀ  2592000 (a month)

Also, for your reference:

1 hour = 3600 seconds
1 day = 86400 seconds
1 week = 604800 seconds

Regards

Re: Stylesheets cache setting

Posted: Tue May 19, 2009 6:57 am
by replytomk3
Why isn't "notify me of replies" enabled by default??? Ok, I have been tweaking the settings, let's see if it works now.

OK, how about the case that I have uploaded my stylesheets, but no longer change them? Should I set this to a very high value, but change to zero before/after I upload a change? Should I then change it again to a high value untill the next change?

I think that this is what most people have with their stylesheets (updated only from time to time). So how bad is it to keep this value at zero? Any performance/speed problems?

Re: Stylesheets cache setting

Posted: Tue May 19, 2009 6:58 pm
by viebig
stylesheet loading eat some milisseconds.

set it for a week.

Also it depends on your visitors. It's you call


Regards

G

Re: Stylesheets cache setting

Posted: Tue May 19, 2009 7:20 pm
by replytomk3
Sounds like it is worth including it into CMSMS to say "set to 604800 if you are not editing stylesheets". I have also heard that browsers cannot load stylesheets in parallel, only one after another. So it sounds like worth including that instruction into CMSMS.

Re: Stylesheets cache setting

Posted: Tue May 19, 2009 7:22 pm
by calguy1000
replytomk3 wrote: Sounds like it is worth including it into CMSMS to say "set to 604800 if you are not editing stylesheets". I have also heard that browsers cannot load stylesheets in parallel, only one after another. So it sounds like worth including that instruction into CMSMS.
You've just been drafted.

Re: Stylesheets cache setting

Posted: Tue May 19, 2009 8:52 pm
by JeremyBASS
replytomk3 wrote: I have also heard that browsers cannot load stylesheets in parallel, only one after another.
Hello, That is not true.. little proof for you...

http://www.digitalbarn.tv/

you thinking of JS... that can't be loaded in parallel in most case... but that too has a clase...

Cheers

***edit****

if you try to load the php created css it cannot load in parallel that may also be what your thinking to...

Re: Stylesheets cache setting

Posted: Tue May 19, 2009 10:33 pm
by replytomk3
JeremyBASS wrote:
replytomk3 wrote: I have also heard that browsers cannot load stylesheets in parallel, only one after another.
Hello, That is not true.. little proof for you...
you thinking of JS... that can't be loaded in parallel in most case... but that too has a clase...

Yes, it was probably JS. So, in the spirit of tweaking everything, now I am trying this: http://floele.flyspray.org/csstidy//css_optimiser.php

Re: Stylesheets cache setting

Posted: Wed May 20, 2009 3:11 pm
by viebig
also you can keep the stylesheet outside of CMSMS.

And set caching option per extension on .htaccess.

If you have mod_gzip there is no need to make the code smaller.

How many thousand visits you're expecting per hour?

Regards

G

Re: Stylesheets cache setting

Posted: Wed May 20, 2009 4:35 pm
by replytomk3
viebig wrote:
How many thousand visits you're expecting per hour?
0.07. Don't laugh. You asked, I answered.