Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Performance improvements for SilverStripe v3.0.x


Go to End


4 Posts   878 Views

Avatar
MarioSommereder

Community Member, 107 Posts

2 May 2013 at 9:47pm

Hi,

are there any performance improvements for the version 3.0.x of SilverStripe CMS?

All topics I found here were written before v 3.0.x was released.

Thanks.

Cheers, Mario

Avatar
Bambii7

Community Member, 254 Posts

3 May 2013 at 6:21pm

Here are some caching ideas for SS 3
http://doc.silverstripe.org/framework/en/reference/staticpublisher

Basic performance boost in _config.php file add
Object::add_extension("SiteTree", "FilesystemPublisher('cache/', 'html')");
and adjust .htaccess file
from
RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
to
RewriteRule .* framework/static-main.php?url=%1&%{QUERY_STRING} [L]

Avatar
Willr

Forum Moderator, 5523 Posts

3 May 2013 at 8:30pm

Make sure you're using a opcode cache. Partial caching is an easy tool for caching your web front end.

As with any application performance work, looking at the numbers is the best way to identify what to improve. I use XHProf to get a list of methods and from there determine what to look into.

Static publishing is great for basic content websites without any interaction but does take a bit more effort to setup.

Avatar
MarioSommereder

Community Member, 107 Posts

3 May 2013 at 8:41pm

Thanks for the hints. Will try that or just get the guys a faster server :-)

This one, Willr? https://github.com/gajus/xhprof.io

We're currently trying to implement New Relic http://newrelic.com/ to the website. Has anyone any experiences with that?