about Page Speed?

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
jarrodlsb
New Member
New Member
Posts: 2
Joined: Mon Dec 01, 2014 7:23 pm

about Page Speed?

Post by jarrodlsb »

Hi everyone, I have a problem with my site.

My website is loading very slow. I compressed the images already but it's still really slow. When I used the page speed plugin, it told me to compress my CSS.

What should I do about it.

Thanks.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: about Page Speed?

Post by JohnnyB »

If you using CMSMS Stylesheets you can compress them by removing all whitespace and unnecessary lines by adding

[[strip]]
to the very top of the file, above all CSS rules; and add the closing
[[/strip]]

to the very bottom of the file.

Or, I think there are some modules available that can do some compression on the fly for static, file based CSS.

If not, there are online tools to compress CSS and JS files.

Also, you can use {strip} {/strip} around some areas of content inside of template files to help compress the HTML. Be mindful of how the CMS parses layout templates and where you place the {strip}{/strip} tags.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: about Page Speed?

Post by paulbaker »

URL and system information (see my sig) would probably help give further pointers.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
HarmO
Power Poster
Power Poster
Posts: 251
Joined: Thu Jan 26, 2012 3:22 pm

Re: about Page Speed?

Post by HarmO »

check your site with http://GTmetrics.com could tell you exactly which file is making your website to load slow.

But some more info on your host and the link to the website would help us a bunch in helping you.
Kind regards,
HarmO
Post Reply

Return to “The Lounge”