Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Offline
#17 2005-05-11 17:28:55
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_cache: experiment
http://thresholdstate.com/download/zem_cache-0.5.txt
Fixes a stupid error that prevented flushing the cache (thanks Sencer). Also has some smarter logic for creating/re-creating the cache directory.
Alex
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
We can update the plugin without problem ? (I have this http://thresholdstate.com/download/zem_cache-0.4.txt one)
Thanks !
Sorry for my french english.
Trucs et bidules GT4 Club driver France Undergardment Lingerie
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
Zem, i have a problem with :
< txp:older>Rédactions Précédente< /txp:older>
< txp:newer>Rédactions Suivante< /txp:newer>
If the < txp:article /> is cached, it’s not working, if the cache is flushed it works.
Can see it here : http://ckkoshi.free.fr/
The cache id for my < txp:article /> is id=“05”
Is it resolvable ? I understand the problem and it seems to be complicated.
Sorry for my french english.
Trucs et bidules GT4 Club driver France Undergardment Lingerie
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
A small glitch to mention… if you cache the begining of a page, IE/Win would go back to quirks render mode. The plugin add a HTML comment, and in our case before the DTD, and IE/Win don’t like this at all.
So if you rely on IE standard compliance mode (well, the IE kind anyway), don’t cache the DTD.
Offline
#21 2005-05-12 15:37:56
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_cache: experiment
> The plugin add a HTML comment, and in our case before the DTD, and IE/Win don’t like this at all.
Good point, thanks – hadn’t occurred to me this could be a problem.
Alex
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
Well, it’s not a major one. But it was worth mentionning to save some time to people having things fall apart suddenly :)
Offline
#23 2005-08-02 10:33:54
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] zem_cache: experiment
Would be nice if this plugin could be submitted to textpattern.org. I did´nt find any Infos on it on Zem´s site at all. May be i am blind …
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
It works fine with the latest release. Thanx Zem.
Edit:
I do get some errors when in debugging mode. It works just fine when the production status is live.
Last edited by creativesplash (2005-08-03 16:22:48)
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
#25 2006-05-08 01:54:09
- Logoleptic
- Plugin Author

- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] zem_cache: experiment
This is a great plugin, but it doesn’t travel well.
I was trying to move a site from my development database on my local machine to the live database on my web server. I noticed that zem_cache was throwing errors in the admin interface, and was refusing to cache anything in /textpattern/tmp/[random name]. I tried turning the plugin on and off, removing and then restoring all the <txp:zem_cache></txp:zem_cache> tag pairs I’d set up, un-installing and re-installing the plugin, all with no result.
Finally, I looked in the database to see if zem_cache was hiding its cache directory settings there. Lo and behold, a field called zem_cache_dir in the txp_prefs table was the super-secret location where this plugin keeps track of the cache directory.
Could we please move this to the admin interface, so people who do development on localhost don’t have to tear their hair out? Better yet, why not only store the hashed sub-directory name that zem_cache uses in the zem_cache_dir field, then query for the Txp temp dir at runtime and concatenate the two? Sure would’ve saved me a lot of headaches.
I’m sorry to complain so much, but I’ve just lost a lot of time figuring this out.
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
| Homepage | Runtime | Queries | Query Time |
|---|---|---|---|
| Before Plugin | 1.4437 | 39 | 0.090108 |
| Fresh Copy | 0.0750 | 38 | 0.042339 |
| Cached Copy | 0.0313 | 7 | 0.016149 |
Thanks zem! My server’s kind of old (but fortunately being upgraded soon), so this really helps.
Last edited by deldindesign (2006-05-31 07:46:35)
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
just experimented a bit with this plugin and it really improved my sites speed.
(some stats: Runtime: 0.0980, Query time: 0.020536, Queries: 17) (before i had roughly about 58 queries…)
i have a question though: would it be possible to flush the cache if there is a new comment on an article? sencer told me it should be possible in 4.0.3, that’s why i’m asking ;)
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
This plugin is really great and well-coded, it should be included into Textpattern.
However people have to learn what to cache and what not to cache, it’s not always obvious.
Thanks to Textpattern and this plugin, my website’s flying (just compare them to Wordpress which is extremely slow). Thank you.
My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
Anybody have the current location of this plugin?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [plugin] [ORPHAN] zem_cache: experiment
zem wrote:
ma_smith: that link works fine for me…
Offline