RES: [opencms-dev] cache? big problem
BRAGA Bruno Gonçalves
bruno.braga at globalvalue.com.br
Mon May 30 13:45:45 CEST 2005
Because nobody never answers what I ask?
This would not have to be one mailing list?
_____
De: BRAGA Bruno Gonçalves [mailto:bruno.braga at globalvalue.com.br]
Enviada em: quarta-feira, 25 de maio de 2005 16:42
Para: The OpenCms mailing list
Assunto: [opencms-dev] cache? big problem
I'm with a problem in the OpenCMS that seems to be cache.
When read resources (cmsObject.readResouces()), seems that it does not go
direct to the DB (probably for performance question).
Then, if I to have access of my application the CMS Shell, to list archives,
and later I to make login in the OpenCMS explorer and delete some archive
that I listed. He goes to give CRASH (file not found) in the next time that
to have access the archives for my application (it does not go to recognize
that the archives had been deleted).
If I to make restart of my application, I come back to the normal one,
because he seems that the OpenCMS makes cache of the archives in start. This
is correct? It has as not to happen this?
Based in this I have one another problem, that must have the same cause.
If I to execute command below, many times it not backwards the waited
result, wrong archives or not backwards none.
cmsObject.readResourcesWithProperty(path, property, value);
After a time, if I to give restart, mysteriously the command above I start
to bring the correct results (without modifying nothing in source).
What I think: it also must be some type of cache that it was keeping old
status of resources, and when it brought up to date came back to function.
I would be 90% convinced of that it would be some type of cache, if the
command below brought given outdated of resource.
cmsObject.readPropertyObject(path, property, false);
But readPropertyObject backwards correctly, and readResourcesWithProperty
does not function all the times. Only exists cache for search? It is this?
How I prevent this problem?
My OpenCMS is v6 beta 3.
Thank you
Bruno Braga
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050530/81d878ea/attachment.htm>
More information about the opencms-dev
mailing list