Forum OpenACS Development: Re: Customizations

Collapse
5: Re: Customizations (response to 4)
Posted by Malte Sussdorff on
How about using the subsite_id instead? This is not going to change for your custom site, even if you rename your subsite. I would just have one additional keyword like "custom" which is applicable to all pages regardless of subsite.

Having an "off" switch will most certainly help. Caching does not make any sense in my opinion. But to speed things up I would use a delimiter not commonly used in URLs, like "index+custom.tcl", so the RP can very quickly check if there is a file that matches this pattern in the file system (if we were to use "-" this will bring issues with index-2 and so on and so forth)

Collapse
9: Re: Customizations (response to 5)
Posted by Emmanuelle Raffenne on
Hi,

I don't like using subsite_id since it will be different in each installation, by installation I'm thinking about development and production servers of the same site.