Multiple Domain names all pointing to one C5 installation share one cached block file
Permalink
I have an installation of C5.
I have 30 domains where each domain has this one installation as their 'root' ( ie I am not forwarding the domain names to one domain name assigned to the installation ).
The result is that I have to turn OFF all caching of the blocks, pages, etc because what I was experiencing was as follows :
a ) With all cache features turned ON... via the system control panel
b ) Clear all caches via the system control panel
c ) Clear all cached files from my browser.
d ) Go to ABCcom domain and surf around the pages via your web browser
NOW...
e ) Open up a new browser window and...
f ) Go to XYZ.com domain ( which is configured to go and use the same root directory as that where the installation of ABC.com's C5 installation is
g ) You will note that the Address url in the top of the browser correctly shows you are on the XYZ.com site... now...
g ) Hover over any blocks that contain links... and take a look at the link shown...
With the system set to ON for cache pages, blocks, etc.. the links showing will reflect the ABC.com destinations that were originally cached by the C5 system.
It is sort of a cross pollination of links appearing from whatever blocks were cached.
The only way I have been able to keep only links showing uniquely to the specific domain name the user entered the site with by turning OFF all the caching features offered via the C5 system panel settings.
In this way each unique domain name used to arrive at the site will use only that domain name in all links it loads to display to the user, whereas a cached site will make use of the same initially cached page or block and whatever domain name was used at the time of the cache file creation...
I assume this is because ALL of the domain names that point to and use a single C5 installation all share and use the same cached files.
Is there any way to enjoy the benefits of caching - and yet allow each of the various unique domain names to use their unique domain name within the URL of the links displayed under that unique domain name ?
I am almost imagining that the only way to solve this specific problem would be to cache files and be able to retrieve cache files specific to each unique domain name that is used to create the cached file. So instead of XYZ.com calling for a communal cached file that was created by ABC.com, it would instead retrieve and display the page that was cached specifically for use by XYZ.com.
It would create a lot of cached files... but at least it would promulgate the specific cached pages that relate contain only links and URLS specific to that instance of caching by XYZ.com And similarly, ABC.com would only retrieve and use cached files specifically created by the ABC.com domain
Or am I totally missing some far easier thing for keeping the uniqueness of the links for each domain name by turning OFF the caching features ?
I have 30 domains where each domain has this one installation as their 'root' ( ie I am not forwarding the domain names to one domain name assigned to the installation ).
The result is that I have to turn OFF all caching of the blocks, pages, etc because what I was experiencing was as follows :
a ) With all cache features turned ON... via the system control panel
b ) Clear all caches via the system control panel
c ) Clear all cached files from my browser.
d ) Go to ABCcom domain and surf around the pages via your web browser
NOW...
e ) Open up a new browser window and...
f ) Go to XYZ.com domain ( which is configured to go and use the same root directory as that where the installation of ABC.com's C5 installation is
g ) You will note that the Address url in the top of the browser correctly shows you are on the XYZ.com site... now...
g ) Hover over any blocks that contain links... and take a look at the link shown...
With the system set to ON for cache pages, blocks, etc.. the links showing will reflect the ABC.com destinations that were originally cached by the C5 system.
It is sort of a cross pollination of links appearing from whatever blocks were cached.
The only way I have been able to keep only links showing uniquely to the specific domain name the user entered the site with by turning OFF all the caching features offered via the C5 system panel settings.
In this way each unique domain name used to arrive at the site will use only that domain name in all links it loads to display to the user, whereas a cached site will make use of the same initially cached page or block and whatever domain name was used at the time of the cache file creation...
I assume this is because ALL of the domain names that point to and use a single C5 installation all share and use the same cached files.
Is there any way to enjoy the benefits of caching - and yet allow each of the various unique domain names to use their unique domain name within the URL of the links displayed under that unique domain name ?
I am almost imagining that the only way to solve this specific problem would be to cache files and be able to retrieve cache files specific to each unique domain name that is used to create the cached file. So instead of XYZ.com calling for a communal cached file that was created by ABC.com, it would instead retrieve and display the page that was cached specifically for use by XYZ.com.
It would create a lot of cached files... but at least it would promulgate the specific cached pages that relate contain only links and URLS specific to that instance of caching by XYZ.com And similarly, ABC.com would only retrieve and use cached files specifically created by the ABC.com domain
Or am I totally missing some far easier thing for keeping the uniqueness of the links for each domain name by turning OFF the caching features ?