This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » Around cache
expandshrink

Around cache

Around cache

Wednesday 22 January 2003 10:09:06 am - 1 reply

How can I disabled cache only for certains part (nodes, branchs or content_class) of my site?

For example: I don't want caching news or forum, but I want caching articles.

Thanks in advance
Adolfo Barragán

Wednesday 22 January 2003 8:45:32 pm

If you are going to use hosts, take a look at
http://developer.ez.no/bug/bugview/1790/ and http://developer.ez.no/forum/message/13492/ as host element lookup is bugged...
Then try
[SiteAccessSettings]
MatchOrder=host

HostMatchType=element
HostMatchElement=0

This will pull out the admin in admin.mydomain.com

Once you sort that virtual hosts should work fine assuming apache and bind stuff is sorted.

Tony

> > How can I disabled cache only for certains part (nodes,
> > branchs or content_class) of my site?
> >
> > For example: I don't want caching news or forum, but I
> want
> > caching articles.
>
> Do you use virtual hosts? If so, the sollution might be
> (dont use vh, i'm guessing):
>
> use news.yourdomain.com and forum.yourdomain.com for news
> and forum.
>
> Change your siteaccesssettings:
>
> [SiteAccessSettings]
> MatchOrder=host
> HostMatchRegexp=^(.+\..+)\.yourdomain\.com
> HostMatchSubtextPost=\.yourdomain\.com
>
> Add into
> settings/siteaccess/news/site.ini.append and
> settings/siteaccess/forum/site.ini.append the right cache
> settings. Site.ini.php contains the default access settings
> (=settings voor the www subdomain)
>
> If you don't use vh, try to use the IndexMatchRegexp for
> index.php, index_admin.php, index_news.php,
> index_forum.php.
>
> See:
> http://ezwiki.blanko.info/index.p...ith%20one%20installation%20%283.x%29

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from