[serendipity_event_entryproperties] still cached output?
[serendipity_event_entryproperties] still cached output?
I have used serendipity_event_entryproperties a while ago to cache entries...but after a few problems with caching i removed the plugin completely.
But now i mentioned, if i modify an old entry, it isn't changed in frontend even if i clean up templates_c and browser-cache.
Could it be, that field ep_cache_body from database is still used, even if the plugin is removed or disabled? Would be an ugly bug.
How can i fix this problem for the moment? Simply delete every ep_cache_* from database?
But now i mentioned, if i modify an old entry, it isn't changed in frontend even if i clean up templates_c and browser-cache.
Could it be, that field ep_cache_body from database is still used, even if the plugin is removed or disabled? Would be an ugly bug.
How can i fix this problem for the moment? Simply delete every ep_cache_* from database?
Re: [serendipity_event_entryproperties] still cached output?
Are you 100% sure you're not behind some kind of (caching) proxy or something? I seem to recall similar issues with your blog in the past on your end which I could never reproduce, which could indicate some kind of caching mechanism in your network …bernd_d wrote:if i modify an old entry, it isn't changed in frontend even if i clean up templates_c and browser-cache.
YL
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: [serendipity_event_entryproperties] still cached output?
Hi!
Did you completely remove the entryproperties plugin, or simply disabled the cache option? Since caching is somewhat coded into the core itself, when the plugin is removed, it coulud be that the cache is somehow still used; but if the plugin is active and caching disabled, I think this shouldn't happen.
I'm sure we can get to fix this somehow
Regards,
Garvin
Did you completely remove the entryproperties plugin, or simply disabled the cache option? Since caching is somewhat coded into the core itself, when the plugin is removed, it coulud be that the cache is somehow still used; but if the plugin is active and caching disabled, I think this shouldn't happen.
I'm sure we can get to fix this somehow
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: [serendipity_event_entryproperties] still cached output?
No proxys (as far as i know), different browsers, different networks (home, work). Don't know what else i could do. The current problems with modfied entries always has gone after i deleted ep_cache_* for the modified entry. Until now i didn't delete the complete database so it could be posible to reproduce it.yellowled wrote:Are you 100% sure you're not behind some kind of (caching) proxy or something?
I've removed it completely. Before this, i only disabled caching for a few days/weeks because of some strange issues i never could reproduce finaly.garvinhicking wrote:Did you completely remove the entryproperties plugin, or simply disabled the cache option? Since caching is somewhat coded into the core itself, when the plugin is removed, it coulud be that the cache is somehow still used; but if the plugin is active and caching disabled, I think this shouldn't happen.
...and for booth of you, i have made some screenshots from backend and frontend for this entry: http://bernd.distler.ws/archives/1273-F ... chten.html
-
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Re: [serendipity_event_entryproperties] still cached output?
I think, this is a very old problem, had it about 2.5 years ago (http://board.s9y.org/viewtopic.php?f=10&t=16564) No real solution, only to remove the cached results.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: [serendipity_event_entryproperties] still cached output?
Hi!
the short fix would be a SQL query:
That would delete the cache completely (it could be regenerated, you don't lose anything really).
I'll try to set this up to reproduce the issue on my server; but now I'm away for the next few days, so that might take some time
the short fix would be a SQL query:
Code: Select all
DELETE FROM serendipity_entryproperties WHERE property LIKE 'ep_cache_%'
I'll try to set this up to reproduce the issue on my server; but now I'm away for the next few days, so that might take some time
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: [serendipity_event_entryproperties] still cached output?
Thanks in advance
Re: [serendipity_event_entryproperties] still cached output?
Garvin, did you find time to already investigate this issue and isn't this something we should fix in core and also maybe for 1.7?garvinhicking wrote:the short fix would be a SQL query:That would delete the cache completely (it could be regenerated, you don't lose anything really).Code: Select all
DELETE FROM serendipity_entryproperties WHERE property LIKE 'ep_cache_%'
I'll try to set this up to reproduce the issue on my server; but now I'm away for the next few days, so that might take some time
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: [serendipity_event_entryproperties] still cached output?
Bernd, the uninstall cache purge is simple and should go through, if you have cache = true = enabled in your entryproperty plugin options. If not, the purge will not take effect.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: [serendipity_event_entryproperties] still cached output?
So, it seems to be a bug. Cache should always be cleaned, even if Caching has been disabled before.
Re: [serendipity_event_entryproperties] still cached output?
No. It's a feature, ... whyever... entryproperties - like Garvin said - is somehow "...coded into the core itself, ..." and still used when the plugin is removed ... until you know what you are doing...
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: [serendipity_event_entryproperties] still cached output?
Sounds like a bug to me ;)Timbalu wrote:- is somehow "...coded into the core itself, ..." and still used when the plugin is removed ...
Besides, if the plugin really only cleans the cache iff the cache is enabled in the plugin, this is a bug on its own and probably easy to fix (just remove the if checking $cache).
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: [serendipity_event_entryproperties] still cached output?
Hi!
Yeah, this can definitely be regarded as a bug. I only wanted to say it's more complex, because it's inside the core where entyrproperties are fetched, and that would need to be removed somehow. So it's just a bit complex and only affects a very small scenario. If someone would like to dig into it, of course I'd love a fix for this
Regards,
Garvin
Yeah, this can definitely be regarded as a bug. I only wanted to say it's more complex, because it's inside the core where entyrproperties are fetched, and that would need to be removed somehow. So it's just a bit complex and only affects a very small scenario. If someone would like to dig into it, of course I'd love a fix for this
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/