[Typo3] BaseURL cached?

Dennis Cheung hkdennis2k at gmail.com
Thu Dec 22 02:19:59 CET 2005


I've posted a solution before.

Add $this->baseUrl into getHash function in class.t3lib_ts_page.php
The worst case is you will have many copy of same page with different <base> tag


Dennis


On 12/22/05, Christoph Hofer <fiberpunk at super-fi.net> wrote:
> hello,
>
> AFAIK the base url-tag gets cached with the HTML of the page ... so,
> unless you disable all caching it would be difficult to have this kind
> of flexibility. at the moment i'm not 100% sure whether you could have
> an extension doing a preg_replace over the cached page-HTML prior to its
> final output ...
>
> cheers
>
>
>
> > Hello,
> >
> >
> >
> > I've been working on a problem. A website I'm working on uses RealURL,
> > so baseURL has to be enabled. It also has multiple domains. The problem
> > basicly is that the base tag in the header is cached. This means that if
> > you visit a page on one domain the base href will be set to that domain
> > (I use conditions to set config.baseURL per domain). The biggest problem
> > with this, other than switching between domains in one site is plain
> > ugly, is that external javascript can't be executed since it's loaded
> > from a different domain. Is there a way to make sure the base tag is
> > never cached, or is there any other way to solve this? Redirecting all
> > domains to one domain isn't an option in this case (due to search
> > machine optimisation and our client's preferences).
> >
> >
> >
> > Met vriendelijke groet,
> > Rudy Gnodde
> >
> >
> > WIND Internet
> > Tijnjedyk 89
> > 8936 AC Leeuwarden
> > Tel: 058 - 280 28 87
> >
> > Fax: 058 - 288 13 91
> > E-mail: gnodde.rudy at windinternet.nl
> > Internet: www.windinternet.nl <http://www.windinternet.nl>
> >
> >
> >
> >
> >
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list