-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Emiliano
- --On 28.03.2002 09:58:28 +0100 Emiliano wrote: >> > Hmm... so, there are cache elements but only page elements... but >> > midgard-pageresolve _does_ add the style elements? >> >> Right. It goes a step further: midgard-pageresolve actually cleans >> the cache table and refills it with the correct value for one page. >> Look at this: > > Try running midgard-pageresolve -n. This will only refill the cache if > it thinks it's stale. Tests see below, I'm having the very same problem now with m-p too. > FWIW, the cache is (logically) current, because there are elements, > so I expect midgard-pageresolve to do what MMP does (not re-fill the > cache). The question remains why midgard-pageresolve does fill the > cache, while MMP only does so partially. MMP and m-p do behave similarily. The first call to the system is always successful. This is the case if the cache table is empty and the pagecache directory is cleared. Then the cache gets correctly filled. >> And it is the cause why you cannot trigger the problem with >> midgard-pageresolve. It deletes the cache and, as shown above, the >> very first call to the system is successful. > > Try this: clear the cache manually (DELETE FROM cache;), then run > midgard-pageresolve with -n. I cleared the cache table _and_ deleted the existent Cache files, then did this: seneca:/# midgard-pageresolve -n -S 195.30.85.211 -N torben_mgd -U torben -P "xxxxxxx" -h seneca.link-m.de -p 8080 -u /asgard/style/view/2.html -r /usr/lib/apache/1.3/midgard-root.php -d /tmp/page40.html -v > /tmp/page40.log mysql> select count(id),type,page from cache group by type,page order by page; +-----------+------+------+ | count(id) | type | page | +-----------+------+------+ | 9 | 0 | 40 | | 33 | 1 | 40 | +-----------+------+------+ 2 rows in set (0.00 sec) Looks good so far. I now requested another page: seneca:/# midgard-pageresolve -n -S 195.30.85.211 -N torben_mgd -U torben -P "xxxxxxx" -h seneca.link-m.de -p 8080 -u /asgard/page -r /usr/lib/apache/1.3/midgard-root.php -d /tmp/page.html -v > /tmp/page.log Now this is interesting: mysql> select count(id),type,page from cache group by type,page order by page; +-----------+------+------+ | count(id) | type | page | +-----------+------+------+ | 9 | 0 | 38 | | 9 | 0 | 40 | | 33 | 1 | 40 | +-----------+------+------+ 3 rows in set (0.01 sec) The very same beahvoir as when I use a browser to test this... Live long and prosper! Torben Nehmer - -- Torben Nehmer, Munich, Germany http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED] PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Weitere Infos: siehe http://www.gnupg.org iD8DBQE8ouBDJPh4Kn6d5FYRAoEeAKCH//Z7EhMXATrC3Dr5Xxi2NRZ/eQCeNkTs FpQsmg6gHh2DCE7b5Cxk8S4= =Ycdz -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
