Hyper Cache Help
Take a moment to subscribe my newsletter:
Ask here your questions about Hyper Cache BUT after read the Hyper Cache page: that pages has a lot of information. If you need to asking for help sending piece of code or debug information that are too large for a comment, write me to info@satollo.net.
Of course, be clear when you leave a comment: add a good description of the problem, add the blog address on which you are experiencing problems (in the website field or in the comment text), use a valid email address in the email comment field, otherwise how can I help you???
My excuses for my bad english but it's the only way I have to communicate with you. Would you suggest
a correction? Leave a comment, thank you!

I'm Stefano Lissa. 10 years ago I was building web sites for my pleasure. Blogs didn't exist, web content systems were ugly, hosting really expensive. And my student pocket was empty.
Hello, Do you know if this works with lighttpd and if so how do i know if lighttpd is serving the cached page. Thanks
Hyper Cache is completely based on WordPress and PHP so I think it can work with lighthttpd.
ok, I tried it on a fresh browswer and this is what I get http://img.skitch.com/20090703-jw2aau9fu5d6t4s5cq3n5qgp9s.jpg
Nothing, it’s caching the files it looks like but I’m getting nothing loaded.
Until I know what is going on I have disabled hyper-cache
You are the second one who have this problem, but I really don’t know how to solve it. If wp-super-cache has the same problem, it’s not a fault of caches, it’s some kind of problem with your PHP I suppose. As you see Hyper Cache is working but for some reason it cannot save the content of the page. Look into wp-content/hyper-cache folder and you’ll find many file of little size. Those file are generated by hyper cache but they have no html inside them. Have you tried to disable compression in hyper cache?
Other few users sent me the same error, and I was not able to understand what’s happening. What’s your hosting provider?
Hi Stefano,
Thank you very much for your continuing work on the Hyper Cache plugin- I’ve been using it for awhile and look forward to future improvements!
Hiya Stefano!!
As always, every single one of your new version for Hyper Cache only makes it even easier to implement it.
Kudos for the excellent work and thanks a lot for implementing the mobile caching!!
I already requested you once but I just haveeeeeeeeeee to request you to please integrate the option to make it work with Facebook Connect! It truly will be one of the best thing that can ever happen to the wordpress plugin community because nearly everyone is using cache based plugin and 99% of us are not being able to integrate Facebook when using a cache plugin.
Only Supercache distincts itself by a hack through which one will able to work it out with Facebook Connect. Its just a cookie validation method I think (I am no php or sql guy so really cant confirm it.) through which it works smoothly!!
If its not too much to ask can you please please please take a look because I am sure that once you do you will know how its done on your plugin. I implemented the Facebook Plugin API already but just because of conflict I am able to make it work
The api for FBConnect: http://wiki.developers.facebook.com/index.php/WP-FBConnect
The tutorial can be found here on how to implement Facebook Connect with SuperCache specifically: http://www.allfacebook.com/2008/12/how-to-make-facebook-connect-work-with-wp-super-cache/
Can you please help us out
Check out the admin panel on version 2.3.0 on the cookies section (available in 60 minutes).
After using Hyper cache, my Google adsense click value reduced. But number of click increased.
Without cache plugin, I get good value for adsense click. Number of click reduced. Visitors and traffic source are same.
Please help me….
Really I don’t belive is a cache problem, your adsense lowered income. Do you add only hyper cache or you have modified your blog in other ways (theme change, number of ads block changed and so on…)
No any changes…
Same problem on WP super cache also. If i removed, my blog get good value click.
Sarpras, i’m pretty sure that cache systems cannot change the adsense income. But to better understand, I need to know what happens. The click value decreases? The numer of click decreases? The number of visits changes?
If cache program active, i get below avg $0.10 cents click and CTR increased.
If deactive, i get above avg 0.15 to 0.20 cents click and CTR reduced.
Visitors same…
Thats a weird sylogim for that guy! Anyway, its a great EPC! I wish mine could be that. Since some months, getting only 0,02 per click! Tks
Hello
I cant’ see any files in /public_html/wp-content/hyper-cache folder
but every page of site ends with
what’s wrong?
tnks
Hello
I cant’ see any files in /public_html/wp-content/hyper-cache folder
but every page of site ends with “hyper cache: d6688a66bb017bccb2f8651c4695b39a”
what’s wrong?
tnks
May be hyper cache cannot write files in that folder, but I don’t know why. The folder has been created on installation or by hand?
the folden has been created by installation. i can’t enter this folder with ftp client (total commander), I can only enter in Direct Admin.
Hi.. i ve a problem when use the plugin because my images dont appear when activate.. but when i desactivate the image are there…
i clean the cache but still wrong…
any solution??
Fiorell, can you give me the blog address?
After the last plugin update, hyper cache settings page in the admin console is blank. Have deleted the plugin and reinstalled, but all I get is blank settings page.
Fixed on version 2.3.2
Last two plugin builds, with wp 2.8.1 and 2.8.2, the options page for hyper cache in the admin panel is completely blank. Apache log shows PHP parse error on line 406 of hyper-cache\options.php.
Fixed in version 2.3.2: read more on http://www.satollo.com/tag/hyper-cache-versions
Any news (on the option to cache for Admin and users too)
No news…
Hello
Gerat Plug, but…
Now I can not use the search part. All it shows is the index page!
Hi. I’ve tried wp super cache to all my blogs, my adsense decreased that’s why I installed hyper cache to one of my blogs to observe if same thing will happen. Luckily, my adsense is back to normal.
However, I’m not that familiar with cache plugins. Since I transferred to dreamhost, I need details on hyper cache settings. Could you please post your settings so I can copy it. I’m planning to use hyper cache to all of my blogs but I saw “internal server error” to my blog with hyper cache.
Thank you, hoping for your reply.
Do you can connect to the admin panel or you get internal server error even while trying to login?
I never tried to login to my admin panel during internal server error. after a few minutes, my site is back. I experienced this sometimes but not most of the times. Could you please share your settings.
Hi,
HyperCache seems to be a great tool. However, I have some problems with the automatic update of the cache. Method “all” is working fine, but the functions “strictly single page” and “single page” fail. If someone is adding a new comment, the cache is not refreshed for the corresponding page.
Do you know a solution or workaround?
Hi,
I see my hyper-cache folder is empty and it seems nothing being cached. The permission is set to 755.
Can you tell me why is that?
Thanks
Hi,
Really like the plug in.
Have just upgraded and now get these messages at the top of the page…
Warning: fopen(/home/mysitenamegoeshere/public_html/wp-content/hyper-cache-config.php) [function.fopen]: failed to open stream: Permission denied in /home/mysitenamegoeshere/public_html/wp-content/plugins/hyper-cache/options.php on line 184
Warning: fwrite(): supplied argument is not a valid stream resource in /home/mysitenamegoeshere/public_html/wp-content/plugins/hyper-cache/options.php on line 185
Warning: fclose(): supplied argument is not a valid stream resource in /home/mysitenamegoeshere/public_html/wp-content/plugins/hyper-cache/options.php on line 186
Go on…. tell me… what stupid thing have I done wrong to go and mess up a good thing!
Robbert
You chanhed the file or directory permission, so when upgrading hyper cache cannot update the /wp-content/hyper-cache-config.php file.
Glitch – The internal server error has absolutely nothing to do with Hypercache… welcome to the wonderful world of “Dream”host, which should be renamed “FarginNightmarehost” … internal server errors and slow websites are part of the Dreamhost user experience. I literally get multiple daily alerts from my web monitoring service that my site is down. When I talk to dreamhost, I always get one of 2 answers (1) we are working on it and/or (2) we just banned an abusive user so the server is fast again… I wonder when I am next? In fact, these problems led me to search for a faster cache plugin…
I finally worked up the confidence to install a big time cache program (hyper cache) and deal the associated plug in problems, etc…. to my surprise, I can’t seem to find any problems whatsoever on my site…everything seems to work after the hypercache install….I’ll report back if I find anything.
Stefano – Just so you know… Dreamhost recommends that their users install your plugin. You can find this here: http://wiki.dreamhost.com/Wordpress_performance#Cache
Dreamhost also suggests that users also install the db-cache plugin (with hypercache), but I am hesitant to try this because the plugin is very outdated.
Considering they will save a lot of cpu and database inviting people to install my plugin… I have to ask them to pay me!!!
Uhm… can be an idea to ask them to sponsor me
I use Hyper Cache on a Dreamhost PServer, it works very well.
I deleted wp-db-cache after I got weird errors when blog admins or editors worked on the posts.
Hi -how can I tell if HyperCache is working? When I use YSlow I get the same load speed and score with or without HyperCache enabled. I can see .dat files accumulating in my hyper-cache folder but it *feels* the same as before.
Also, does HyperCache rely on rewriting .htaccess in any way? I have that turned off for security purposes but didn’t see any errors in the HyperCache install suggesting it needed to modify .htaccess.
Thanks for your help!
I have created a new “page” and it uses a custom page template which uses queries is there a way to catch the page?
What do you mean with “catch the page”?
Hi,
Above all, I thank the author of this excellent plugin.
Ecxcuses me for my poor english but i’m french.
I use the option to have the wp-content directory in outside the wp core directory. I just use the constant WP_CONTENT_DIR like explain in the Codex.
My ABSPATH is pointing to a subdirectory containing the core files (/wp-core)
My WP_CONTENT_DIR is pointing to a subditectory containg my own files(/wp-content)
The problem was that, folder & files generated in wp-content are define relativily to ABSPATH and not
To make you plugin works, i replace this in all files of the plugin:
ABSPATH . ‘wp-content ====> WP_CONTENT_DIR . ‘
It works like a charm.
So, if i may suggest, can you, please, use in your next releases, the Wordpress constants like WP_CONTENT_DIR… I I think it’s better for compatibity with some new directory features.
Thanks and i hope you’ll take this in consideration.
Regards.
Gee
Yes for sure, I only need to be sure that WP_CONTENT_DIR is always defined by WP.
I selected “single pages” for the delete on event setting. Are there any advantages to setting a expiration time for the other two settings: “Expire a cached page after” and “Autoclean every”? It the cache clears completely when I post something new, why would I otherwise want to clear out the cache with those two setting above? Are there advantages I have not thought of to autocleaning and expiration of the cache?
Blog pages do not change only because you write a new post. The can change ’cause comments are added and may be you have a “latest comments” widget. This is why there is an exipration time. If you don’t want the cache to expire, simply se it to zero. There is another problem: if a cached page doesn’t expire and is not cleaned up by autoclean, quickly your cache folder will fill up of files, where many of them are rearely used. Folders with too much files are slower to seek.
Thanks. I do not have alot of comments on my site; but your point about large size folder is a good one. I think I’ll set an auto-cache but only every couple of days…
BTW, I use to have multiple warnings throughout each and every day about my site timing out.. since I installed your plugin I have had only 2 or 3 in the last 2 weeks! I plan to donate as soon as start to make money from my site. Thanks!!
hypercache isn’t storing any pages. I don’t see a problem, looked like a clean install. Cache is activated.
Any ideas?
Have you surfed your blog with a clean browser (not the one you use to admin the blog)?
no, but nothing was ever stored in the cache folder.
Thanks for this wonderfull plugin, just move from 1blog to hypercache and noticed a improve in performance. I’m experiencing load issues in the server.
It’s possible to use HyperCache combined with Db-Cache or one nullify the other with no effect?
thx
I think you can let both active. I really don’t know the way db cache works: if it optimize the single page generation it’s good to be used with hyper cache, if it caches query results for long time, probably it does not help too much.
Hello!
)
Thanks for the answer.
This db have a option to set the expire, the default is 5 minutes.
I ask because it prints a comment in html output
like
(huge memory huh
And If a reload, it gives a different value, so I don’t know if it nullify the HyperCache at all …?
ops, code removed, it should be
Generated in 0,957 seconds. Made 33 queries to database and 11 cached queries. Memory used – 21.24MB
hmm, its because I was logged as admin, nevermind… rtfd for me
Are you using DB-cache with Wordpress 2.8.x? I wanted to combo it with Hypercache but was concerned because DB-cache has not been updated in some time.
It works, but db-cache is not full compatible, you cant add tags to new posts or edit comments, so when you make these tasks, you need to deactivate it first.
Seeing the occasional blank page cached. What can I do to help diagnose and fix the problem?
Further details:
Seems to be on redirected pages and more likely (though not exclusively) on mobile browsers.
Example: http://www.148apps.com/price-drops should redirect to and display at http://www.148apps.com/price-drops/ . Occasionally though a blank page, will get cached and served.
In some instances I can see 2 different cache files created. One for the page without the / and one for the one with.
Hypercache settings: cache redirects off, gz compression off, cache mobile on
Cheers,
Jeff
Hello:
It is possible that the plugin clean the index page of the cache only where a scheduled post happen?
What I must enter in Cron action key so that happens?
Regards,
Andres.
It is compatible with Wordpress MU?
As I know no, it’s not.
Stefano, after last update (2.4.0) I can’t set a zero value for cash timeout and autoclean. I enter it and click Update, but after moving to another settings page and coming back to Hyper Cache page – again old value
Tried on all my blogs, the same problem.
And I really miss button to clean cache manually – it’s very usefull, why did you removed it ?
(
Bugs… go with version 2.4.1
OMG thank you, you’re blazing fast ))
hi,does hyper-cache works for the user who alreay login the blog?
Thanks
No, I’ll add this option BUT can have security issue. I’ll do a post about that ASAP
Thanks for the quick update. Under compression, I am unable to turn off Disk space usage… after uncheck it, and update (even tried save too) nothing happens… it stays checked..
It’s correct, read the comment below the first compression check box. Do you have the enable compression checked? Yes, it’s not clear, I have to rewrite the labels.
Yes, I have compression enabled (I assume this is still the gzip compression?), but do not care about saving disk space. Basically, I want to enable compression, but not disk space.
It appears that your recent update solved a Hypercache and WP-Widget Cache compatibility issue… Each time hypercache was activated, WP-Widget Cache did not run… But today when I checked the code on my webpage, I received confirmation that they both load now…. I do not know what you did, but thanks!
I did nothing about that and Hyper Cache was not changed in a way to be “compatible” with widget cache.
Stefano, congratulations on your plugins. I recently updated to the 2.4.1 version and the interface changed a little bit from the 2.3.X versions. I’m quite lost to setup this new version. There´s no Activate cache option anymore? In other words, simply by enabling the plugin it means the Hyper Cache is enabled?
When I go to the Hyper Cache options page the cached page count is always with the number 604, no matter what I do. Nothing happens if I try to push the Clean the cache button. I can´t clean the cache and I think the plugin is not enabled. I guess my installation is not fully working or maybe there´s a bug in the plugin. What are you opinions on this?
Thanks.
Ok, when the plugin is activated the first time you need to go to the options panel, set them and save. Empty fields will be filled. I know, I have to work to improve this “first setup”… after a first setup all is more simple.
The option panel shows in read if there are problems: if so, the options will not be saved. If you clean the cache, the page count has to go to zero, not 604. Have you ask apache crazy cache installed???
Hi Stefano,
first I would like to say, that hyper cache is a great plugin.
But I had problems with the latest release 2.4.1. It was caching as normal, but when I published a new post oder edited a old post the cache was not updated. I had to manually clear the cache.
I tried several options in the configuration, but the result was the same.
So I downgraded to version 2.3.2 and now it works as it should be.
Peer
You found a bug, I have to send you a gift!!!
Version 2.4.2 has the fix for new/updated post AND comments…
Thank you.
One more question. Hyper Cache ist caching all pages. One drawback ist, that the comment form will be empty, even if the User has commented before.
Can you integrate a option, that these form datas will be shown in the form. 90% of my visitors dont comment and for them, it is Okay as it is right now.
But the 10% who makes comments wants a pre-filled comment form.
The options is already there: just disable the cache for commenters.
I just installed the latest version of Hyper Cache, however for some reason the chache status and the statistics seem not to be updating. There also no files inside the hyper-cache folder…
What do I need to do to make this work and how can I make sure if Hyper Cache is working properly. Thanks!
It’s really hard to give you a response without see the admin panel. Have you saved the cache configuration? The configuration panel gives you errors?
Here are two links to the two-part screen shot of my admin panel:
http://img.skitch.com/20090908-d3etuw2hduhrndg2xptc3w1122.jpg
and
http://img.skitch.com/20090908-j4xcqndff2cfar9e271jt5picq.jpg
I assume by clicking the update button it will safe the configuration (which I did), the configuration panel itself does not show any error messages.
Thanks!
Hello!
Same error here, the plugin stops to work in last update. No advices em webpanel.
Hello,
I have just upgraded to version 2.4.3 and i notice that under the setting panel, the entry “Disk space usage” is always “On”, if i disable it and than click on update, it go on again.
Thanks for your help
Giorgio
Read the tips under the first checkbox of the compression settings: if you want Hyper Cache to serve compressed pages, the disk space will be optimized by default.
Thanks Stefano, I thought they were unrelated, now looks ok
Thanks again
There is a problem with Hyper Cache 2.5.1, when I’m writing a draft and save:
“Warning: touch() [function.touch]: Unable to create file /home/xxx/public_html/blog/blog/wp-content/hyper-cache-invalidation-archive.dat because Permission denied in /home/xxx/public_html/blog/blog/wp-content/plugins/hyper-cache/plugin.php on line 149
Warning: Cannot modify header information – headers already sent by (output started at /home/xxx/public_html/blog/blog/wp-content/plugins/hyper-cache/plugin.php:149) in /home/xxx/public_html/blog/blog/wp-includes/pluggable.php on line 865″
[Cache invalidation mode: Only modified posts; and checked "Invalidate home, archives..." ]
I’m near to release a new version, I forgot to sto the warning messages… sorry…
I am just trying Hyper Cache. It works excellent on pages without comments or changing (dynamic) content. But it doesn´ t on pages with lots of comments. The page doesn´ t update after a new comment was written and i haven´ t found a strategie to overcome this. Hyper Cache should be modified to only cache pages with – for example – comments disabled or much better, the developer could create a button in the “write a post” “write a page” admin section to allow caching for this post or not.
What kind of invalidation method have you chosen? When a comment is submitted and it is added in approved state, the post is refreshed. Pay attention: you you have comment pagination. It gives a lot of problem and not only to hyper cache but for search engines. I’m working on it to solve the problem for hyper cache.
Remember to set the flag that disable the cache for users that are commenter, to give them the default experience when posting comments.
hi nice plugin
I think it’s better to have different time cache setting for post and home page category .
post cache changed when Post changed
home page category 60minutes
Thank you
Yes, it can be implemented. But are you sure that a post change when the post is modified? And if the page that show up a post has a list of the latest articles? Or the latest comments?
you mean ‘latest articles section’ wont update in the cache file
I think you can let user to take the choice.:)
If I have larget amout of posts (100,000),I would choose”post cache changed when Post changed”,it’s not good to regenerate all the cache.
If I my blog do not have much traffic, I want more function ,flexibility, I would choose “cache time 60 minutes”
Charlies, you have a number of options to configure hyper cache. You can choose no never invalidate, invalidate single posts, invalidate single posts plus home page or invalidate all.
I’m pretty sure those kind of option can cover the great part of needs.
BTW, home page can be invalidated when a post change (or a comment is submitted), just look at the options panel, there is a flag to specify that.
It seems the Home invalidation is not working for me. It doesn’t get removed after the autoclean time.
Also, when I enable “DO NOT cache the home page so it is always fresh.” for the Home caching, nothing gets cached anymore at all.
Thanks for this plug-in though, it seems nice and fast.
Hi ronnie, autoclean time have nothing to do with home or posts invalidation. Can you give me your blog address to check how hyper cache is working?
I found a bug ,u use substr in plugin.php
$link = get_permalink($post_id);
$link = substr($link, 7);
$file = md5($link);
and in advancd-cache.php no substr
$hyper_uri = $_SERVER['HTTP_HOST'] . $hyper_uri;
hyper_cache_log(‘URI: ‘ . $hyper_uri);
// The name of the file with html and other data
$hyper_cache_name = md5($hyper_uri);
$hyper_file = ABSPATH . ‘wp-content/hyper-cache/’ . hyper_mobile_type() . $hyper_cache_name . ‘.dat’;
Hope you can fix it later
thank you ~~~~
I can assure you this is not a bug. If it would be a bug, hyper cache never worked
ok you are the father of the hyper cache~~~haha
hope hyper cache can support login user soon.~~
Best regards
Charlies
I’m not sure if a never implement that. Thare are a number of problems. Just an example: if you theme display something related to the current logged in user that is seeing the blog, tha page will be cache with his data… and any other will see it.
wp super cache just creat differnet cache for every login user,these login user cache will be in valid in 60m. I think you can you do it in hyper-cache
Regards,
Charleis
I do not see the usefulness of have a cache per user. Before all, a per user cache can be required when I have a lot of logged in users or the ration of not logged in over logged in is low.
With cache per user, I have to cache a single post many time, one version per user. So when the user access the post the first time, the page is generated and cache. BUT, does a user load that page many times? I don’t think so… hence, why to store it to disk?
When a blog has many logged in users and the the same page is rendered in a different way per user, it’s better to install caches like db cache or widget cache that cache the “common parts of a page” but not the overall page.
Or not?
it’s not good,but better than nothing.~~~ dbcache is useless for my blog , i use a lot of plugin~~~~~~~~~`
I feel brave today and plan to combine the DB Cache Reloaded plugin with HyperCache. We webhost recommends this combo, but DB Cache hadn’t been updated forever so I didn’t do it… I just discovered the that DB Cache Reloaded came out. I’ll report back with my experiences.
I’ve installed the DB Cache Reloaded with Hypercache. No apparent problems off hand. Everything seems to function just fine. Feel free to browse my website to see if you find any errors or just a poor experience with speed. It is here: http://www.bmedreport.com Please post here (or email me) with any problems.
Also, check the page source in your browser after you visit one of my webpages and it gives the stats (very bottom of the page source code) for the DB Cache Reloaded, as well as confirmation that HyperCache is running.
Hello, I’ve installed “hyper cache” 2.5.1 DE-Edition on wp 2.8.4, but there is only showed the english panel in hyper-cache. How can I change the menues language on “hyper cache”?
I’m now generatin the pot file cause the labels are so different that old files cannot be used. If anyone would translated, there is a pot file in the plugin folder.
You mention that this plugin works with IIS sites with a small change to the configuration. What is this small change?
Plugin is activated and installed on my blog, but I’m unsure to if it’s working or not. How do I know if it’s performing like it should.
Note, my IIS does not have mod_rewrite like most of these other cache plugins need. Does Hyper Cache also use mod_rewrite?
hi, i have installed the hyper cache 2.5.9 with WP 2.8.4, and active the plugin. it only creat file “advanced-cache.php” but not creat folder “hyper-cache”. There is no any error message in my log. Could you please tell how to fix it? thx.
Dear Stefano, you should explicitly note in help to Hyper Cache 2.5x, that a 777 chmod permission IS necessary for “cache” subfolder in hyper cache main folder (wp-content/plugins/hyper-cache/cache).
Otherwise, cache do NOT works and cache files are NOT created in a “cache” subfolder. In older versions 755 permission was enough, but, alas, not with new cache folder position.
I checked the wp-content/plugins/hyper-cache/cache for my website (bmedreport.com) and it is set to 755…. and my works fine as best I can tell. There are multiple cached files in the folder with current dates and “view source” in my browser shows a cached file being served up so I am pretty sure it works find with 755.
I host this blog on hostgator and the cache folder is 755. Hyper Cache is working. 755 means nothing if we do not know in respect of what user and group. If you upload a plugin with an FTP user which is different from the user running PHP, I agree you have to set 777 cause the folder and file are owned by a different user that php running user. When the plugin is installed with autoupdate 755 is right (and safe).
Previous versions, you are right, created hyper-cache folder by them self, so the permission was 755 (i suppose) but owned by php user.
Stefano, thanks for your answer ) The matter is, that i used autoupdate on all my sites (6 of them), as usual, and then found this problem. Previously i updated hyper cache (like 2.5.5) the same way, with no problems at all. But only this update i suddenly found, that 777 is needed.
Anyway, thank you, i’ll have a talk with my hosting support, maybe they can help, ’cause i don’t want to leave 777 on a cache folder, it’s unsecure, but it’s the only way it works now…
It’s really strange, may be the auto update does something “strange”? I modify the plugin to not include the cache folder and to create it on activation, maybe this solves the problem!
Dear Stefano, I’ve just checked my another hosting, and everything there works like a charm, with 755 on a cache folder.
But the other one hosting don’t
The only one difference that i found between them – on the non-working hosting file advanced-cache.php has 99 as an owner (the same story for all 6 sites on that hosting – 99 as owner).
But on the working hosting all files, including advanced-cache.php, has the same right owner permission.
Should i smack my hosting support for that ? Maybe it’s all that particular hosting problems and i’m just wasting your time
Hi Dimka, I really don’t know why some things happen, but it’s all about users and permission. PHP is a system process that runs with a system user. So everything php is doind, it is doing as that user. Eg, when it create a folder the folder is owned by the user on which PHP is running. So, when you install hyper cache directly from wordpress, which is a PHP process, the folders and files should be of that PHP users. Then, when Hyper Cahce need to write in such folder, being a PHP process, it should be able to do that.
When you upload the plugin even if only one time, with an FTP user that is different from the PHP user, problems rises. All my providers given my an FTP account with the same user on which PHP is running.
Try: deactivate hyper cache, delete the hyper cache folder in plugins folder. Install hyper cache from wordpress admin panel. That will create all folders from a PHP process and they should have the right permission.
Dear Stefano, thank you so much for your help )
The new version solved my problem, i’m sooo happy now ^_^
But, with a little trick. First i deactivated hyper, upgraded, set wp-content to 777, activated and got a message “Hyper Cache was not able to create the folder “cache” in its installation dir” warning.
So, i deactivated it again, set hyper-cache folder to 777, activated and the problem was solved ) Then set folders back to 755, now cache folder has 755 and everything works like it should )
Thanks Dimka and Stefano! I was having the same problem and now it works!
Well, I ran suddenly into the 777 permissions problem, too – but I found a way around it:
Starting with Hyper Cache 2.6.0 it NEEDS to have an existing directory (folder) named “cahce” (without quotes) set to 777 permissions, in the following location:
wp-content/plugins/hyper-cache/cache
People who upgraded successively over past versions very likely have that OLD cache folder named “hyper-cache” residing at:
wp-content/hyper-cache
Starting 2.6.0 Hyper Cache doesn’t accept that location anymore; if you have a hosting provider who doesn’t (by default) allow plugins themselves to create folders, you’ll need to create one named “cache” at the first location (within the Hyper Cache plugin folder).
I’m not sure what the wisdom is of having a world-writable cache folder (i.e. set to 777) within the plugin’s folder, especially given possible complications at future plugin upgrades (which cause the plugin folder to get wiped out, and with it the cache folder) but there you go: 2.6.0 requires it, or it’ll bug you with the error message reported above.
I’m switching over to hyper cache + db cache reloaded instead of wp-supercache but ran into a problem. for non logged in users the pages often deliver the following random assortment of characters down the page.
��}iw�8��g��
when i deactivate the plugin functionality returns. two things im thinking: 1) may code is far from validated – so i’ll fix that 2) currently the staging site (which is using hypercache) is a protected folder – not sure if that would have anything to do with it.
i saw that some people had the same problem above. any ideas?
Hi Stefano:
This version of Hyper Cache seems to be best, but I have tested that the autoclean feature is not working. I have 777 chmd on hyper-cache and on cache folder and I have the last version of WordPress.
Cheers!
Hello.
Your plugin worked like a Charm.
But The statpress reloaded stats AND postviews are messed up.
How can I make sure that all the stats keep getting in?
Thank you again for a wonderfull plugin.
Hi.
This is the second comment I publish because the first one was not published.
This is a great plugin but I found it messed up my statpress and postviews stats.
How can I make sure that the postviews and statpress stats will remain intact?
I other words does cached pages show in the stats?
Thank you for nice plugin!
I’d like to ask you about when comment is added.
I configured Hyper Cache setting like this
–
Cache invalidation mode : Only modified posts
✓ Invalidate home, archives, categories on single post invalidation
–
But Hyper Cache doesn’t make new cache file when comment is added.
How do I configure Hyper Cache setting let to make new cache file?
Thank you.
Hi There,
I was wondering if there is any plan to enable a option to have a different cached version of each page depending on the Referer header… I use a plugin that generate a specific box depending of the keywords use from a Search Engine referal and I have pretty ugly result when this version is cache
Other way to workaround should be to flag something in the template that make the page rendering uncacheable.
Thanks for this great plugin.
Antoine
Hyper cache declare a global variable “hyper_cache_stop”. If set to true by someone, the cache do not store the page.
Hi, thank u for the great work.
Is it possible to invalidate home,archive, category on scheduled post published?
It means each time scheduled post is published by system,home page can get latest
post.
I use Hyper Cache on almost all my clients. Thank you so much for this great plugin.
But I am having a problema with one client. Sometimes a few pages just refuse to update. It keeps showing old content old content for hours. It’s like the auto clean did not work. It’s a bug or it’s some wrong configuration?
Thank you.
Hello! Установил Hyper Cache и хочу, что функция “Home caching” была включена, но она не работает – index.php все равно кэшируется. Подскажите, почему?
Hello! Hyper Cache installed and I want that feature “Home caching” was included, but it does not work – index.php is still cached. Show you why?
Hi, thank You for the great work!
On one of my sites under control of WP MU (hyper-cache 2.6.3 is connected on all sites) there was a following problem (has appeared from version 2.6.2):
[Mon Nov 16 13:46:28 2009] [error] PHP Fatal error: Call to undefined function is_home() in ***/wp-content/plugins/hyper-cache/cache.php on line 244
line 244: if (is_home() && $hyper_cache_home)
{
return $buffer;
}
Prompt in what the reason,
I thank!
I never tried hyper cache with wp mu, so I don’t know how to help, sorry!
Hello,
Hypercache fails to clear the cache upon creation a new post. I have to manually clear it with every post change. My settings are Cache Invalidation Mode: all cached pages, and I checked the box “Invalidate home, archives, categories on single post invalidation.” This has been going on for some time now and across numerous Hypercache versions. I never posted problem before as I hoped it would be solved in an update. Any suggestions? Thanks! Chris
Hyper Cache marks the cache as invalid, does not delete every files in the cache.
Great. I’ll test it out and report back with any problems.
I have also wondered about this issue for some time now, thanks for the clearance
Hi,
you wrote:
September 16, 2009. URGENT!!! PLEASE DISABLE THE HTML OPTIMIZATION OR Hyper Cache 2.5+ DOES NOT WORK PROPERLY.
I don’t find any HTML OPTIMIZATION tab at my WordPress 2.8.6. installation, but I’ve the problem that Hypercache is caching 2-3 sites only
Please let me know where I can find the html optimization tab and how do I get Hypercache working properly.
Thanks!
Erik
Stefano, thank you for this great plugin. I am a happy user. However, there is one feature I am really missing. I’d like to have an apache time-interval triggered caching option – like in the Ask Apache Crazy Cache plugin.
Any chance of you adding this feature?
Regards,
Henk Jan.
Hi Stefano, fantastic plugin you have here. I was wondering what effect the caching would have only other plugins like Akismet and Spam Karma which are designed to prevent spam. I believe that SK2 has a work-around for wp-cache but I’m not sure it will work with hyper cache. Do you use or could you recommend any plugins to prevent spam that will work with your plugin? Thanks!
I use akismet on all my blogs with hyper cache with no issues. Spam is intercepted correctly.
Thanks Stefano. I’ve had it running for a day now and it does seem like both Akismet and SP2 are working fine and still catching spam. I love the plugin so far!
On another note, I don’t know if you’re aware but Bad Behavior says that your plugin is “Broken” when used with their service. I don’t use Bad Behavior myself since it blocked me out of my own site a few times and I don’t want to risk the same happening to my visitors. I thought I’d give you a heads up though in case anyone else using Bad Behavior runs into problems:
http://www.bad-behavior.ioerror.us/2009/12/03/beware-of-negative-caching/
Thanks again Stefano.
Hello there. I really would like to use your plugin, but I cannot because I don’t have a WP-LANG line or LANG line and I don’t know exactly where to put it in my WP-CONFIG file. You’re instructions are a bit vague…so I’m asking for more help. My webhost (justhost.com) friggin shut down my site the other day and said I was taking up too many resources…Idk how I was, but I think it has something to do with plugins or something. They put my site back on, but I can’t afford a dip in viewership like that again. Please help me as sooooon as you can. Thank you.
As I know, every wp installation in wp-config.php has the define(WP_LANG) line of code. Just look for it.
Hello Stefano, I use HyperCache 263 with Web Optimizer 65 (but really 66) on WP 286. This combo gives improved YSlow from 63 to 90.
But I have some users that are complaining about getting cached pages and not seeing most current content or comments.
I have attached screen shot of HC settings page.
I have read the notes on your page where one can choose between all-post-none and I cannot find this setting on the page, as I think I need to invalidate cache with every post and comment.
Please advise
Try to disable the last modify header if it’s active.
Hello, I’m Italian and I do not speak English well;) I have a problem with hypercache http://www.tvdream.net I use in my site a few months. I have a problem with the graphics of the site. When I hypercache active, sometimes the theme that I use for my blog you see evil, and it will automatically activate the standard theme of wordpress kubrick. Why? How can I do to solve this problem?
Thanks
Is it possible to hack/change hyper cache so that a new comment submission or a comment moderation will no longer be considered like a post modification? I use Disqus commenting plugin, which pulls up the comments remotely from disqus’s servers using javascript, thus a new comment doesnt need to create a flush of the homepage, archive page, and post pages. However, I want it to still flush the single post when the post content itself is edited or modified.
Any help?
May be it can be done searching for worpress hooks and setting and internal state, because a new comment “calls” the edit_post wordpress that is used by hyper cache to intercept the post modification.
I have no time right know to look at it, may be in the near future.
Hi,
I have been using Hyper Cache for a while now but as of wordpress 2.9 I get a blank page in Google Chrome. The page actually loads fine (I can see it load), then it disappears. As soon as I turn Hyper Cache off, the site goes back to normal.
It doesn’t seem to happen in firefox thou.
Any help would be great.
Thanks
Bruce
Uhm, it’s a strange behaviour, specially because it’s a chrome problem so hyper cache is serving the page. Have you tried to clear the hyper-cache cache anche the chrome cache and restart from a clean situation?
Just tried that solution and it doesn’t work. I have a feeling it something weird with a javascript error from facebook which only glitches on chrome (mac version) when hypercache is on. I have left it on for the moment. Feel free to have a look.
On my windows chrome your site will show perfectly and the pages are served by hyper cache.
can you please update changelog for 264? thanks.
Hi,
Sometimes it starts working.. and the next minute it will not.. very very shaky plugin.. wasted whole date with it and i am still not sure how it works.
Sometimes my pages starts coming from cache, and then in next minute it will take page from database. I have set the Cached pages timeout=0 but still no use. Seems like there is a Major bug there.
Regards
My plugin works rightly for so many people that I’m sure it’s good and not shacky. If it doesn’t work on your blog, simply do not use it. If you want support to understand what is not working in your blog, you can kindly ask giving me some information on how you test it. Still, you have not added your bog url to the comment, how can I be of any help?
Automatic updating, from version 2.6.3 to version 2.6.4, wouldn’t work here. Unable to delete old version?
How can I do to solve this problem?
regards,
just checked hyper cache IS working on your site
Thank’s Stefano,
Yes it work’s A-okay with 2.6.3, that’s not the problem.
I wanted to update from 2.6.3 to version 2.6.4 but with auto update via WP it won’t update. (failure: unable to delete old version ?) That’s why I’m back to version 2.6.3
Richard
solved . . .
I decided to deinstall version 2.6.3, now up and running with a 2.6.4 install.
By the way is there any option to cache all the posts on my entire blog at the same time, like “Crazy Cache”.
Richard
I just installed Hyper Cache the other day. I love it so far, works perfect!
I was wondering, I’m using 0 minutes for cache timeout to keep the cache valid a long time, but that also means that 404 pages might be cached for a very long time (and I get plenty of those since a reorganization of the url’s).
Is there any way to disable caching of 404 pages?
Keep up the great work!
Cheers!
Johan
Hi Stefano. I’m running into a problem with using Hyper Cache and Spam Karma 2. There’s a part of that plugin (specifically a payload plugin) that needs to insert dynamic HTML into the page before a comment is submitted. I found a workaround using the mfunc tag (with WP-Cache) but I’m not sure if this applies at all to Hyper Cache. You can see the fix here:
http://quentin.unblog.fr/wordpress-mu-wpmu/wpmu-caching/full-page-cache-with-wp-cache-in-wpmu/
Would I be able to do the same thing with your plugin and have it work? Basically modify the Spam Karma 2 payload plugin (add mfunc) and append the function to the bottom of advanced-cache.php?
Thanks for your input and your great plugin!
An excellent rock stable plugin. Thanks very much for all your hard work!
First of all, congratulations for your great work! I have been using HC for a while and it always worked perfec
However, I would like to know if there is a way to avoid some code on your site to be cached (so that it is dynamic)… I was thinking in something similar to the use of “mclude” in Super-Cache.
Thanks,
Kiko
hello,
I use hyper cache and it works very well, congratulations!
I would like the ‘Subscriber’ users to see the static pages.
I am a programmer and I could make the change to the plugin if you could guide and tell me where to make the changes. I’d be grateful.
ciao,
io uso hyper cache e funziona molto bene, complimenti!!
Io ho una necessità, vorrei che gli utenti ‘Subscriber’ vedessero le pagine statiche.
Io sono un programmatore e potrei effettuare io la modifica al plugin, magari se mi potessi guidare su dove effettuare le modifiche te ne sarei grato.
I need your help! I’d have to install wp-ban plugin for my blog, but it doesn’t work with super cache plugin. It will work with hyper cache plugin, isn’t it?
I don’t know how wp-ban works so may be yes, may be no.
When a banned visitor (WP-BAN) visits the site, whatever page they hit returns a ban message rather than the desired page. The ban message gets cached, then every subsequent visitor to that page gets the ban message too.
How can I prevent ban messages from being cached?
Ban IPs from within the cpanel provided by your host and lose the plugin
It’s wp-ban that need to recognize a cache system and ask the cache to stop. with hyper cache it’s easy. Clearly even a cache system can recognize the banned status and do not cache the page, but I have no time to understand how wp-ban works and if it’s easy to integrate with it.
Just another note: wp-ban, I image, activate it self on wordpress activation so it can ban after wordpress initialize it self and maybe other plugin. So bypassing the cache to let wp-ban to work means to let the banned client to waste resources on your server…
How do I know the cache is working properly?
When I click “show code” on some browsers, this line is displayed:
However, in other browsers, the code does not appear.
How do I know it’s caching correctly? If the code isn’t shown in the source code, does that automatically mean that the cache is not working?
Thanks, and keep up the great work!
James
Cache is not browser dependent, but if you browse the blog with a browser you use to admin the site, cache is bypassed (admin always see the fresh content).
hi Stefano,
I had the same problem as steve519 while i was using hyper cache. please check the error picture:
http://iloveblog.cn//Uploadfiles/2010-2/1.jpg
I like hyper cache very much but I could not use it untill this problem is solved.
Could you help me? Thank you in advance.
PS: I am using Linux+lighttpd VPS
Disable compression, maybe your configuration is messing up (but I’m not sure) the http headers set by hyper cache!
Thanks for your prompt reply.
I already tried, but nothing happened.
what is more, if I use IE to browse the error pages, it asks me to save the page but not open it.
Hey,
Just chiming in. I have kinda the same problem. When I activate Hypercard it works PERFECTLY in in Chrome and Firefox. In IE though it displays gibberish (see screenshot).
Compression is not activated in the plugin. Any idea what could be causing it? It’s seriously the best cache script so far, so I would love to use it.
Hello there, i have a suggestion for next version. actually two. very usefull ones:
1- Add a button or a tag inside the page/post editor for a code to not be cached. like i add [hypernotcache] here is my code [/hypernotcache]. if it is possible. that will do big help to alot of people, it can also be included on sidebars for people who doesnt want some widgets to be cached.
if this increases server load then skip this suggestion.
2- Add an option for usergroups to not skip cache content. like for admin, he gets fresh copy of the page. but i want the cached one.
thanks
Hey there, still didn’t got ur answer, anyway. i am having an error whenever i press Update button. Here:
Warning: fopen(/home/spormcom/public_html/wp-content/advanced-cache.php) [function.fopen]: failed to open stream: Permission denied in /home/spormcom/public_html/wp-content/plugins/hyper-cache/options.php on line 39
Warning: fwrite(): supplied argument is not a valid stream resource in /home/spormcom/public_html/wp-content/plugins/hyper-cache/options.php on line 40
Warning: fclose(): supplied argument is not a valid stream resource in /home/spormcom/public_html/wp-content/plugins/hyper-cache/options.php on line 41
Hyper C
Really I don’t remeber your last question, I have too many comment and too many email. Your directory are not writeable, I added a control on version 2.6.6 with a message, but I have not tested it. Try.
ok that fixed the error.
about the other post. its right before my last post.
Thanks alot.
Hello. I have a site with a lot of photo jpeg images that take approximately six to eight seconds to load up – to much time. The images are already optimized for the web in Photoshop, and are all under 40k in size. Will your Hyper Cache solve that kind of problem?
Hi Stefano,
Great plugin, congratulations.
An error on my blog.
http://www.linkes.com.br
After filling in “Enviar Link” (send link) and send occurs error in the link. How can I solve?
Should I put in exception to the plugin folder of the application form and file the form?
I need to use Hyper Cache because my ISP I took the air again.
Thank
Djair
I deactivated and removed hyper cache, but when activating W3 Total Cache get message
Page caching is not available: advanced-cache.php is not installed. Either the /home/h2c/public_html/wp-content directory is not write-able or you have another caching plugin installed. This error message will automatically disappear once the change is successfully made.
/home/h2c/public_html/wp-content is write-able. If you’ve finished installing the plugin, change the permissions back to the default: chmod 755 /home/h2c/public_html/wp-content.
Your tech notes say to remove advanced-cache in wp-content, but that file seems to have been removed. Is it invisible? Otherwise, what other extent Hyper Cache files need to be removed and what are their locations?
Check if the file advanced-cache.php is still there on wp-content folder. I leave it there because upgrades get worng if poeples make un-writeable the wp-content directory. Simply, delete it.