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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

Rsync static publisher and dynamic content

Go to End

2 Posts   1038 Views


Community Member, 25 Posts

16 May 2011 at 7:08pm

Assuming you have a large site with a lot of traffic, generating static files would probably be the best thing you can do. But what options do you have if some of your pages need to be dynamic and you also have multiple servers that handle the requests? If I understand the documentation correctly, you can set up the static publisher to also rsync modified files to other servers, but this means that you can no longer have any dynamic content, is this correct?


Forum Moderator, 5523 Posts

17 May 2011 at 4:17pm

Edited: 17/05/2011 4:17pm

No, you can still have dynamic content if you have multiple front end webservers but each of those webservers needs to be setup to use the same single database (rather than 1 on each machine) and you'll also need to sync the entire silverstripe installation for the dynamic pages to work rather than just the static html. That is unless you have some setup on your load balancer to ensure requests to non static pages are served from the non static server but I've never experimented with that.