Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-05-08 19:23:41

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [plugin] [ORPHAN] zem_cache: experiment

Thanks!

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

#18 2005-05-11 18:03:53

Romuald
Archived Plugin Author
From: France (69)
Registered: 2005-03-01
Posts: 20
Website

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 !

Offline

#19 2005-05-12 01:10:45

Romuald
Archived Plugin Author
From: France (69)
Registered: 2005-03-01
Posts: 20
Website

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.

Offline

#20 2005-05-12 09:41:47

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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

#22 2005-05-12 16:27:58

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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

#24 2005-08-02 12:40:07

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

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

#26 2006-05-31 07:42:14

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

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

#27 2006-10-05 14:17:21

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

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

#28 2006-10-05 15:04:18

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

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

#29 2006-10-05 17:09:42

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [plugin] [ORPHAN] zem_cache: experiment

Anybody have the current location of this plugin?


Offline

#30 2006-10-05 17:11:47

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: [plugin] [ORPHAN] zem_cache: experiment

zem wrote:

http://thresholdstate.com/download/zem_cache-0.5.txt

ma_smith: that link works fine for me…

Offline

Board footer

Powered by FluxBB