I have several FS based skins that use DTML ... I've been controlling
caching through the usual:
<dtml-call "RESPONSE.setHeader('Expires', _.DateTime(_.DateTime().timeTime()
This has worked well for me for some time now ...
But, for some reason, now it seems bobobase_modification_time comes out
It's stuck at some date in October, even though the files are far more
recent. This is causing problems with web browsers that have stale code
when they shouldn't, breaks my AJAX interfaces, etc ...
I saw FSObject has getModTime(), but I can't seem to call it from anywhere?
I tried in the header, or in a separate Python Script, to no avail.
So for now, clients are still being told that their months old .js file has
not been modified, even though it has :( (Which is causing me nightmares)
Any know what's going on? A quick fix? A better idea? Any help would be
(This is Zope 2.7.4 with CMF 1.5.0 running on ZEO, I'm working on a major
rewrite with much more up to date versions ...)
Internet Service Development and Systems Support / Spécialiste de
dèveloppements internet et soutien technique
Canada Centre for Remote Sensing/Centre Canadien de télédétection
Natural Resources Canada/Ressources Naturelles Canada
Tel./Tél.: (613) 992-4902
Fax: (613) 947-2410
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests