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

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!


P. Leon · September 12, 2013 at 10:28 am

Hey man, thanks for this awesome plugin, it works like a charm. I just have one question about the configuration for mobile devices.

I’m using WP Mobile Pack, so should I check both boxes for “enable integration with WordPress mobile pack…” and “Detect mobile devices,” or just the one for WP mobile pack?

Alessandro · August 24, 2013 at 10:02 am

Salve, volevo sapere se è possibile eliminare dalla cache il widget WordPress Popular Posts?
Chiedo questo perché avendo attivato Hyper Cache il widget WordPress Popular Posts non aumenta piu le visite.
Grazie di tutto.

    Stefano · August 25, 2013 at 8:21 pm

    No, it’s not possible to exclude a widget. The whole page is cached.

Leon · August 21, 2013 at 1:42 am

How can I generate the cache for all posts and pages?

How can I flush or regenerate cached page/post?

Thank you

Roman · April 25, 2013 at 4:53 pm

How to set up, I needed to cache the page and write?

Manuel · April 23, 2013 at 1:25 am

Hello Stefano, how are you? First I would like to thank you for such a great super cache plugin.

On the WordPress site FolioVision has found a bug in the code and has posted a solution which I have tested and it works. Also evo252 has posted another option to add to the solution. I was wondering if you could release a version with this update after you tested it yourself of course.

Here is the link

Once again thank you very much for your hard work and a great plugin.

PS I have sent you an e-mail in regards to helping you edit your English translation on your website. I am still waiting for your reply if you are interested for my help.

alex · April 17, 2013 at 10:42 am

How to disable caching of static pages? I can not find the description of this action.

    Stefano · April 21, 2013 at 11:39 pm

    What do you mean by static pages? The WordPress pages?

      alex · April 22, 2013 at 12:42 pm

      Sorry, I did not correctly written question.
      How to prevent caching of a certain page?

        mbrsolution · April 23, 2013 at 8:10 am

        Hi Alex to exclude a page or post simply enter the URI in WordPress Admin >> Settings >> Hyper Cache >> Uri to reject….

        Make sure that your URI starts with a / slash in front i.e /blog/

        I hope this helps you.

        Kind regards

roman · March 20, 2013 at 6:16 pm

WordPress 3.5.1
Hyper Cache
/wp-content/cache/hyper-cache (0777)
No errors in the admin area. I come out of admin and I open the browser to the site. In the directory / wp-content/cache/hyper-tsache not appear any files and “Files in cache (valid and expired): 0”
I tried to move a site to different hosting. Perhaps there is a conflict.
How to find a mistake?

    roman · March 21, 2013 at 4:56 pm

    The solution found. Blame plugin Fix Rss Feed V3.1.
    He changed the file wp-blog-header.php engine WordPress.

Jesus · March 19, 2013 at 1:37 pm

Hi Stefano and all,

I have my HOME page as a static page on Settings –> Reading. But it is not properly cleared when I do a post modification, although I’ve done the modification proposed by FolioVision at

(And Cache invalidation mode -> Only modified post; and “Invalidate home, archives, categories on single post invalidation” is checked).

Any ideas or help?

Thanks in advance for your support.

Giacomo · March 8, 2013 at 12:48 pm

Hi Stefano,

Hyper-Cache was not working for me because I use a different folder for plugins, so inside “advanced-cache.php” I had to change the include path to match mine.

Thank you for this great plugin!

forlogos · March 7, 2013 at 10:43 pm

Hi Stefano,

Long time user of this great plugin. Noticed that the latest version ( says that it has not been tested on multisite – just want to let you know that I’ve been using it on a few multisite installs (with subdomains and subdomains mapped to other domains) for a while with no problems – it works flawlessly!!

Question: is using the function hyper_cache_invalidate_post the best way to clear the cache for a specific page? I need the cache for a page post type to be refreshed/cleaned by a plugin


Imidg · February 27, 2013 at 3:41 pm

Just recently, I upgraded plugin to version and it stop to work. But I found that it start to write a file wp-contentadvanced-cache.php in a root instead of /wp-content/advanced-cache.php
So, the bug is in plugin.php line #59
look for
$file = @fopen(WP_CONTENT_DIR . 'advanced-cache.php', 'wb');
and replace it to
$file = @fopen(WP_CONTENT_DIR . '/advanced-cache.php', 'wb');
As you can see the difference – just a slash missing before advanced-cache.php

After all, plugin works just fine for me: helps a lot and simple enough.

Free · February 27, 2013 at 8:35 am

Hyper cache is working fine on our wordpress blog now. It has significantly reduced the page load times by nearly 20-22%!

Alex Bohariuc · February 26, 2013 at 11:42 am

Hello, i added the
define cache true in wp-config but in the plugin settings it says:
„You must add to the file wp-config.php (at its beginning after the <?php) the line of code: define('WP_CACHE', true);. ”

Inga · February 19, 2013 at 2:06 am

Dear Stefano, since cache stop working – look

no cache in folder :( i noticed this because my hoster detected high overload and i had to switch to another caching, or i’d be banned from hosting. but i love Hyper, pls fix it…

    Imidg · February 27, 2013 at 3:40 pm

    Just recently, I upgraded plugin to version and it stop to work. But I found that it start to write a file wp-contentadvanced-cache.php in a root instead of /wp-content/advanced-cache.php
    So, the bug is in plugin.php line #59
    look for
    $file = @fopen(WP_CONTENT_DIR . 'advanced-cache.php', 'wb');
    and replace it to
    $file = @fopen(WP_CONTENT_DIR . '/advanced-cache.php', 'wb');
    As you can see the difference – just a slash missing before advanced-cache.php

    After all, plugin works just fine for me: helps a lot and simple enough.

Lorella · February 9, 2013 at 5:11 pm

Ciao Stefano, spero sei Itlaino perchè se devo scrivere Inglese povera me e infatti non capisco bene la guida.
Io Uso la 2.8.0 per motivi di server e php ( win server- php 4) ho in una pagina mingle forum e non riesco ad invalidare la cache per quella pagina quindi se postano e escono da login non si vede. Purtroppo la cache non si pulisce automaticamente devo farlo a mano.
Come posso escludere la pagina o il forum? Grazie mille.

    Stefano · February 12, 2013 at 11:51 pm

    Negli url da rigettare (reject) metti quello della pagina, sarà una cosa del tipo /forums…

Alex Nguyen · February 5, 2013 at 5:41 am

I have a newspaper website which need to update information frequently (You can think about update more than 100 posts/day). I used W3 Total Cache, WP Super Cache and i think WP Super Cache worked just fine for me (only one project that i seem cached for category too long, need to clear the cache manually to refresh).

However, i am using a low speed host and i need to improve the speed as much as possible. That’s why i give your plugin a try. Everything is OK except one important thing, sometime the data seem did not refresh if i don’t click on refresh button of the browser (i used your plugin parallel with DB Cache Reload Fix plugin)

For the newspaper like my page, i wonder if you could show me what is the best setting to make sure that user always see the latest information?

Thank you very much in advance.

Anthony Phillips · February 4, 2013 at 1:55 pm


I use your plugin often. I recently updated one of my clients WordPress installs to 3.5 and have found that Hyper Cache is not working, or maybe I am missing something.

The _archives.dat file is created but no other files. The “Files in cache (valid and expired)” always shows “1”.

So it seems pages are not actually being cached.

Note: 3.5.1 has the same issue.

Please correct me if I am wrong.

Евгений · January 27, 2013 at 4:20 pm

Hyper Cache создает кэшированные страницы, но при проверке работы плагина в конце исходного кода страницы отсутствует строка типа , подтверждающая, что страница взята именно из кэша. Так работает ли плагин в таком случае?

ahmad · January 2, 2013 at 12:26 am

well the problem is that i can’t seem nor my cutomers to log out of the website.

i used to go with w3tc but it actually slowed down the site for me so i moved to hyper cache and felt a great difference according to speed.

i faced this issue while using w3tc but i solved it by excluding homepage out of cash. now i am using hyper cache and cloudflare but i cant log out my website. i am using a login/logout widget and it redirects to the home page on logout at all unless i clear the cache and then refresh the page.

to be more specific i opened the site in a different browser and logged in as a customer then tried to logout from the homepage but it kept saying that i am logged in and when i press logout again it showed me a wordpress notification saying

“You are attempting to log out of Natateef

Do you really want to log out?”

then i cleared the cash and refreshed the page and it showed that i am logged out.

i tried this with “Home caching” checked and unchecked but it did not make any difference. i still can not logout untill i clear the cash! :S

i did uncheck the “Redirect caching” option hoping that it would solve the issue but still it did not.

i also did add a page rule at cloudflare to exclude my homepage from cashing so i know that it’s not a problem with cloudflare, actually it’s obvious because the status changes to logged out when i clear the cache in the hyper cache plugin.

so please tell me how to solve this problem,
best regards,
Ahmad Afaneh.

Szépe Viktor · December 24, 2012 at 10:57 pm

Good afternoon!

Thank you for the plugin.
I have posted some modifications:

Please include them on the next release.

JDanswers · December 1, 2012 at 11:01 pm

Hi Stefano.

Looks like the autoclean is still not working on some of my sites. The date and time do not change unless I deactivate/activate the plugin. I re-enabled wp-cron to run and made sure the: define(‘WP_CACHE’, true); is in the head of wp-config as you instructed.

I am at a loss as to why this is happening. Any ideas I can try?


lovelu · November 16, 2012 at 8:08 pm

Is there any way to disable hyper-cache only for single.php, so it is always fresh? I mean, I do not want to cache for Single file. Thanks.

    Stefano · November 22, 2012 at 11:08 pm

    No there is no way. Single.php is only a template file, it can be called to generate posts, pages or even other type of custom post. In few words, single.php usually generates almost all the blog pages.

    Andrés · November 23, 2012 at 1:42 am

    You may try to put this code before the loop in your single.php page

    // Then your loop...

JDanswers · November 13, 2012 at 8:15 pm

HyperCache cleanup is not running as scheduled as the plugin sets it up when installing. I deactivated/activated and the date/time stamp changes as expected but the cleanup still does not run. In 48 hours the cache shows 151 items. I am assuming there should have been a cleanup within that 48 hours.

Does HyperCache use WP Cron to run cleanup? I have WP Cron deactivated in the wp-config.php file. Could this be the problem?


    Stefano · November 30, 2012 at 4:27 pm

    You should never disable the wp-cron otherwise if you use future post or other cron-based plugin you’ll have them not working.

Bryan · November 1, 2012 at 10:55 pm

I have a shopping cart widget in my sidebar, that is shown on every page. Is there a way to keep this information on the page dynamic while the rest is cached?

    Stefano · November 8, 2012 at 11:33 pm

    No, here is no way unless the cart system loads the cart via ajax to bypass the cache.

Plugin User · October 10, 2012 at 12:33 am

I have mod_deflate compression statements in .htaccess Given that, should I enable compression with this plugin as well?

    Stefano · November 8, 2012 at 11:48 pm

    You can set mod deflat to not compress the text/html mimetype to keep the compression enabled, or disable it.

Deniz · September 21, 2012 at 8:58 pm

Hi Mr. Stefano,

i have a sports site with your nice hyper cache plugin working great on my site.
i also use ajaxchat plugin ( ) and i want to disable hyper cache for ajaxchat plugin. how can i do that?


fabien · September 14, 2012 at 1:31 am

Hello again !
It’s ok, I found the solution !
I created my own version of your hyper_cache_invalidate_post($post_id) function into my plugin to invalidate and delete the cache page I need ;)

thanks again for your plugin !

Fabien · September 13, 2012 at 10:47 pm

Hello Stefano !

Really awesome plugin, I use it for a while, really nice.

I have a question. I work on a plugin that display content inside a page or a post using a shortcode. But when the content provided by the shortcode change, of course the post or the page is not “modified” in the classic wodrpress way but I need to invalidate the post/page to regenerate the cache for it. Have you an idea how to do it ? Is there a method or a function I can call or a header value to pass to tell hyper cache that this page cache must be regenerate ? I looked into your code but I can’t figure how to do this…

Thanks in advance for your help !
And eagain, great plugin !

Ruud · September 1, 2012 at 11:18 pm

Hi Stefano,

Installed Hyper Cache for 4 days, ever since statistics like NewStatPress and my own php stats (php line at the bottom of the page made in footer.php) decreased to 25%.
Any idea to solve this ?

    Stefano · September 2, 2012 at 6:33 pm

    If you want blog stats, do not install a cache or be sure your stats system is javascript (client side) based.

Joy Kumar · August 16, 2012 at 4:24 am

Hi Stefano, we recently switched to Hyper cache (installed on ) after running some benchmark results in comparison to W3 Total cache. With that cache we got a page speed loading time of 4.60 seconds for First View, and 0.46s for revisit. The First Byte was 0.45 seconds. Then we implemented Hyper cache and found that our page speed increased by almost 40% as compared to W3 total cache. Hyper cache benchmarks were: First View 3.35s, and and 0.44s for revisit. The First byte was within 0.26 seconds which is almost 40% lesser (and thus faster) than W3. With added plugin WP File Cache that works with Hyper Cache, we were further able to increase page speed of First View and decrease the First byte time.

Your Hyper cache is really neat, easy on hands and lite-weight.

SUGGESTION: Like W3, if you could please add function to cache database queries and object query cache, then we’ll not need to use extra plugin for the same.

Thanks a lot for great plugin.

    Stefano · October 2, 2012 at 12:17 am

    Sorry but it is to complex to maintain. A query cache means going really deep inside WordPress code. Too deep.

csabi · August 5, 2012 at 12:02 pm


I have an issue with Hyper Cache. My logs are full of this:
[Sun Aug 05 10:35:43 2012] [error] [client] PHP Warning: fopen(domain_name/wp-content/plugins/
hyper-cache/cache/0207fdb8c8100f96ef9f1301cc99f5b2.dat): failed to open stream: No such file or directory in domain_name/wp-content/plugins/hyper-cache/cache.php on line 295
[Sun Aug 05 10:35:43 2012] [error] [client] PHP Warning: fwrite() expects parameter 1 to be resource, boolea
n given in domain_name/wp-content/plugins/hyper-cache/cache.php on line 296
[Sun Aug 05 10:35:43 2012] [error] [client] PHP Warning: fclose() expects parameter 1 to be resource, boolea
n given in domain_name/wp-content/plugins/hyper-cache/cache.php on line 297

(domain_name is an edit by me. originally it was the local path to the WP directory).

Is there a problem with my configs or is it a bug?

Bob · August 1, 2012 at 9:00 am

Stefano, thanks very much for making Hyper Cache available. I have used WP Super Cache at several websites for years, but changes in recent versions made it unreliable. I switched a new website I am developing to Hyper Cache a few days ago as a test and I am very pleased. Your instructions are clear (trivial English errors, but easy to understand). Installation and configuration are both simple. Best of all, everything works exactly as expected with no problems whatsoever.

The new site where Hyper Cache is installed is a real estate website. There is still a considerable amount of work to do before it will be finished, but there are currently about 2600 real estate property listing pages. Some of those listings change each day. A CRON job runs wget with its –no-cache option after midnight each night to recursively reload each page and prime Hyper Cache for fast access during each following day. That works very well and cached pages load in remote client web browsers in about 1/3 the time required without caching.

Alexey Vesnin · July 28, 2012 at 4:02 pm

hi and good daytime! My question is : how can I specify a subnets or IP addresses to be bypassed by caching? For example : an external site crawling tool from a static IP I know must be served by WordPress without any caching. UserAgent bypass is not an option here – it can be changed or not specified at all. Thanks! :)

sert · July 28, 2012 at 12:08 am


my question Cached pages timeout

2400 post, 8000 tags and 10k visitor

how to set cached pages timeout value ?


    Andres · July 28, 2012 at 10:45 am

    I set the cache pages only for 2 recent days and works very well, now the server is not busy making and deleting cache of other days, specially with bots who generate a lot of “trash cache” of old posts.

    Try put this code in your header.php after and before tag:


    I waited many years to find that this cache configuration is the solution for sites with many visitors. I hope this can hel to you.

    Andres · July 28, 2012 at 10:51 am

    I set the cache pages only for 2 recent days and works very well, now the server is not busy making and deleting cache of other days, specially with bots who generate a lot of “trash cache” of old posts.

    Try put this code in your header.php after wp_head(); and before body tag:

    (Write an open php sign here …)
    global $post, $hyper_cache_stop; if (strtotime($post->post_date) < strtotime('-2 days')) {$hyper_cache_stop = true;}
    (Write a close php sign here…)

    I waited many years to find that this cache configuration is the solution for sites with many visitors. I hope this can hel to you.

      sert · July 29, 2012 at 12:04 am


      Thanks for the information @Andres

      but did not understand :(

      how to set cached pages timeout value ?


        Andrés · July 29, 2012 at 3:53 pm

        Hello sert:

        That is very clear to me. Just go to Settings >> Hyper Cache, and modify the field called “Cached pages timeout”:
        720 minutes is half a day, 1440 is a full day and so on. Is that your question?

        You would to set “Cache invalidation mode” in “Only modified posts” and put a check on “Invalidate home, archives, categories on single post invalidation” to keep always fresh your home page too.

Kevin · July 24, 2012 at 10:45 pm

Will clicking on the “clear cache” button mess up the website in anyway? I’ve always assumed that caching plugins cleared caches on their own every now and then anyway.

And if it does sometimes mess up the website, what’s usually the reason?

Connie · July 23, 2012 at 10:01 pm

Hi Stefano,

I’ve had Hyper Cache on for a long time and I love it.

Question: I have a multi-site install on Will Hyper Cache work on a multi-site install?

    Fran · July 23, 2012 at 10:48 pm

    Just my expérience here as I usually use Hyper Cache too and had to deal with a multisite install too.
    After some research, I found out that only the plugin Quick Cache works with multisite. I am satisfied with it.
    And in case you usually use WP Minify for minifying, it doesn’t work either with multisite. The one to use is then Better WordPress Minify.
    I hope this will help,

    Stefano · July 31, 2012 at 5:16 pm

    It should work since hyper cache stores the page in a codified file which comprises the host. But full cache invalidation will invalidate every page of every site.

      Connie · July 31, 2012 at 6:12 pm

      Ok I’ll try it again. Thanks.

      P.S. To Fran: Quick Cache didn’t work. Some memory limit issue.

      Connie · August 1, 2012 at 10:25 am

      Thank you, thank you! It’s now working perfectly. :)

natehc · June 22, 2012 at 8:13 pm

Hi Stefano. Thanks for the great plugin. we have an issue running it lately. When i mobile device accesses a blog page, the mobile page is cached and then also sent to all non mobile browsers.

or if a non mobile browser visits a blog page first and caches the page, then the non mobile version is sent to mobile browsers.

we have wp-touch pro installed on the blog also.

    Stefano · June 22, 2012 at 8:27 pm

    You need to enable mobile detection on hyper cache and hope che wp-touch and hyper cache agents are the same (usually they are). Or you can configure the hyper cache user agents for mobile detection.

Giulio · June 20, 2012 at 4:52 pm

Hi Stefano,

I use your plugin on all my wordpress installation.

I have a strange problem after upgrade to last version. The problem is that if I enable the plugin all the site is displayed with strange symbol. Like square or / or &. All the site pages are displayed with only symbols and no image or word. As soon as I disable the plugin the site works well. If I reinstall the previous versione of hyper cache, the site works correct. Unfortunatly I can’t find no more the previous version and so I had to disable the plugin.

Can you help me?

Thank you

Fran · June 19, 2012 at 4:34 pm

Just sent a comment but it’s not displayed (???) So I do it again…

Problem with the code added in wp-config.php
When added, the wp site doesn’t work anymore : on backend and on frontend, I get the message :
Parse error: syntax error, unexpected $end in /homez.483/aljabal/www/WordPress3/wp-config.php on line 1
And I can’t even login anymore.

I first added the code juste after the line define (‘WPLANG’, ‘fr_FR’);
Then I tried to add it at the beginning, just after <?php
Always the same error message

For info, I used Hyper Cache on another wp website recently and it worked perfectly. I didn't have that problem when adding the code.

Do you have an idea of what is not working ?

Question Nr 2 (more general) :
On our we backend, on the Hyper Cache page, the message says to add the code just after the line <?php but on your website here, you say to add it after the line define(WPLANG…)
What the real best way ? and is it important ?

Thanks for your attention,

    Fran · June 20, 2012 at 5:38 pm

    I am very sorry for having written all this for nothing. Stefano, don’t hesitate deleting my comment and this reply.
    I don’t know what happened but when I re-tried this morning, all worked perfectly fine.
    Thanks again for a great great plugin

    Stefano · June 20, 2012 at 8:33 pm

    A syntax error, means there are something wrong in the code added to wp-config.php. Try to start from the original and add the code again, may be copying from a working wp-config.php.

Fran · June 19, 2012 at 4:14 pm

Thanks Stefano for this good plugin !
I have a problem though.
I’ve used it successfully on one site and now I’m having an unexpected problem on another site –>
(this site is basically not WP, just html but the box within this page is a WordPress iframe)

It’s all about the addition of code within wp-confing.php

1) I added the code just after the line define(WPLANG, ”) as you advise on on website.
Result, I get the following error message and I can’t login anymore :
“Parse error: syntax error, unexpected $end in /homez.483/aljabal/www/WordPress3/wp-config.php on line 1 ”
It’s weird because I di’dnt touch line 1 and it’s just the usual <?php

I then tried to add the code at the beginning, just after the line <?php but I got the same error.

The code I added is
/** Pour plugin HYper Cache **/
define('WP_CACHE', true);
/** Fin **/
It's the exact copy of the code I added on the first site, with which I have no problem

Do you see what goes wrong ?

2) More general question : On our wp dashboard, on the plugin page, the message says to add the code just after the line <?php and on your website you say to add it under the line define(WPLANG, ”)
What is the real best way ? And is it important ?

Thanks for your attention,

Andy · June 14, 2012 at 10:16 pm

I’m trying to get Hyper-cache working on IIS hosting. I noticed that you said it takes some configuration tweaking to make it work but could not find any documentation of this. Google was unhelpful as well. Thanks!

Fran · June 11, 2012 at 11:39 am

My page with comments is this one –>

I just approved a comment. When connected, the new comment is displayed on the page but when I am not connected, the new comment is not displayed. No idea when it will be…
How come ? An addition of comment is like a modification of post, right ?

For info, in my Hyper Cache settings, I left all the settings to default. Which means that “Cache invalidation mode” is on “Only modified posts”.

Can you help ?

    Stefano · June 11, 2012 at 10:50 pm

    Yes you’re right, a comment should invalidate the page. My doubt is about comment approval from administrative side that may be does not call the “post modified” hook. I’ll check it.

Patrick · June 7, 2012 at 6:58 pm

Hi Stefano,

Many thanks for this great plugin. It seems to work very well on my website, but recently I have a problem with my Nextgen Gallery Plugin.

If I want to click throught it, it doesn’t show the next image. When I refresh the gallery after I cleared the cache, the next image is shown.

I deactivated Hyper Cache and the gallery worked perfectly.

Could you help me on this one?



    Stefano · June 23, 2012 at 9:28 am

    Hi Patrick, I don’t know why that happens, I need to test it to find the reason. Can you help me to test it?

RT Cunningham · June 3, 2012 at 10:47 am

I’ve been using Quick Cache instead of Hyper Cache on multiple sites. Before that I was using Hyper Cache and I want to go back to using Hyper Cache. The one thing missing from all the cache plugins is the ability to include additional pages to invalidate along with the “modified” ones.

I have three pages that should be kept current along with all the modified ones: blog page, categories listing page and tag listing page. The important one, however, is the blog page and if you check the navigation on my site, you’ll see what I mean.

I have no problem adding code manually, that isn’t in the options, I just need to know where.

Nordin · May 29, 2012 at 8:16 pm

is this plugin compatible with the latest wp-ecommerce?

Chief Editor · May 27, 2012 at 10:23 am

First of all, thank you for effective yet simpler cache plugin. I have been using this plugin since quite sometime. My site allows multiple members. It also has bbpress. I observed logout not functioning properly when triggered by url… User is still shown logged in (wrongly) however she cannot do any member action without login again. Could you please check and fix it – thanks

Mel · May 16, 2012 at 11:24 am

I’m running the latest version of Hyper Cache, but it seems not to like WPTouch plugin (= for mobile pages). In the web browser, Hyper cache will sometimes serve the mobile site instead of the actual website. So there is a bug collaborating with WPtouch. Current ad-hoc solution is to clean the cache once in a few days. Hope this can be fixed asap.

Also, many thanks for the great plugin!

Douglas · April 19, 2012 at 5:51 am

Hi, I would like to strip all query strings on the URL, unless the search parameter ( s ).

If “Strip query string” is set true, the search page become mixed with the home page. That’s not cool.

There’s a way to strip all parameters that is not the search parameter ??

chefo · March 27, 2012 at 1:34 pm

In old versions of HyperCache there was option to set autoclean time, now in latest version is harcoded to 60 min, what are your having in mind to make that , is better for server CPU to audoclean every hour or lets say every 3-4 days? Thanks. great plugin

Anand Kumar · March 15, 2012 at 11:45 am

I just need one feature in HyperCache. Like LiteCache please add theme changer feature in HyperCache.

Thanks for the rocking Hypercache plugin.

GerardC · February 28, 2012 at 4:11 pm

I have Hyper-cache installed with the default values. Only my home page is cached. The other pages which will be started from the menubar will not be cached (long wait). The cache counter remains at 1.
I am not logged in as user!
What am I doing wrong?

Gerard · February 28, 2012 at 4:04 pm

I have Hyper-cache installed with the default values. Only my home page is cached. The other pages which will be started from the menubar will not be cached (long wait). The cache counter remains at 1.
What am I doing wrong?

Joe · February 21, 2012 at 3:24 pm

I recently upgrades from 2.6.x to the newest version of your super plugin. With the new version I have the problem that my pages outside the wp directory /blog/ are not cached anymore. Especially on my homepage this is a serious problem because of the traffic. Here I use “require(‘blog/wp-blog-header.php’);” to call wordpress funtions. The blog is in the subdirectoy /blog/ In the old version this page and others outside the wordpress directory have been cached. Is this still possible?

    Stefano · March 14, 2012 at 10:03 pm

    Remove the plugin and the advanced-cache.php file inside the wp-content dir. Check is you modified in the wrong way the wp-config.php. Restore it to the orginal one from the backed up version.

De Andre · February 16, 2012 at 12:35 am

I installed Hyper-Cache tonight in hope of speeding up my sluggish wordpress website. After hitting the “empty cache” button on the plug-in in the plugin settings…. my site suddenly DOESN’T LOAD anymore. I can’t access the site or the admin panel.

Can anybody tell me what I should do? I removed the plugin AND the php code from the wp_config.php file… but NOTHING IS WORKING and the page won’t load at all.

Any help, please? Its urgent. Thank you people.

John · January 20, 2012 at 1:53 am

Stefano said – There is an option on hyper cache admin panel o enable url with query parameters caching, is it not working?

Answer – Yes it is working but it requires one to read through the panel with brain engaged! Doh!

Jordan · January 20, 2012 at 1:02 am

Dear Stefano,

Great caching plugin – thank you so much!

I’m running it on a website with 2,500 posts and the load time is fabulous – from over 6 seconds before hyper-cache to about 2 seconds now.

I have it set up to invalidate modified posts only.

My current cache, after about a week running, has nearly 15,000 files. It’s still running very fast, and storage is not a problem, but I was wondering: doesn’t the hourly cleanup mean older files get removed?

I would prefer not to clear the cache often so even the less frequently read posts are cached. But I suspect that the size of the cache will eventually start slowing it down.

Is this cache behavior normal? Does it not remove duplicate cached files?

Many Thanks!

Ben · January 17, 2012 at 1:45 pm


Thanks for making this plug in. It’s fantastic and really improves the speed on one of my sites. Just wondering if there is a way around it cacheing the admin bar at the top of the page when I view the home page while logged in? It means non admin users are seeing my admin bar.


    Fernando H Rosa · January 17, 2012 at 1:49 pm

    No. It doesn’t mean that. Any user that is logged in or has commented in the past never gets a cached version delivered to them.

      Stefano · January 17, 2012 at 5:36 pm

      Use lite cache to have the page cache EVEN if visitors previously left a comment: it should work with any theme.

William · January 17, 2012 at 10:54 am

I’m using hypercache and love it however is there a way to exude certain plugins and widgets from being cached?

My problem is I’m using wordpress event calendar and my date isn’t updating daily?

Please let me know I’d really appreciate it.


    Andrés · January 17, 2012 at 2:27 pm

    I join William’s question.
    I need that the last publications in my sidebar are always fresh.
    How can i make this?

John · January 17, 2012 at 12:34 am

OK – It’s now working. Went to advanced-cache.php and changed false to true in this line.
$hyper_cache_cache_qs = false;

    Andrés · January 17, 2012 at 1:00 am

    Congratulations John!
    My line in advanced-cache.php is set to false and work fine… the mysteries of the Internet.
    I will try to remember your issue to help anybody (or me!) in the future.

    Best regards.

    Stefano · January 17, 2012 at 5:33 pm

    There is an option on hyper cache admin panel o enable url with query parameters caching, is it not working?

John · January 15, 2012 at 12:01 pm

And – it transpires caching WAS deactivated by the webhost but is now turned on (Thanks webhost!) However – it’s still only the home page that caches and I strongly suspect this is something to do with the brief entry from waste in November
***Maybe a dumb thing, but if our site uses ?p= queries you need to activate URL with parameters. it wasn’t documented and the default wordpress permalink uses ?p***
but in what file and how do I activate the URL please?

John · January 14, 2012 at 11:17 am

Yes – I have the WP_cache , true statement.
Have tried hypercache extended. Still no cached files.
Am increasingly convinced it’s to do with server settings – but thanks for your many suggestions. It all helps narrow down the problem!

John · January 13, 2012 at 10:49 pm

Hi Andrés
Many thanks for your efforts to help.
I tried the php.ini solution. They were exactly as you described (utf-8 in WP and iso-8859-1… in php.ini)
It didn’t work – but at least that’s one more thing to rule out!
Do you happen to know whether there ought to be a wp-cache-config.php file in wp-content folder. There doesn’t seem to be one generated by hypercache and it doesn’t come with the WP files but such a file does get mentioned on the web in articles about caching.
Best wishes from the UK

    Andrés · January 13, 2012 at 11:50 pm

    Well my dear, you’re using up all my secrets!, I am not an expert, I’m sorry, ja, ja, ja.

    I understand wp-cache-config.php belongs to “WP Super Cache” plugin. Delete that file.

    Have you added the line of code: define(‘WP_CACHE’, true);
    into the file wp-config.php (just after after the <?php) ?

    Andrés · January 14, 2012 at 12:06 am

    Hey John, you could try with Hyper Cache Extended plugin, do not lose hope!

John · January 13, 2012 at 9:23 pm

Thanks Andrés
Tried that and the path that was automatically generated was already perfectly correct.
It’s definitely not the cache or hyper-cache folder permissions which are 777 and the wp-config file has define(‘WP_CACHE’, true);
I’ve briefly tried a different caching plugin (Quick cache) and that seems to have exactly the same problem: nothing arrives in the cache folder. So, it’s probably not your plugin but something ‘deeper.’
Do you know if there are other wordpress files essential for caching to work? Or might it be to do with the php settings used by the webhost – or is some sort of -htaccess file needed? I’m way out of my depth here!

    Andrés · January 13, 2012 at 10:14 pm

    Hi John:
    I must to say that this plugin is not mine, is made by Stefano Lissa. I only come here to try to help to somebody when is possible and as a way to thank Stefano for his great plugin.

    A few times, there is an issue with the php.ini configuration. If you web-hosting let you access to that file, check the following: First, in WordPress >> Settings >> Reading, look your character encoding setting. The mine is set to UTF-8.
    Then open your php.ini file and check if the default charset is the same. The mine is like this:
    default_mimetype = “text/html”
    default_charset = “utf-8”

    May be your charset is iso-8859-1… you could try to change it to utf-8.

    Just try to set the same character encoding in WordPress like in your php.ini file, that worked for me a long time ago.

    Best regards from Chile.

    Stefano · January 27, 2012 at 8:04 am

    Caches need to put the file advanced-cache.php file inside the wp-content. There is such file?

Andrés · January 12, 2012 at 6:11 pm


Look into advanced-cache.php file (located in wp-content folder).
In this file, find the first line. You may see something like:

$hyper_cache[‘path’] = “/home/your_site_name/domains/”;

May be the initial root of your path is wrong, is not absolute. The path must to be absolute and start with /home (and forward…)

To find the absolute path of your web server you can create a file with this content:

Then name this file path.php and put it on your public_html folder or anywhere in the web-accessible folder. Now type and you will get your absolute path.
(More about this in

Compare that absolute path with which you have in your advanced-cache.php and complement it if it necessary.

Best regards.

John · January 12, 2012 at 4:11 pm

Sounded just what I need so decided to give it a try.
Like many of the above – installed, activated on Using WP 3.3.1 and checked folder permissions (777) – but nothing appearing in the hyper-cache folder(except a zero length archive file.) Load times seemingly unchanged.
Tried deleting and recreating the cache folders – made no difference.

Could it be something beyond the WP – like needing an .htaccess file or having some specific settings for php that the webhost doesn’t use as the default?

    Stefano · January 29, 2012 at 4:39 pm

    Hyper cache is now working on your blog as I can see. Did you check it with a clean browser?

Keltxo · January 5, 2012 at 4:41 pm


I have installed Hyper Cache in my blog web-site but it doesn’t work well because /wp-content/cache/hyper-cache/ folder is empty. Indeed Files in cache (valid and expired) is 0.

The CHMOD of the folder is set to 755 permissions.

¿Is mandatory to set the folder permission to 777?

Thank you for your help.

    Andrés · January 5, 2012 at 5:53 pm

    Yes Keltxco, is mandatory to set permissions to 777 only on that folder, for me at least.

Asha · December 29, 2011 at 7:13 am

I cant find the config.php file in my editor:(

    Stefano · December 31, 2011 at 4:32 pm

    The config.php is in the root of your wordpress installation, you need anf FTP access to edit it.

Jeff · November 22, 2011 at 2:48 am

Thanks for this great plugin.

Using 2.8.5
Compression: Disk space usage
This setting is stuck [checked] for me.
If I uncheck it, the setting doesn’t stick.

Other settings, like Cache Timeout do save and stick.

How can I update this setting? Can it be updated manually?

    Jeff · November 22, 2011 at 2:51 am

    found the answer.. just didn’t realize it was dependent on option above it. Thanks again for great plugin !

Ken · November 16, 2011 at 9:40 pm

Hello :)

I have used this plugin for the past few years and love it!

I recently created a few mobile sites for some of the sites I am using hyper-cache on.

There is a script that I have to use that goes at the top of the “header.php” file. It redirects the user to the mobile site ( Here is the script that goes in the header.php file.

check() == true) $mobile->redirect(“”);

With hyper-cache turned on the user doesn’t get redirected to the mobile site. I have tried many combinations of the setting in hyper-cache and nothing works. The only thing that works is to turn off hyper-cache :(

How can I make this script process before hyper-cache serves up the cached pages?

Thanks :)

Ken Roberts

    Ken Roberts · December 29, 2011 at 9:39 pm

    Hello :)

    I solved my own problem.

    I was able to solve this problem by inserting the php code at the top of the cache.php file.

waste · November 16, 2011 at 12:39 am

while everything seems to work, hypercache never creates more than one file in the cache folder.

why is that happening?

im using latest version for both hypecache and wordpress

    waste · November 16, 2011 at 1:57 am

    maybe a dumb thing, but if our site uses ?p= queries you need to activate URL with parameters

    it wasent documented and the default wordpress permalink uses ?p

kakaroto · November 8, 2011 at 2:56 pm

I can’t disable “disk space usage”. Whenever I untick the option and save the settings the box reappears ticked. Does anybody have a clue to disable it?

Can i turn on the caching for logged user?

Thx and sorry for my bad english

    Stefano · November 8, 2011 at 6:08 pm

    No the caching for logged in user cannot be enabled, use lite cache for that (but do you know the subtle problem of that kind of caching?)

    About the disk space read the notes on configuration panel.

Fernando H Rosa · October 10, 2011 at 4:04 am

I’m experiencing something very weird with Hypercache 2.8.5.

After the upgrade, the “Settings” link on the Plugin page for Hyper cache simply disappeared, and I lost access to the plugin configs.

Tried installing it in two other WordPress instalations (3.2.1) but same issue. I only see Deactivate or Edit. No settings whatsoever (see picture).

I had to use an older version of hyper-cache (2.8.0), to find out the path to see the settings and manually load this path on the other blogs with 2.8.5 to be able to configure it: /wp-admin/options-general.php?page=hyper-cache/options.php

John · August 31, 2011 at 3:57 am

I’ve noticed that my site is no longer refreshing when new content is added ( need to manually refresh each time). Hyper Cache hasn’t been showing any cached files each time I check… could these be related?

Mau · August 26, 2011 at 12:03 pm

When I have debugging on I get the message: Notice: Use of undefined constant SID – assumed ‘SID’ in /var/www/vhosts/6/*****/webspace/httpdocs/wp-content/plugins/hyper-cache/cache.php on line 11

Can I ignore this?

    Mounir · September 9, 2011 at 4:07 pm

    Hi there :)

    I’m having the same problem;

    the cache.php on line 11
    “if (defined(SID) && SID != ”) return false;”

    How to resolve this issue, pleas Help :)

      Stefano · September 10, 2011 at 4:33 pm

      I need to fix it. Change to


      with single quotes.

abby fichtner · August 17, 2011 at 4:29 am

I upgraded to 2.8.5 and now I only get PHP warnings when I try to access pages (unless I deactivate HyperCache).

Here is the error (I replaced part of my path with XXX in this message). Please help!

PHP Warning: fopen(D:\XXX\wwwroot/wp-content/cache/hyper-cache/4ae61022611ad73257e4f5cebdbab93a.dat) [function.fopen]: failed to open stream: Invalid argument in D:\XXX\wwwroot\wp-content\plugins\hyper-cache\cache.php on line 251
PHP Warning: fwrite(): supplied argument is not a valid stream resource in D:\XXX\wwwroot\wp-content\plugins\hyper-cache\cache.php on line 252
PHP Warning: fclose(): supplied argument is not a valid stream resource in D:\XXX\wwwroot\wp-content\plugins\hyper-cache\cache.php on line 253

redlab · August 10, 2011 at 4:37 pm

@Naveen the cache folder is now in wp-content/cache
It’s currently not caching anything for me since the last update. (not logged in and setted 777 )

    redlab · August 10, 2011 at 6:13 pm

    to answer myself:
    like Tom Usher says above, after upgrading, click update does seem to do the trick and activates caching, I checked it in the folder too.

Naveen · August 7, 2011 at 2:21 pm


New version of Hyper Cache (V2.8.5) is not recreating the “cache” folder. Even, I see that it has created a “cache” folder in “wp-content/plugins” directory. It is caching the files and serving them, but not showing up in the plugin options after logged in.

Could you please check what the problem is.

Great plugin, thanks a lot for it. I recommend it as a must-have plugin.


Yuri · July 30, 2011 at 9:35 am

Ciao Stefano,
dopo l’aggiornamento dell’ultima versione di hyper cache volevo dirti che gli header adesso non sono corretti solo nei post singoli.


    Yuri · July 30, 2011 at 9:40 am

    Aggiornamento istantaneo: solo con Firefox me lo fa, con Chrome no, non so da cosa possa dipendere.

Tom Usher · July 26, 2011 at 9:48 am

Actually, it’s the “Update” button, not “save.”

mAEX · July 23, 2011 at 2:05 pm

PragmaticMom>> ADD A FOLDER “CACHE” in the installation dir of hypercache, root > wp-content > plugins – hyper-cache then create “cache” there and give it permission, chmod 777 , for example.

    jay · July 23, 2011 at 4:57 pm

    mAEX, thanks for the info. I did that, but 24 hours later, there are no cache pages in the folder. Any thoughts on what is up, and how to fix?

      Dave · July 26, 2011 at 1:41 am

      @jay, I just upgraded the plugin to the latest version and it’s not displaying that there are any cached pages for me either. You’re not the only one. I’m not sure if the latest version of the plugin is broken. May have to switch to another caching plugin.

        Tom Usher · July 26, 2011 at 9:46 am

        The path to the cached pages is: /wordpress/wp-content/cache/hyper-cache/

        The file “_archives.dat” is in that subdirectory right now, but it’s the only file and it’s size is 0.

        I’m now going to go to the plugin’s settings page and hit the save button.

        That did it. The cache subdirectory is filling up with the posts I’m visiting, and the source code of those posts is showing hyper cache at the very bottom.

PragmaticMom · July 23, 2011 at 1:57 pm

I updated HyperCache and got this red message: Hyper Cache was not able to create the folder “cache” in its installation dir. Create it by hand and make it writable.

How do I do this? I called my hosting company, Go Daddy! and they were not helpful.

I did add a folder in the root directory called “cache” but it doesn’t seem to work. Do have I have to add this into the Hypercache folder? I can’t find the installation directory for hypercache. I am not very technical. thank you!

Jay · July 22, 2011 at 5:01 pm

You say to create a folder for caching, and to make it writable. Shoud that be 777, or 757? I created a folder called “cache” in the Hyper Cache folder, but I am not seeing any files in it. I set it to 777 and the red warning banner went away. Let me know if you think I have done things correctly.

I notice another folder called Cache in the wp-content folder. Is that related to Hyper Cache?

Tom Usher · July 22, 2011 at 10:00 am

Ah, the text expands when clicked. I suggest making the text blue and underlined or adding instructions to “Click to expand.”

On my other question, say I want a post to last a week in the cache, I assume I would enter 10080 in “Cached pages timeout.” At the end of that post’s life of 10080, would it be automatically deleted from the cache and a replacement generated the next time it’s requested? If so, then I can certainly work with that.

Please accept my apologies for any confusion caused by my comments.

Tom Usher · July 21, 2011 at 4:05 pm

This is all I see since updating to Version 2.8.1:

Cache status
Configuration for mobile devices
Advanced options

I don’t see “Files in cache (valid and expired)” anymore or any of the other subtext.

I switched to my own style sheet and was able to see everything. All the settings remain the same from the previous version.

WordPress is Version 3.2.1.

I’m using Opera 11.50. I haven’t looked at it using a different browser yet.

It’s a solid plugin. The only thing I’ve found that I must do is schedule a manual cache cleaning on my computer calendar to prompt me to go do it so it won’t become too large.

I’d like a maximum number of files and for the oldest ones to roll off (delete automatically). Then it would be pretty much maintenance free. However, maybe there is a setting there that I just haven’t understood correctly.

Jack · July 2, 2011 at 9:53 pm

Hi, I love the load speed. Question: Does this plugin in any way effect spider crawls, such as possibly blocking them? Also, is there any harm in flushing the cache after making revisions to a post? Thanks

Greg · June 24, 2011 at 5:34 pm

Along with that, I would also want it to not store cached pages for when a logged in users is browsing (since they have the wp admin bar visible at top, and also some custom code I added displaying their user name and such).

Greg · June 24, 2011 at 5:32 pm

Hi, I’m thinking of installing this plugin. Is there a setting to block serving up cached pages for logged in users?


    Stefano · June 29, 2011 at 8:35 am

    Hyper Cache DOES NOT cache pages for logged in people.

WouterB · May 29, 2011 at 10:13 pm

Where can I find the changelog for 2.7.7 and 2.7.8 and 2.7.9 and 2.80?

I’m still using 2.7.6 because I would like to know what is changed before I download the latest version.


Phoenix · May 29, 2011 at 7:02 pm

When using Hyper cache, the “Pragma” comes up for my page as “no-cache” in the browser.

Without the caching plugin, there’s no such tag. In fact the “Expires”, “Max-Age” etc are perfect.

What’s the point of this plugin if it makes my blog carry “no-cache” tags?

Or am I missing something?


stephanie de leng · May 28, 2011 at 8:25 pm


I am not technical, so do not understand your instructions. Where is wp-config.php and if it on my host who installed wordpress for me, then why is define(‘WP_CACHE’, true); already there? Please can you write instructions for TOTAL beginners. Like, login to wordpress account, go to options, go here, go there. Or, login to your host (mine is bluehost) and go here, go there. I have spent 4 hours trying to find this file and feel blind. Also, it says that define(‘WP_CACHE’, true); was added by W3 total cache, a plug in I never activated and actually deleted. I am SO CONFUSED!
/** Enable W3 Total Cache **/
define('WP_CACHE', true); // Added by W3 Total Cache

* The base configurations of the WordPress.
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
* @package WordPress
/** Enable W3 Total Cache **/
define('WP_CACHE', true); // Added by W3 Total Cache

* The base configurations of the WordPress.
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
* @package WordPress

קונספירציה · May 22, 2011 at 11:32 am

I think my statpress plugin stats are not working good with hyper cache, the numbers are not getting updated.

Can I use Statpress plugin with hyper cache?

Lisa · April 30, 2011 at 7:43 am

How can I exclude parts of the page (such as JS, ads etx) that I don’t want cached?

Polls, ads and some ajax functions stopped updating when I installed this plugin.

Melissa · April 15, 2011 at 8:20 pm


First of all – this has been a great caching system so far and has been very useful to us for over a year.

Lately, however, I’ve been noticing (through google webmaster tools) that the cached urls for /tag are adding a lot of weird and wrong information.

For example, instead of /tag/jim-gibbons, it will show:


This wrong information exists in the cached .dat files.

HorridJasper · April 12, 2011 at 4:36 pm


One of our sites using hypercache keeps showing up with a cached google search applied to it, with someones search terms highlighted and the ‘You arrived here after searching for the following phrases:’ box at the top. I cant see it mentioned that anyone else has had this problem. Any ideas would be very much appreciated.


Wolf · March 28, 2011 at 12:17 pm

Hi Mate
I looking to save the cache files in my rackspace CDN. Where or how can I tell hypercache to save the files.

Any pointer appreciated.


WouterB · March 23, 2011 at 10:39 am

Question 1:
Where can I find the changelog for 2.7.7 and 2.7.8 and 2.7.9?

Question 2:
I’m using the “Strip query string” option but I noticed this will also cache the standard WordPress shortlinks like:

as one page. Is it possible to disable the “Strip query string” option for some parameters?

jj · March 21, 2011 at 11:52 pm

is there a way to ‘preload’ all your wp pages into hyper cache?

I would like to delete the cache and then have it re-cache all my pages so I don’t have to waste server resources waiting for users to view the page first instead of a cached page.


Chris Hill-Scott · March 18, 2011 at 4:44 pm

Hey, I have a problem with Hyper Cache not caching pages with query strings. I’m using version 2.7.9.

This is how I have the settings:

If I go to for example, everything works fine, at the bottom of the source it says .

If I go to then I don’t see any message at the bottom of the source.

Any idea where I’m going wrong?

Baron · March 15, 2011 at 1:35 am

Love Hyper Cache but have run into an issue when also using WPtouch Pro. I can’t get it two switch between Desktop and Mobile version. According to their tech-heads.

‘Looks like somewhere along the way with an update to Hyper Cache something changed and the switch link in WPtouch Pro doesn’t function as it should even when telling it to ignore mobile user agents because a few versions back Hyper cache 2.3.3 seems to work fine. You may want to check with them to see what changed and if they can release an update to remedy the issue, because it’s not in WPtouch Pro.’

Keep up the great work!

WouterB · March 9, 2011 at 7:01 pm

Question 1:
Where can I find the changelog for 2.7.7 and 2.7.8 and 2.7.9?

Question 2:
I’m using the “Strip query string” option but I noticed this will also cache the standard WordPress shortlinks like:

as one page. Is it possible to disable the “Strip query string” option for some parameters?

nawed · March 9, 2011 at 5:04 am


I am still confused with cache page timeout settings. I get 4500 pages in cache when using default 1440 as timeout. My server has 4 GB space.

Is it ok to keep 4500 files on cache or should I decrease the timeout?

Please help me anyone.

Andreas · March 7, 2011 at 7:15 pm

Okay, I finally found the support forum. ;) Sorry for trying to get a response elsewhere.

I can’t get the compression to work. If I turn it on the site becomes “unavailable”. I contacted my provider to ask what services they run on their Apache and the said that they run ‘gzip’ and ‘deflate’.

It seems to work for others. Why not for me? Any ideas?


Erlend Sogge Heggen · February 23, 2011 at 10:50 pm

Your supposed “versions history” link doesn’t work any longer:

Could you please start keeping a default changelog?

Altug · February 23, 2011 at 11:01 am

Is there a way to see which pages are cached?

I see the file names in Cache folder like “3899aba4865ea14e42dbfc790863091d.dat”

Golda · February 10, 2011 at 6:05 pm


I want to install the line of code but I don’t have a wp-config file. I’m using the techozoic theme. Do you have any advice?


webster · January 26, 2011 at 8:55 am


How do I know this is working? I have installed it edited the wp-config.php etc

I have put 9 posts in but Files in cache (valid and expired) is only reading 2.

I have refreshed page and it is still showing 2 yet there are 9 posts.

Thanks all

WouterB · January 24, 2011 at 1:26 pm

Question 1:
Where can I find the changelog for 2.7.7 and 2.7.8?

Question 2:
I’m using the “Strip query string” option but I noticed this will also cache the standard WordPress shortlinks like:

as one page. Is it possible to disable the “Strip query string” option for some parameters?

Kasper Nielsen · January 2, 2011 at 12:52 pm

forgot to press notify.. :)

    Kasper Nielsen · January 6, 2011 at 1:06 pm

    Without changing anything it starts to work better now ;) Thanks for a great plugin..

    PS. Does the hypercache still init WordPress – so it will use a lot of memory

Kasper Nielsen · January 2, 2011 at 12:52 pm


I love the hyper cache plugin but almost everytime i reload the page a new timestamp i generated.

I have checked Disable cache for commenters, and only modified posts. but even if there is no comments or a modified post there is a new cache timestamp ?

Please help


Andrés · December 26, 2010 at 9:04 am

Hi DG: You may to try with Hyper Cache Extended

Best regards,


DG · December 25, 2010 at 6:33 pm


By deafult, Hype Cache is set to run ‘hourly’ and initiate wp-cron for ‘cleaning process’. It’s causing a lot of bandwidth (GPUs) on media temple grid server.

Can you please advise, how to reduce the wp-cron hits by Hype cache?

This will help all Media Temple Grid Service accounts.



rtalakola · December 14, 2010 at 4:35 pm

Is there any way to change the cache folder path.
We have the wordpress installation on NFS file system.
WOuld like to have the cache directory locally on the server.
Please advise.

thanks for your help in advance,

Rafael Dourado · December 10, 2010 at 4:47 pm

Do you already have some clue about Hyper Cache does not cache anything? The /cache folder is always empty.

ramon · November 15, 2010 at 12:59 pm


I have a strange situation here testing the plugin.

advanced-cache.php is created.
/plugins/hyper-cache/cache folder is created and already has cache files inside.

There’s no warning in settings page, but…

After loading the page in a clean browser I can’t see the signature in the html file.

get_num_queries shows me that wordpress is still accessing the DB.

Another odd thing. In advanced-cache.php is written $hyper_cache_timeout = 86400; when I have 1440 as timeout in my settings.

Any idea?

Craig · November 5, 2010 at 9:39 am

sorry for the double post, I’d posted this comment on your main page before noticing this “support” page.

I downloaded and installed hyper cache (2.7.6) about a week or so ago and it seems to run great. Then just tonight, I had this message pop up.

“Your wp-content folder is not writable. Hyper Cache needs to create a file called advanced-cache.php in to that folder in order to work. Make it writable and deactivate and reactivate Hyper Cache.”

Any ideas what the cause may be? Is this a legitimate problem?

Thanks much,


p · October 28, 2010 at 4:36 pm

hey Stefano,

there’s a major issue when someone defines a custom wp-content dir with the ‘WP_CONTENT_DIR’ constant in wp-config.php.

You should never hard-code that folder and use the ‘WP_CONTENT_DIR’ constant instead.

Basically, instead of:
ABSPATH . ‘wp-content/etc’

‘WP_CONTENT_DIR’ . ‘/etc’

I’ll try to manually fix this myself in the source and see if the plugin works with a custom wp install. But it will be good if you can also fix that in future releases of the plugin.

PS: Same issue about the plugin dir, just use ‘WP_PLUGIN_DIR’.


Tom · October 18, 2010 at 9:03 am

Thanks! Now the date works fine.

Tom · October 17, 2010 at 8:48 pm

Hey ho,

since one of the last plugin updates the following date appears in the plugin settings:
Cleaning process
Next run on: 1. January 1970 02:00

It seems that the cleaning process has stranded in the 70ies and doesn´t work anymore.

This happens unfortunately on different web servers and different WordPress Version 2.9 – 3.0.1

Calvin · October 15, 2010 at 8:49 pm

I really appreciate this plugin. It’s really helping my website’s performace.

But there is one small bug that breaks my RSS feed everytime I update this plugin.

At the bottom of the cache.php file, after the closing php script tag ( ?> ), there are 2 carriage returns. These carriage returns cause extra HTML characters to render before WordPress is ready for them. This will cause RSS feed to stop working.

I have gone in an made these changes just to make my website work. Fore the sake of others who are downloading this plugin, can these carrage returns be removed from the original source code?

Thank you and Kudos!

Adam · October 13, 2010 at 3:41 pm

I just upgraded to 2.7.5 and it doesn’t work so I put back the previous version which works fine. After upgrading it gave an error that it couldn’t create a cache folder and to change permissions to 777. After doing this the error stopped but there was no caching.

    Andrés · October 13, 2010 at 4:45 pm

    Hi Adam: For all that people who say that in spite of giving all the permissions of writing to WP folders, Hyper Cache follows without working, I discovered that this happens because the encode of
    character set in the server is different from which we have in WordPress.
    In order to solve that, it is necessary to use the same codification of character set that we
    have in WordPress (in reading options, utf-8 for example) and to modify the following line in
    our config.ini: default_charset= ” utf-8″
    (that file it must be in our folder public_html. If is not there, it is good for asking to webhost supplier for
    this file ).

    If you have not access to this file, try to change the your WordPress character set (in reading options) from utf-8 to ISO 8859-1 to see what happens. It works for me.

    Best regards.

Douglas Spooner · September 28, 2010 at 12:27 pm


Excellent plugin thank you :)

I have tried to install your plugin with WPMU 2.9.2 but will only work if it place it in /plugins rather than /mu-plugins.

I can get the plugin to load with MU if I then copy plugin.php to the root of /mu-plugins but then it complains it cant create the cache folder though it has permissions.

Is it possible to get this working with WPMU as when I install it to /plugins I then have to configure the settings on each of my blogs and I have about 45!



Maître Mô · September 14, 2010 at 1:42 pm

And thanks again (I posted my french translation on comments on the main page) for your plugin, witch makes my blog faster..!

I have just a question : is there a problem between Hyper Cache and the plugin Bad Behavior (anti-spam) ?
They seem to work together withaout errors, but I receive since txo days, when I install Hyper Cache, more spams than before, I think… Do you think it’s possible ?

Thank you and regards !

Articles Place · September 13, 2010 at 4:39 pm

Hello, i installed this plugin and now it wont let my authors login it says “You do not have sufficient permissions to access this page” How can i solve this as everyting was fine before i installed the plugin. This plugin is very handy and i would like to solve the issue rather than disable it.


klark · September 6, 2010 at 6:02 pm

I love this plugin for the fact it allows you to set what invalidation mode you want.

But i have a problem. Periodically, I get a string of php errors and my server load goes way up…eventually i have to restart http/mysql.

Here’s an example of the errors:

[Mon Sep 06 10:52:29 2010] [error] [client] PHP Fatal error: Call to undefined function apply_filters() in /home/xxxx/public_html/wp-content/plugins/hyper-cache/cache.php on line 229

[Mon Sep 06 10:52:28 2010] [error] [client] PHP Fatal error: Call to undefined function apply_filters() in /home/xxxx/public_html/wp-content/plugins/hyper-cache/cache.php on line 229

Lisa · September 3, 2010 at 1:47 am

Thank you for developing this amazing plugin. It is very simple to install and really speeds up my website. Load time went from 9 seconds on a 2mbit connection to 2 seconds!

However, one major disappointment is that the ads on my site stopped working correctly. I work with the ad plugin called Adrotate

Pages are cached so the ads do not counts, at the end of the day only 200 views are displayed instead of 6.000 views.

It is not only adrotate, this plugin also does not work with OpenX and other major ad platforms.

Is there anyway around this? Or a way to fix this?

Shaun · August 30, 2010 at 2:20 am

Hi, I like your plugin very much because of its light weight comparing to other cache plugins.

It works very well until today… After installing Absolute Privacy plugin (, it stops producing cache pages for those who logged in as Subscribers.

So I can image, from now on, new posts will never be cached because everyone must log in to read these posts.

I understand that Hyper Cache will pass through if I am logged in as Administrator. But for Subscribers, wouldn’t it be nice to serve cache pages to them as well?

Or maybe I messed up some configurations? Please help.

Thanks a lot!

ericki · August 12, 2010 at 2:08 am

just as you said…

*This page has just been moved from and need a bit of reorganization. Be patience.

..correct would be:
and “needs” a bit of reorganization.
Be patient please.

now for the tecnical aspect.
Would it make sens to ask for a “chronometer counter” somewhere on a page to measure the loading speed of page with and without Cache activated ?
Thanks for your expertize.

Riccardo · August 4, 2010 at 10:17 pm

Ciao Stefano,
I’m using your plugin on the blog. It seems perfect.
Unfotunately sometimes happens something strange and I don’t know if it related to your plugin or whatelse.

When I click on a post and then I click on onother one the page url changes but the content remains the same.

If I refresh the new page more than one time I can see the right content.

Do you think it’s a problem related to your plugin? Did you never heard something like this?

Thank you in advance,


Se avessi scritto in italiano avrei fatto prima! :-)

zAlbee · July 9, 2010 at 3:59 am

I have a problem when using HyperCache and external pages that I integrated with WP 3.0. Firefox says the website is using an unsupported type of compression/encoding, and will never load the page. Other browsers can not load it either.

The problem only happens when ALL 3 of the following are true:

1. I’m logged into the blog.
2. Compression option is ON in HyperCache options.
3. It only affects my pages outside of wordpress, using wordpress integration.

The affected pages are regular PHP pages, but integrated with WP using following code:


I don’t use require(‘./wp-blog-header.php’) because of the 404 problem described here, .

I think I know why it has the problem — probably because my custom pages are outputting HTML before WP is loaded. Very likely, I have an output buffer problem.

But the question is: why does it affect when I am logged in? I thought that when logging in, HyperCache is not supposed to do anything. In my case, it is the opposite: if I am logged out, then all pages work and are cached perfectly. When logged in, it is broken.

Thanks in advance.

Tom · June 28, 2010 at 5:30 pm

In WP 3.0 Multisite the images are working with Hyper Cache activated. Nice! Thanks for this great plugin.

Ciso · June 28, 2010 at 5:22 pm

With WP 3.0 seems like Hyper Cache doesn’t rebuild the home page on a new home page post.
Any idea?

shabooty · June 19, 2010 at 7:07 pm

does this work with wp 3.0?

hi · June 18, 2010 at 11:55 am

Hello. I like Hyper Cache very much, and thanks for your work!
But it seems that when I want to use the plugin in new wordpress 3.0, the program crashes at once! :-(
Can your please check and fix the bug?

Tom · June 16, 2010 at 9:30 am

Same problem with my MU installation. Images cannot be loaded after activation. The cache itself works fine.


Fred · June 13, 2010 at 12:39 pm


I installed Hyper Cache, and it s look a bit faster. Thanks
But when i check the folders in the server, I don t have any /wp-content/hyper-cache.
And there are no gzip compression files.
But the code source of the pages still show the

Also it seems that all the cached pages are stored in /wp-content/plugins/hyper-cache/cache/

What s wrong Doctor?

ciso · June 12, 2010 at 10:49 pm

Hi Stefano,
I really love your plugin and I use it on all my website.
On the biggest one (that I have on a different server) it seems that is not working:
pages are cached ok but the cache doesn’t rebuilt itself on a new post (or comment).
I also get
Total requests handled 1
all the time.
any idea?
Thank you

flavin · June 11, 2010 at 1:27 am

Hi this plugin is working with scheduled post?

or how I could clean the index page of the cache when the scheduled post is published?

Regards, Francisco

…hyper cache is amazing with the performance but I got that problem…

Jesse · June 9, 2010 at 1:42 pm


I followed your steps and installed Hyper-Cache on
The control panel shows that is has cache 525 files, but when I log out/clean cookies I don’t see static page; it is still dynamic pages served bt PHP.

Could you advise what could be the problem?
Thank you.

GTM · June 1, 2010 at 2:04 am

hi,nice plugin.
but it still get something wrong when i use both did you past math and wp-postviews. how to register a filter(according to Technical notes) to stop hyper cache in these two plugins(did you past math, wp-postviews).thanks.

p · May 29, 2010 at 6:34 pm

Ciao Stefano,

Hyper Cache is great! but I wonder if it’s possible to cache GET queries (?somevars) and at the same time skip the cache with a specific query (ex: ?nocache)

As I can see from the Hyper Cache page, now you can skip cache only by URI patterns.


-S · May 27, 2010 at 5:28 pm

My cache is setup on “Only Modified Posts”, and I checked “Invalidate Home, Archives, Categories on single post invalidation”, but that didn’t do the trick for me: I added a link to my blogroll, and I wanted the front page to be refreshed right away, so I had to edit a post. I did, but the blogroll widget on the front page didn’t get refreshed. Had to wipe the cache. Not sure why this is. Maybe a “Refresh front page” button would be great for this?

Kumar · May 24, 2010 at 9:27 am

Hi Stefano, thank you for this great plugin. It has been my life saver since wp super cache and wp cache are creating problems for me.

But I have one problem here as well. I use a custom from page called home_page.php and the blog’s home page is displayed with the same. So, when I check the checkbox which says “DO NOT cache the home page so it is always fresh”, even than my front page is not getting refreshed. It is still showing the cached page until I clear all the cache pages.

That is tough specially when there are lot of traffic hitting the website. I have to wait till the traffic subsides and then clear the cache, so the front page is refreshed very few times a day.

Please suggest how to make it work.

Best regards,

orko · May 14, 2010 at 2:28 pm

Hi Stefano. Am loving your plugin. So easy and clean. I have a question though, how do I make sure it is sending cached pages to my visitors? I have files in the cache folder, the statistics tell me cache hits are 90% and plain pages served also about 90%. But I am not seeing any improvements, at least not the dramatic ones I’ve been reading about. Is there a way (firebug or any other tool) that I can use to make sure its working as designed?

Thanks a lot!

    orko · May 14, 2010 at 2:29 pm

    and yes, I use a clean browser (several) and make sure I am not logged in or cookied.

Jacinta · May 13, 2010 at 12:38 am

Hello Stefano,
I would desperately love to use your HyperCache but it conflicts with eshop ( and although I have asked Rich to change his eshop and sent him some technical doc on how to access the database, he says he will not. Could you please point me in the direction of how to best make these two great plugins work together? Eshop displays an empty checkout page when Hypercache is activated. Is there something in Hypercache Advanced Settings like Agents to Reject, or Cookies, that I can set from the front end ?
Kind regards, Jacinta.

Marc Steel · May 3, 2010 at 6:00 pm

Is this still incompatible with WordPress MU?

Thanks! Works like a charm on single install. It seems to work on WPMU, but the images do not display.


    Vincenzo · June 19, 2010 at 11:17 pm

    Same here. WPMU (and I am assuming WP3.0 too, as it also includes MU support now) works fine, but images aren’t displayed.

    Any thoughts?

    Vincenzo · June 19, 2010 at 11:44 pm

    Solved this: basically, in WordPress MU the path to the files is

    You just need to /files in the reject URI form (hyper cache config).

    @Stefano, I suggest you to add /files to the default rejected URIs.

Tom · April 21, 2010 at 6:16 pm

Hi !
I have a problem with my feed when i check “Feeds caching”…
See here the problem :

Thx a lot for you help.

Upekshapriya · April 11, 2010 at 1:39 am

Following on from comment about Bad Behavior and Hyper Cache – it does appear that Hyper Cache still has a problem with caching Bad Behavior error pages, as I’ve just discovered on a site of mine.

According to the author of Bad Behavior Hyper Cache shouldn’t be doing this.

“To be perfectly clear, this is a problem with the cache, not with Bad Behavior. The HTTP standard, RFC 2616, explicitly prohibits caches from “negative caching,” or storing the types of 4xx error pages which Bad Behavior serves to illegitimate requests. (The only cacheable error is 410, and Bad Behavior does not use this error.)

Currently I know of two WordPress caches which have this problem: Hyper Cache and W3 Total Cache. There is currently no workaround; to resolve the problem, either Bad Behavior or the caching plugin must be disabled.”

It would be great if this could be sorted. Otherwise extremely useful.

Bill Gram-Reefer · April 4, 2010 at 3:11 am

I used Hyper Cache on shared servr at bluehost with Webo Site speed up.

Can I use same combo at new cloud host with cdn?

Timo · April 3, 2010 at 1:55 pm


After testing a bunch of cache plugins, I finally found this one which is in my opinion the best. Thanks for doing this!

I have one problem though..

The cache is disabled for LOGGED IN users, and since most of my users are logged in, the cache is doing nothing to them.

Is it possible to tweak the plugin so that it gives you the cached version ALWAYS whether you are logged in or not?


meyway · April 1, 2010 at 10:41 pm

Hi Stefano,

great work!!

I am curious though if it is possible or planned in the near future to easily exclude certain pages (not only home page) from being cached (let’s say through putting a keyword inside the code of a page like [DONTCACHEME] -> my question is inspired by this

Or is it maybe possible to easily hard-code that within options.php, cache.php or similar?

Or is it easily possible to determine which filename in cache-directory maps to which url? Is the file name just the md5-string of the Url cached? So I could delete it myself through a php-script if necessary?

In my case this would allow me to call certain wordpress pages by cron job – with all the wordpress environment variables and most importantly with all calls to all plugins intact, that work best if called several times a day — without having to invalidate the rest of the wordpress pages..


    Stefano · April 3, 2010 at 10:29 pm

    You can exclude urls by patterns in options panel. May it can be of help?

Dacha · March 31, 2010 at 7:10 am

Sorry for bad English. Excellent plugin and I use them in 4 blogs. Dear author tell what settings you recommend for “Cached pages timeout” and “Cache autoclean” to maximize savings (reduced load) RAM (memory) on the server? The site is updated 1-2 times a day, visitors 1500-2500. And is there a need to include cache feed if you use feedburner?

raghu talakola · March 24, 2010 at 6:23 pm

It’s working great so far.
How can I tell if the feeds are really getting cached.
I do not see the hyper cache comment in the feed source. I did select the cache feeds option from the hyper cache options page.

One more hyper cache question.
Old cache files are not getting deleted. I have the Cached pages timeout as 10 mins and the
Cache autoclean as 8 minutes. Are there any additional steps required for the auto clean up?

Sam · March 24, 2010 at 12:51 pm

i also could not find this file exist

Sam · March 24, 2010 at 12:21 pm

Hello, in your installation document you said that the cache folder was “/wp-content/hyper-cache”. i installed and it showed no warning but there is not such folder , i checked “/wp-content/plugins/hyper-cache/cache” too , there’s nothing but a 0 byte test.dat file , and “/wp-content/cache” nothing too


raghu talakola · March 19, 2010 at 10:08 pm

I am new to hyper cache. We are having problems with wp-super cache. Would like to use hyper cache. Do we have to use db-cache with hyper cache? or just hyper cache .
And also, wondering if we can cache the 500 errors with the hyper cache.

thanks for your help in advance.

    Stefano · March 21, 2010 at 12:45 am

    Uhm, 500 errors are generate, usually by apache so there is no way to intercept them with PHP, but I’m not so sure. Why you have 500 status responses?

      raghu talakola · March 23, 2010 at 8:11 pm

      thanks for your quick reply.
      I do not have them in the system. But just incase , if any url throws the error , would like to cache it for certain amount of time.

Bill Gram-Reefer · March 15, 2010 at 5:44 pm

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?

    Stefano · March 16, 2010 at 9:29 am

    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.

Djair · March 9, 2010 at 7:44 pm

Hi Stefano,

Great plugin, congratulations.

An error on my blog.

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.



alberg · February 25, 2010 at 7:37 pm

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?

SuperMAG · February 14, 2010 at 12:52 pm

ok that fixed the error.

about the other post. its right before my last post.

Thanks alot.

SuperMAG · February 13, 2010 at 5:56 pm

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

    Stefano · February 13, 2010 at 7:10 pm

    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.

SuperMAG · February 7, 2010 at 10:59 am

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.


Shining · February 6, 2010 at 6:23 am

hi Stefano,

I had the same problem as steve519 while i was using hyper cache. please check the error picture:

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

    Stefano · February 6, 2010 at 9:37 am

    Disable compression, maybe your configuration is messing up (but I’m not sure) the http headers set by hyper cache!

      Shining · February 6, 2010 at 10:05 am

      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.

        Christian C · February 24, 2010 at 9:11 pm


        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.

    Chris Howard · April 17, 2010 at 3:38 am

    Is there a fix for this yet? I have turned off Hyper Cache after just a couple of days. Had three readers report it, but I never saw it myself. One of them checked the source and said it ended with

      Chris Howard · April 17, 2010 at 3:39 am

      oops! msg didn’t show. try again without comment marks

      !– hyper cache: 332dfe4b61e8961a8d4ff512740ca145 10-04-16 02:37:18 –>

James · January 30, 2010 at 8:10 am

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!


    Stefano · February 3, 2010 at 10:50 pm

    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).

Peter · January 27, 2010 at 6:30 pm

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?

    BGR · January 27, 2010 at 6:35 pm

    Ban IPs from within the cpanel provided by your host and lose the plugin

    Stefano · January 27, 2010 at 6:42 pm

    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.

    Stefano · January 27, 2010 at 6:50 pm

    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… :-)

Peter · January 27, 2010 at 3:52 pm

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?

    Stefano · January 27, 2010 at 6:21 pm

    I don’t know how wp-ban works so may be yes, may be no.

Antonio · January 24, 2010 at 1:06 pm

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.

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.

Kiko Llaneras · January 12, 2010 at 10:50 pm

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.


Roy · January 11, 2010 at 10:01 pm

An excellent rock stable plugin. Thanks very much for all your hard work!

Geo · January 11, 2010 at 8:27 am

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:

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!

Johan Steen · January 9, 2010 at 4:36 pm

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!

Richard · January 1, 2010 at 4:19 pm

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?


    Stefano · January 1, 2010 at 4:29 pm

    just checked hyper cache IS working on your site

      Richard · January 1, 2010 at 9:25 pm

      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 · January 2, 2010 at 1:49 am

        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”.


Tabish · December 30, 2009 at 6:11 pm


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.


    Stefano · December 31, 2009 at 10:58 am

    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?

Bill Gram-Reefer · December 29, 2009 at 8:56 pm

can you please update changelog for 264? thanks.

Bruce Moyle · December 29, 2009 at 2:54 pm


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.



    Stefano · December 31, 2009 at 11:04 am

    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?

      Bruce Moyle · January 3, 2010 at 4:17 am

      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.

        Stefano · January 3, 2010 at 7:23 pm

        On my windows chrome your site will show perfectly and the pages are served by hyper cache.

Peter · December 18, 2009 at 9:51 am

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?

    Stefano · December 18, 2009 at 1:24 pm

    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.

dreamer · December 14, 2009 at 11:39 pm

Hello, I’m Italian and I do not speak English well;) I have a problem with hypercache 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?

Bill Gram-Reefer · December 9, 2009 at 7:55 pm

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

    Stefano · December 10, 2009 at 11:54 am

    Try to disable the last modify header if it’s active.

FaS · December 9, 2009 at 3:05 am

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 ( 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.

    Stefano · December 10, 2009 at 11:56 am

    As I know, every wp installation in wp-config.php has the define(WP_LANG) line of code. Just look for it.

Geo · December 9, 2009 at 12:55 am

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!

    Stefano · December 10, 2009 at 11:57 am

    I use akismet on all my blogs with hyper cache with no issues. Spam is intercepted correctly.

      Geo · December 10, 2009 at 8:43 pm

      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:

      Thanks again Stefano.

Henk Jan Verlinde · December 4, 2009 at 3:27 pm

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?


Henk Jan.

Erik Thomas · November 24, 2009 at 10:05 am

you wrote:

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.



    Peter · April 21, 2010 at 6:30 pm

    I also have this problem. I’ve been making some changes

    Peter · April 21, 2010 at 6:37 pm

    I also can’t understand this message.

    The plugin seemed to work ok for a bit, but I’ve been making some changes and cleared the cache, and since then the plugin always reports only 1 file cached…

    (please ignore my other comment; I didn’t mean to press submit!)

Chris Fisher · November 22, 2009 at 7:13 pm


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

    Stefano · November 23, 2009 at 10:39 am

    Hyper Cache marks the cache as invalid, does not delete every files in the cache.

      Chris Fisher · November 23, 2009 at 2:07 pm

      Great. I’ll test it out and report back with any problems.

      Davy · December 2, 2009 at 3:44 am

      I have also wondered about this issue for some time now, thanks for the clearance

Mikhail · November 16, 2009 at 1:12 pm

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!

    Stefano · November 17, 2009 at 12:32 am

    I never tried hyper cache with wp mu, so I don’t know how to help, sorry!

Artem · November 14, 2009 at 3:00 pm

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?

Rafael Dourado · November 13, 2009 at 3:32 am

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.

Davy · November 10, 2009 at 3:16 am

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

bitonio · October 26, 2009 at 7:10 pm

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.


    Stefano · October 28, 2009 at 7:00 pm

    Hyper cache declare a global variable “hyper_cache_stop”. If set to true by someone, the cache do not store the page.

Waganeko · October 26, 2009 at 8:13 am

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.

Niv · October 19, 2009 at 1:49 pm

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?

Niv · October 19, 2009 at 6:35 am

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.

Andrés · October 17, 2009 at 12:51 am

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.


Ian · October 15, 2009 at 8:26 pm

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.


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?

Álvaro Degives-Más · October 7, 2009 at 10:01 pm

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:


People who upgraded successively over past versions very likely have that OLD cache folder named “hyper-cache” residing at:


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.

Dimka · October 7, 2009 at 6:14 pm

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 )

Dimka · October 6, 2009 at 11:27 am

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.

    CFisher · October 6, 2009 at 1:21 pm

    I checked the wp-content/plugins/hyper-cache/cache for my website ( 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.

    Stefano · October 6, 2009 at 1:58 pm

    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.

      Dimka · October 6, 2009 at 3:20 pm

      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…

        Stefano · October 6, 2009 at 3:30 pm

        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!

          Dimka · October 6, 2009 at 4:42 pm

          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 :(

          Stefano · October 7, 2009 at 9:37 am

          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.

hugo5688 · October 6, 2009 at 5:36 am

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.

Kevin · October 5, 2009 at 6:33 pm

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?

Richard · September 28, 2009 at 5:59 pm

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”?

    Stefano · September 29, 2009 at 5:47 pm

    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.

CFisher · September 19, 2009 at 5:01 pm

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: 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.

CFisher · September 19, 2009 at 4:00 pm

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.

charlies · September 19, 2009 at 6:17 am

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 ~~~~

    Stefano · September 19, 2009 at 8:37 am

    I can assure you this is not a bug. If it would be a bug, hyper cache never worked :-)

      charlies · September 20, 2009 at 4:55 pm

      ok you are the father of the hyper cache~~~haha
      hope hyper cache can support login user soon.~~

      Best regards

        Stefano · September 21, 2009 at 9:17 am

        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.

          charlies · September 26, 2009 at 7:38 am

          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


        Stefano · September 26, 2009 at 8:27 am

        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?

          charlies · September 27, 2009 at 5:24 pm

          it’s not good,but better than nothing.~~~ dbcache is useless for my blog , i use a lot of plugin~~~~~~~~~`

ronnie · September 18, 2009 at 5:29 pm

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.

    Stefano · September 19, 2009 at 9:51 am

    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?

charlies · September 18, 2009 at 2:36 am

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

    Stefano · September 18, 2009 at 8:43 am

    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?

      charlies · September 19, 2009 at 5:30 am

      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”

        Stefano · September 19, 2009 at 8:39 am

        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. :-)

    Stefano · September 18, 2009 at 8:44 am

    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.

dieter · September 17, 2009 at 5:19 pm

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.

    Stefano · September 17, 2009 at 6:46 pm

    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.

Adfer · September 17, 2009 at 1:38 pm

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…” ]

    Stefano · September 17, 2009 at 6:46 pm

    I’m near to release a new version, I forgot to sto the warning messages… sorry…

Giorgio · September 9, 2009 at 12:49 pm


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


    Stefano · September 9, 2009 at 11:16 pm

    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.

      Giorgio · September 10, 2009 at 11:15 am

      Thanks Stefano, I thought they were unrelated, now looks ok :)

      Thanks again

Christoph · September 8, 2009 at 5:03 pm

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!

Peer · September 5, 2009 at 2:27 am

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.

    Stefano · September 5, 2009 at 9:20 am

    The options is already there: just disable the cache for commenters.

Peer · September 4, 2009 at 10:05 am

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.


    Stefano · September 4, 2009 at 11:42 am

    You found a bug, I have to send you a gift!!! :-)
    Version 2.4.2 has the fix for new/updated post AND comments…

Navarro · September 3, 2009 at 2:49 pm

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?


    Stefano · September 3, 2009 at 4:14 pm

    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???

CFisher · September 3, 2009 at 2:20 am

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!

    Stefano · September 3, 2009 at 7:02 am

    I did nothing about that and Hyper Cache was not changed in a way to be “compatible” with widget cache. :-)

CFisher · September 3, 2009 at 2:07 am

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..

    Stefano · September 3, 2009 at 7:01 am

    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.

      CFisher · September 3, 2009 at 1:13 pm

      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.

charlies · September 3, 2009 at 1:41 am

hi,does hyper-cache works for the user who alreay login the blog?


    Stefano · September 3, 2009 at 6:59 am

    No, I’ll add this option BUT can have security issue. I’ll do a post about that ASAP

Dimka · September 2, 2009 at 5:14 pm

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 ? :((

    Stefano · September 2, 2009 at 5:38 pm

    Bugs… go with version 2.4.1

      Dimka · September 2, 2009 at 6:12 pm

      OMG thank you, you’re blazing fast ))

Rafael Dourado · August 26, 2009 at 2:56 pm

It is compatible with WordPress MU?

    Stefano · August 26, 2009 at 4:41 pm

    As I know no, it’s not.

Andres · August 26, 2009 at 10:26 am

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?



Jeff Scott · August 24, 2009 at 8:04 pm

Seeing the occasional blank page cached. What can I do to help diagnose and fix the problem?

    Jeff Scott · August 24, 2009 at 8:09 pm

    Further details:

    Seems to be on redirected pages and more likely (though not exclusively) on mobile browsers.

    Example: should redirect to and display at . 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


Miguel · August 23, 2009 at 11:18 am

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?

    Stefano · August 23, 2009 at 4:20 pm

    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.

      Miguel · August 23, 2009 at 11:24 pm

      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
      (huge memory huh :()

      And If a reload, it gives a different value, so I don’t know if it nullify the HyperCache at all …?

        Miguel · August 23, 2009 at 11:25 pm

        ops, code removed, it should be
        Generated in 0,957 seconds. Made 33 queries to database and 11 cached queries. Memory used – 21.24MB

          Miguel · August 24, 2009 at 5:01 am

          hmm, its because I was logged as admin, nevermind… rtfd for me

    CFisher · August 25, 2009 at 2:48 am

    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.

      Miguel · August 25, 2009 at 3:01 am

      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.

Tim · August 22, 2009 at 12:34 am

hypercache isn’t storing any pages. I don’t see a problem, looked like a clean install. Cache is activated.

Any ideas?

    Stefano · August 24, 2009 at 8:28 am

    Have you surfed your blog with a clean browser (not the one you use to admin the blog)?

      Tim · August 24, 2009 at 1:51 pm

      no, but nothing was ever stored in the cache folder.

CFisher · August 16, 2009 at 5:06 pm

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?

    Stefano · August 17, 2009 at 10:44 pm

    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.

      CFisher · August 21, 2009 at 3:11 am

      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!!

Gee · August 16, 2009 at 4:54 pm


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.



    Stefano · August 17, 2009 at 10:45 pm

    Yes for sure, I only need to be sure that WP_CONTENT_DIR is always defined by WP.

Jasmine · August 16, 2009 at 10:54 am

I have created a new “page” and it uses a custom page template which uses queries is there a way to catch the page?

    Stefano · August 16, 2009 at 1:44 pm

    What do you mean with “catch the page”?

Jack · August 12, 2009 at 5:59 am

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!

CFisher · August 9, 2009 at 8:08 pm

Stefano – Just so you know… Dreamhost recommends that their users install your plugin. You can find this here:

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.

    Stefano · August 16, 2009 at 2:19 pm

    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 :-)

    jan · January 31, 2010 at 12:52 pm

    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.

CFisher · August 9, 2009 at 8:03 pm

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.

robbert · August 8, 2009 at 8:57 pm


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! :-)


    Stefano · August 16, 2009 at 2:17 pm

    You chanhed the file or directory permission, so when upgrading hyper cache cannot update the /wp-content/hyper-cache-config.php file.

saif · August 7, 2009 at 6:12 pm


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?

Robikon · July 31, 2009 at 2:31 pm

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?

Glitch · July 29, 2009 at 2:02 am

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.

    Stefano · July 29, 2009 at 3:18 pm

    Do you can connect to the admin panel or you get internal server error even while trying to login?

      Glitch · July 31, 2009 at 3:38 am

      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.

Timm Roberts · July 28, 2009 at 9:28 am


Gerat Plug, but…

Now I can not use the search part. All it shows is the index page!

SuperMAG · July 27, 2009 at 8:52 pm

Any news (on the option to cache for Admin and users too)

Scott · July 22, 2009 at 5:20 am

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.

Scott · July 21, 2009 at 7:26 pm

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.

Fiorell · July 16, 2009 at 8:18 pm

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??

    Stefano · July 18, 2009 at 10:41 am

    Fiorell, can you give me the blog address?

Eugene · July 16, 2009 at 2:20 pm

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?

    Stefano · July 18, 2009 at 9:49 pm

    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?

      eugene · July 19, 2009 at 10:43 am

      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.

Eugene · July 16, 2009 at 2:19 pm

I cant’ see any files in /public_html/wp-content/hyper-cache folder
but every page of site ends with
what’s wrong?

Sarpras · July 14, 2009 at 3:55 am

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….

    Stefano · July 14, 2009 at 8:10 am

    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…)

      Sarpras · July 15, 2009 at 3:18 am

      No any changes…

      Same problem on WP super cache also. If i removed, my blog get good value click.

        Stefano · July 16, 2009 at 8:54 am

        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?

          Sarpras · July 16, 2009 at 4:01 pm

          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…

          Miguel · August 24, 2009 at 5:03 am

          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

Ishtiaq · July 13, 2009 at 9:59 pm

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:

The tutorial can be found here on how to implement Facebook Connect with SuperCache specifically:

Can you please help us out :(

    Stefano · July 16, 2009 at 9:47 am

    Check out the admin panel on version 2.3.0 on the cookies section (available in 60 minutes).

Michael · July 11, 2009 at 6:25 am

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!

Steve519 · July 3, 2009 at 6:08 am

ok, I tried it on a fresh browswer and this is what I get

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

    Stefano · July 3, 2009 at 8:10 am

    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?

    Stefano · August 24, 2009 at 8:16 am

    Other few users sent me the same error, and I was not able to understand what’s happening. What’s your hosting provider?

    Scott · April 8, 2010 at 4:47 pm

    I ran into this same problem. It was due to two different methods of gzip compression. I accidentally turn on page gzip compression in php speedy while using hypercache… a big no no!

Sherif · June 28, 2009 at 7:18 am

Hello, Do you know if this works with lighttpd and if so how do i know if lighttpd is serving the cached page. Thanks

    Stefano · July 1, 2009 at 12:35 pm

    Hyper Cache is completely based on WordPress and PHP so I think it can work with lighthttpd.

Leave a Reply