I have a problem that my installations frequently use too much resources on the server.
From my webhost I have been told that one problem is unnecessary dynamic generation of Java-script of the type
My understanding is that this generates a large number of calls, and my webhost recommends that I convert these to static Java-scripts.
Is there a way to do this?
stylesheet.php - server resources
Re: stylesheet.php - server resources
Hello,
I fail to see Javascript involved. This is plain HTML and CSS.
Do you have CMSms 1.5.1+ ? See the stylesheet cache expiration time in the admin panel. If you still have it to zero that stylesheet.php is launched quite too often. Put 600 to leave it last 10 minutes.
Pierre M.
I fail to see Javascript involved. This is plain HTML and CSS.
Do you have CMSms 1.5.1+ ? See the stylesheet cache expiration time in the admin panel. If you still have it to zero that stylesheet.php is launched quite too often. Put 600 to leave it last 10 minutes.
Pierre M.
-
- Forum Members
- Posts: 116
- Joined: Mon Jul 28, 2008 4:48 pm
Re: stylesheet.php - server resources
As Pierre said, you can change the cache expiration for the stylesheet, but I would get a new web host.olavt wrote: I have a problem that my installations frequently use too much resources on the server.
From my webhost I have been told that one problem is unnecessary dynamic generation of Java-script of the type
My understanding is that this generates a large number of calls, and my webhost recommends that I convert these to static Java-scripts.
Is there a way to do this?
If your site is not very busy and your host is complaining then it sounds like you are on an overloaded shared server. Get a new host.
If your site is very busy and your host is complaining then it sounds like you are on a shared server with insufficient capacity (memory, bandwidth, database, etc.). Get a new host, or pay your existing host for a VDS/dedicated server for the service you actually need/use.
Basically, if you host ever complains (and you're not doing something completely stupid), get a new host because they've probably crammed you onto an overloaded shared server with 1000 other websites.
Seriously, get a new web host.
Nick