FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 11-16-2009, 06:08 PM
Mike McGrath
 
Default Enabling wiki cache for ticket 1795

---
modules/fedora-web/files/cache.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/fedora-web/files/cache.conf b/modules/fedora-web/files/cache.conf
index fdd4f9e..2f11448 100644
--- a/modules/fedora-web/files/cache.conf
+++ b/modules/fedora-web/files/cache.conf
@@ -1,7 +1,7 @@
<IfModule mod_disk_cache.c>
CacheRoot /srv/cache/mod_cache
# Disabled for normal use, to be enabled on release days
- #CacheEnable disk /wiki/
+ CacheEnable disk /wiki/

CacheEnable disk /static/
CacheEnable disk /wiki/Image:
--
1.6.2.5

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 11-16-2009, 06:47 PM
Ricky Zhou
 
Default Enabling wiki cache for ticket 1795

On 2009-11-16 01:08:24 PM, Mike McGrath wrote:
> ---
> modules/fedora-web/files/cache.conf | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/modules/fedora-web/files/cache.conf b/modules/fedora-web/files/cache.conf
> index fdd4f9e..2f11448 100644
> --- a/modules/fedora-web/files/cache.conf
> +++ b/modules/fedora-web/files/cache.conf
> @@ -1,7 +1,7 @@
> <IfModule mod_disk_cache.c>
> CacheRoot /srv/cache/mod_cache
> # Disabled for normal use, to be enabled on release days
> - #CacheEnable disk /wiki/
> + CacheEnable disk /wiki/
>
> CacheEnable disk /static/
> CacheEnable disk /wiki/Image:
> --
> 1.6.2.5
+1, but isn't this adding another layer on top of the caching that
mediawiki already has? I remember having some trouble remembering to
flush all of those caches in the past.

Thanks,
Ricky
_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 11-16-2009, 06:51 PM
Stephen John Smoogen
 
Default Enabling wiki cache for ticket 1795

On Mon, Nov 16, 2009 at 12:08 PM, Mike McGrath <mmcgrath@redhat.com> wrote:
> ---
> *modules/fedora-web/files/cache.conf | * *2 +-
> *1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/modules/fedora-web/files/cache.conf b/modules/fedora-web/files/cache.conf
> index fdd4f9e..2f11448 100644
> --- a/modules/fedora-web/files/cache.conf
> +++ b/modules/fedora-web/files/cache.conf
> @@ -1,7 +1,7 @@
> *<IfModule mod_disk_cache.c>
> * CacheRoot /srv/cache/mod_cache
> * # Disabled for normal use, to be enabled on release days
> - *#CacheEnable disk /wiki/
> + *CacheEnable disk /wiki/
>
> * CacheEnable disk /static/
> * CacheEnable disk /wiki/Image:

A couple of questions before my answer....

*) What are the steps for clearing/cleaning the cache?
*) What does this cache gain us and how does it affect dynamic content.

Thanks.



--
Stephen J Smoogen.

Ah, but a man's reach should exceed his grasp. Or what's a heaven for?
-- Robert Browning

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 11-16-2009, 07:27 PM
Mike McGrath
 
Default Enabling wiki cache for ticket 1795

On Mon, 16 Nov 2009, Stephen John Smoogen wrote:

> On Mon, Nov 16, 2009 at 12:08 PM, Mike McGrath <mmcgrath@redhat.com> wrote:
> > ---
> > *modules/fedora-web/files/cache.conf | * *2 +-
> > *1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/modules/fedora-web/files/cache.conf b/modules/fedora-web/files/cache.conf
> > index fdd4f9e..2f11448 100644
> > --- a/modules/fedora-web/files/cache.conf
> > +++ b/modules/fedora-web/files/cache.conf
> > @@ -1,7 +1,7 @@
> > *<IfModule mod_disk_cache.c>
> > * CacheRoot /srv/cache/mod_cache
> > * # Disabled for normal use, to be enabled on release days
> > - *#CacheEnable disk /wiki/
> > + *CacheEnable disk /wiki/
> >
> > * CacheEnable disk /static/
> > * CacheEnable disk /wiki/Image:
>
> A couple of questions before my answer....
>
> *) What are the steps for clearing/cleaning the cache?

from proxyX; rm -rf /srv/cache/mod_cache/*

> *) What does this cache gain us and how does it affect dynamic content.
>

We can serve far more people during this time. As far as dynamic content,
it depends on what you mean by that. On the wiki we don't really have
dynamic content any more then the non-wiki site does. Someone has to go
in and make a change. This will delay that change which is why we don't
use it under normal conditions, only on release days.

-Mike

> Thanks.
>
>
>
> --
> Stephen J Smoogen.
>
> Ah, but a man's reach should exceed his grasp. Or what's a heaven for?
> -- Robert Browning
>
> _______________________________________________
> Fedora-infrastructure-list mailing list
> Fedora-infrastructure-list@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
>_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 11-16-2009, 07:28 PM
Mike McGrath
 
Default Enabling wiki cache for ticket 1795

On Mon, 16 Nov 2009, Ricky Zhou wrote:

> On 2009-11-16 01:08:24 PM, Mike McGrath wrote:
> > ---
> > modules/fedora-web/files/cache.conf | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/modules/fedora-web/files/cache.conf b/modules/fedora-web/files/cache.conf
> > index fdd4f9e..2f11448 100644
> > --- a/modules/fedora-web/files/cache.conf
> > +++ b/modules/fedora-web/files/cache.conf
> > @@ -1,7 +1,7 @@
> > <IfModule mod_disk_cache.c>
> > CacheRoot /srv/cache/mod_cache
> > # Disabled for normal use, to be enabled on release days
> > - #CacheEnable disk /wiki/
> > + CacheEnable disk /wiki/
> >
> > CacheEnable disk /static/
> > CacheEnable disk /wiki/Image:
> > --
> > 1.6.2.5
> +1, but isn't this adding another layer on top of the caching that
> mediawiki already has? I remember having some trouble remembering to
> flush all of those caches in the past.
>

This caches at the proxy layer which is much closer to the user and much
less likely to get overwhelmed then the app layer since the proxy layer
doesn't do much.

-Mike

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 

Thread Tools




All times are GMT. The time now is 11:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org