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.

General Questions /

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

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

Performance improvements for SilverStripe v3.0.x


Reply


4 Posts   446 Views

Avatar
knsqnt

Community Member, 85 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, 5513 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
knsqnt

Community Member, 85 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?