Tres Seaver wrote:
Where and how are they implemented?
Products.CMFCore.CachingPolicyManager.createCPContext.
Cool, thanks :-)
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML en
On Thu, 2003-09-25 at 06:41, Chris Withers wrote:
> Tres Seaver wrote:
> > I have wanted to add a binding to the TALES namespace to allow access to
> > the "skin object" for some time: the current values in the namespace
> > are:
> >
> > 'content' -- the skin object's aq_parent
> >
> > '
Tres Seaver wrote:
I have wanted to add a binding to the TALES namespace to allow access to
the "skin object" for some time: the current values in the namespace
are:
'content' -- the skin object's aq_parent
'view' -- the skin object's name (a really bad choice for the key)
'keywords'
Fred Yankowski wrote:
I use Squid as an HTTP accelerator in front of ZServer. What do
last-modified headers have to do with this discussion?
I thought that was how this thread started. I must have mis-read something.
I use a standard HTTP Cache Manager for all our caching needs - I have
yet t
On Thu, Sep 18, 2003 at 11:09:57AM +0100, seb bacon wrote:
> I use squid, which doesn't require last-modified headers. I guess
> that's not an option for you, or you'd probably already be using it ;-)
> But in any case, I don't see why Shane's suggestion of uncommenting
> the last-modified lin
Fred Yankowski wrote:
That makes sense. Is there a way to do that with the CMF 1.4
version of the "CPM"? One could, I suppose, test the names of the
FSDV folders in CPM predicates, but that seems a royal PITA. That's
why I'm making do with one-size-fits-all CPM policy for now.
Here's how I handl
On Wed, 2003-09-17 at 19:10, Fred Yankowski wrote:
> On Wed, Sep 17, 2003 at 06:25:47PM -0400, Tres Seaver wrote:
> > I have wanted to add a binding to the TALES namespace to allow access to
> > the "skin object" for some time: the current values in the namespace
> > are:
> >
> > 'content' --
On Wed, Sep 17, 2003 at 06:25:47PM -0400, Tres Seaver wrote:
> I have wanted to add a binding to the TALES namespace to allow access to
> the "skin object" for some time: the current values in the namespace
> are:
>
> 'content' -- the skin object's aq_parent
That definition matches the reali
On Wed, 2003-09-17 at 17:38, Fred Yankowski wrote:
> My original question concerned a detail of how the CMF Caching Policy
> Manager interprets the 'Predicate' of a caching policy: it seems to
> interpret any 'content' object in that predicate as a reference to the
> *parent* object of the object
On Wed, Sep 17, 2003 at 10:03:15AM -0400, Tres Seaver wrote:
> On Wed, 2003-09-17 at 07:26, Chris Withers wrote:
> > Fred Yankowski wrote:
> > >>>
> > >>> python: content.meta_type == 'Filesystem Image'
> > >>
> > >>Do you have any content with this metatype?
> > >
> > > There is nothing in the po
On Wed, 2003-09-17 at 07:26, Chris Withers wrote:
> Fred Yankowski wrote:
> >>>
> >>> python: content.meta_type == 'Filesystem Image'
> >>
> >>Do you have any content with this metatype?
> >
> > There is nothing in the portal_catalog with that meta_type. But there
> > are lots of objects with t
Fred Yankowski wrote:
python: content.meta_type == 'Filesystem Image'
Do you have any content with this metatype?
There is nothing in the portal_catalog with that meta_type. But there
are lots of objects with that type: most everything in
portal_skins/plone_images/, for example.
Oh, I getcha now
On Mon, Sep 15, 2003 at 01:14:51PM +0100, Chris Withers wrote:
> Fred Yankowski wrote:
> >But I can't see how to create more restrictive Predicate. My initial
> >attempt was to set Predicate like so:
> >
> > python: content.meta_type == 'Filesystem Image'
>
> Do you have any content with this
Fred Yankowski wrote:
But I can't see how to create more restrictive Predicate. My initial
attempt was to set Predicate like so:
python: content.meta_type == 'Filesystem Image'
Do you have any content with this metatype?
Try this script:
for brain in context.portal_catalog():
obj = brain.get
On Fri, Sep 12, 2003 at 10:13:44AM -0400, Tres Seaver wrote:
> The CMF's CachingPolicyManger, which is specialized for caching skin
> methods, already has such customizations: it allows spelling the
> 'Last-Modified' header using a TALES expression, and also has checkboxes
> for the 'no-cache', 'n
On Fri, 2003-09-12 at 09:51, Shane Hathaway wrote:
> Germer, Carsten wrote:
> > Thanks Bjorn, now I remember the last-modified issue.
> > As I remember it, someone said that the line is commented out for a reason
> > not known... that's why I didn't change it :)
>
> It has always been commented ou
Germer, Carsten wrote:
Thanks Bjorn, now I remember the last-modified issue.
As I remember it, someone said that the line is commented out for a reason
not known... that's why I didn't change it :)
It has always been commented out in CVS. That may have been a
mistake--it may have been a temporary
Thanks Bjorn, now I remember the last-modified issue.
As I remember it, someone said that the line is commented out for a reason
not known... that's why I didn't change it :)
/Carsten
> -Ursprüngliche Nachricht-
> Von: Bjorn Stabell [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 12. Septe
18 matches
Mail list logo