#13: Configlet to specify alternative server
- Contents
- Proposed by
- Nate Aune
- Proposal type
- Architecture
- State
- being-discussed
Motivation
Even with iterator support, Zope is not a speed demon when it comes to serving up large files. For this reason, it should be possible for the site administrator to specify in a configlet that they want to have the files served from an alternate address.
Proposal
For example, if my site is: www.mysite.com
I should be able to specify: files.mysite.com where files is an Apache virtual host that has read access to $INSTANCE/var/files.
Then in the templates we need to check to see if this is set, and if so rewrite the URL to use files.mysite.com instead of www.mysite.com.