Multi domain Url caching problem

Author Message

Dominic Mercier

Monday 04 December 2006 9:28:41 am

Hello,

I have 2 different domain names linked on same siteaccess:
Ex:
www.domainA.com --> /index.php/mySite
www.domainB.com --> /index.php/mySite

I need ezroot to provide correct url depending on which domain I am. I found that ezroot result is cached in template so it depends on which domain you first view a template. ><

I'd like to avoid url caching. Is this possible ?
Or i'm trying to solve this the wrong way ?

Thank you! :)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:39:09
Script start
Timing: Jan 31 2025 00:39:09
Module start 'layout'
Timing: Jan 31 2025 00:39:09
Module start 'content'
Timing: Jan 31 2025 00:39:09
Module end 'content'
Timing: Jan 31 2025 00:39:09
Script end

Main resources:

Total runtime0.0390 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.1563151.2109
Module start 'layout' 0.00770.0047 739.3672220.6875
Module start 'content' 0.01240.0251 960.0547993.6953
Module end 'content' 0.03760.0014 1,953.750029.9922
Script end 0.0390  1,983.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00256.4359140.0002
Check MTime0.00102.6863140.0001
Mysql Total
Database connection0.00338.479710.0033
Mysqli_queries0.00317.944030.0010
Looping result0.00000.043410.0000
Template Total0.00102.510.0010
Template load0.00071.913610.0007
Template processing0.00020.574110.0002
Override
Cache load0.00051.244810.0005
General
dbfile0.00358.868180.0004
String conversion0.00000.023240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs