1 Blog Cacher 2.0.4
The new version of this plugin has been released. New features:
- Support for WordPress 2.6 cookies (fixes problems with users not being logged-in).
You can read the plugin full features or download it right away.
The new version of this plugin has been released. New features:
You can read the plugin full features or download it right away.
28 comments
#1. Henkmsncam, 1 year and 7 months ago
Hi,
just instlled the plugin. I was having lots of problems with wp super cache and it seems like I dont have it with your work. Thank you very much for this GREAT plugin!
#2. Henkmsncam, 1 year and 7 months ago
Update on above post: I am logged in in wordpress but somehow i dont see the «edit» button under my posts? So I guess the cached page does not see me logged in? Any tips?
#3. Javier García, 1 year and 7 months ago
Logins are handled correctly with the new version.
#4. Henkmsncam, 1 year and 7 months ago
Hmm, somehow it does not work for me. I tried IE7 and FF3. I am logged in but dont see any «edit» button or am recognised as logged in? Strange!
What to do with the expired files? Are they expired because of change content/add comments? Why would cache keep them then?
thx!
#5. Henkmsncam, 1 year and 7 months ago
It works! I redownloaded the file and upped it and it works!!! thx.
#6. Henkmsncam, 1 year and 7 months ago
Hi,
what to do with the expired files? I got 19400 expired files aved in your cache directory (638544.61 KB = 623.58 MB).
How often does it get cleaned up?
I set it at Cache expiration 86400 seconds.
thx!
#7. Javier García, 1 year and 7 months ago
Expired files must be deleted through the plugin page in the admin panel (unless you set up a cronjob or something like that).
#8. Henkmsncam, 1 year and 7 months ago
Hi,
is this plugin working less good for logged in members or does that not matter?
I did see the option: Logged users: Use an individual cache for each user
thx (again!)
#9. Javier García, 1 year and 7 months ago
You just need to decide how you want the plugin to handle logged users.
#10. Dustin, 1 year and 7 months ago
Javier, how do you set up the cron job to remove the expired files? I know how to set up a basic cron job, but I'm not sure how to set it up for this plugin. What «command» am I supposed to use?
#11. Javier García, 1 year and 7 months ago
Dustin, it's not a «command». You'd have to set a php file and call it with the cron. You can take a look into the plugin code to see the code used when removing files.
#12. Miguel, 1 year and 4 months ago
how I avoid index to be cached? Insert index.php in OBC_REJECTED_STRINGS doesnt work, because the blog is accesse via http://www.domain.tld
tks
#13. Kees, 1 year and 4 months ago
Same question as above guy. I show random posts on my blog by adding
before the loop. When I enable 1 blog cacher it does not show random posts anymore but cached index. I excluded index.php
define(«OBC_REJECTED_STRINGS»,»wp-,index.php»);
But that seems NOT to work. Any tips?
#14. Javier García, 1 year and 4 months ago
You could play with OBC_REJECTED_STRINGS and OBC_ACCEPTED_STRINGS but it's risky, because you could end up disallowing parts of your WordPress you are not supposed to disallow.
The index is usually the most visited page of the blog, so not caching it is a waste. If you want some parts of the index not to be cached, you should use dynamic code.
#15. Kees, 1 year and 4 months ago
Yep I added it (index.php) to OBC_REJECTED_STRINGS but then http://www.domain.com does not work. Only http://www.domain.com/index.php works. Any idea to rewrite that? Maybe with .htaccess ?
#16. Mark Avey, 1 year and 2 months ago
Any news on a version that will work with WordPress 2.7?
Cheers,
Mark
#17. Javier García, 1 year and 2 months ago
The plugin works with WordPress 2.7. I just forgot to update the description. If you are having any problem with the new version of WordPress, please specify it.
#18. Mark Avey, 1 year and 2 months ago
Ah thanks. I checked using WP 2.7's built-in plug-in system and it said it hadn't been tested with 2.7.
Cheers,
Mark
#19. Er, 1 year and 2 months ago
Is it possible to enable Blog Cacher on all site, but exclude certain URLs or URL patterns from it? Many thanks for a great plugin!
#20. Javier García, 1 year and 2 months ago
Edit the values on advanced-cache.php...
#21. Er, 1 year and 1 month ago
Thanks. That works! Almost. How do I exclude the front page of my site that has no URL pattern? It's just domain.com/ (I tried index.php and index, but they don't work).
Thanks for any ideas.
#22. Leandro Bennaton, 1 year ago
Congratulation Javier you made a great job with this plugin.
I´m using 1 Blog Cacher from Brasil, and the server that I host my site has been a problem with the database connection, to avoid the big number of conection I use cache expiration 21600 seconds.
The problem is thar when the database doesn´t respond the plugin generate an 1kb file, with the error below:
Database Error
Error establishing a database connection
Is posible that you help me to insert a control before the cache file is saved, checking if the chace file doesn´t have 1kb or the follows strings:
Database Error and Error establishing a database connection
Thank you very much! Help me or not I advice my friends to use this Plugin.
#23. Javier García, 1 year ago
Check advanced-cache.php, it shouldn't be difficult to avoid caching a url with certain string. For instance see line 210, you can surely adapt that line and return a $no_cache = true in those occassions.
#24. Leandro Bennaton, 1 year ago
Thank you Javier!
Your advise give to us a chance to fix the problem.
I´m not a coder but will try something like this logic:
IF (!$empty_content) IF (preg_match(«Database Error «, $response["content"])) $no_cache = true;
#25. xxxmsncam, 10 months and 13 days ago
Hi,
Malware (small iframe 1 by 1 pix with link) was inserted in some files in my wp-cache directory. Is there anything to do against it?
#26. Javier García, 10 months and 13 days ago
The plugin caches what your site returns... Check your plugins for the malware.
#27. TVECU, 9 months and 3 days ago
Javier Garcia, please tell me how do you cache the index.php? I see some blogs have this at the end but mine doesn't. Did I do something wrong?
#28. Javier García, 9 months and 3 days ago
I see everything working OK in your index:
Loaded from cache in 0.0091 seconds by 1 Blog Cacher - http://1blogcacher.com/
Write a comment
If you want to add your comment on this post, simply fill out the next form:
* Required fields
You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>.
2 trackbacks
To notify a mention on this post in your blog, enable automated notification (Options > Discussion in WordPress) or specify this trackback url: http://1blogcacher.com/2008/07/1-blog-cacher-2-0-4.html/trackback