Stylesheets cache setting

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
replytomk3

Stylesheets cache setting

Post 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.
viebig

Re: Stylesheets cache setting

Post 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
replytomk3

Re: Stylesheets cache setting

Post 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?
Last edited by replytomk3 on Tue May 19, 2009 7:00 am, edited 1 time in total.
viebig

Re: Stylesheets cache setting

Post by viebig »

stylesheet loading eat some milisseconds.

set it for a week.

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


Regards

G
replytomk3

Re: Stylesheets cache setting

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Stylesheets cache setting

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
JeremyBASS

Re: Stylesheets cache setting

Post 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...
Attachments
Untitled-1.gif
Last edited by JeremyBASS on Tue May 19, 2009 8:53 pm, edited 1 time in total.
replytomk3

Re: Stylesheets cache setting

Post 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
viebig

Re: Stylesheets cache setting

Post 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
replytomk3

Re: Stylesheets cache setting

Post by replytomk3 »

viebig wrote:
How many thousand visits you're expecting per hour?
0.07. Don't laugh. You asked, I answered.
Last edited by replytomk3 on Wed May 20, 2009 4:47 pm, edited 1 time in total.
Locked

Return to “CMSMS Core”