WordPress.org

Ready to get started?Download WordPress

Forums

WP Fastest Cache
[resolved] The plugin does not seem to be working? (58 posts)

  1. G-Olly
    Member
    Posted 4 months ago #

    Hi Emre,

    I have only just installed your plugin. For some reason there seems to be no caching taking place. I have refreshed twice and checked the bottom of the page and there is no text suggesting that is working. I have also checked the wp-content/cache/all and the directory is empty. I have all of the options ticked and the cache timeout set to once daily.

    I have BP security plugin installed and the .htaccess seems to be writable as the options get saved when I save them. The .htaccess is set to autolock though.

    Can you suggest anything that I might have missed? Your plugin seems great and I would love it to be working for my site.

    https://wordpress.org/plugins/wp-fastest-cache/

  2. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    Hi G-Olly, can you disable the all plugins and try again? Do you use gzip with php?

  3. G-Olly
    Member
    Posted 4 months ago #

    Hi Emre, thanks for getting back to me - unfortunately I will not have time before the weekend to go through this process. For now I am deactivating the plugin. I will reactivate on monday and go through the process. Speak soon and have a great weekend.

  4. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    ok thank you :) I will been waiting for your answer

  5. G-Olly
    Member
    Posted 3 months ago #

    Hi Emre,

    I have methodically gone through each plugin that I have installed and I have finally found the culprit. As soon as Woocommerce is activated your plugin ceases to function - serve cached files.

    It might be something in the Woocommerce code as I have tried a few caching plugins now and each refuses to work (though I did not try them with Woocommerce deactivated)? I imagine that the ecommerce plugin is to blame.

    Hmmm, I will contact them and see if there is a known issue. Are you able to test with this plugin? Maybe you could help me find the reason?

    Thanks,
    Olly

  6. G-Olly
    Member
    Posted 3 months ago #

    I have been investigating and it seems that Woocommerce needs some transfiguring to make it work with any caching plugin. Inputting into wp-config.php - define('WP_CACHE', true); - manually with woocommerce activated enables your plugin to function with it. It seems as if Woo strips it out when it is activated.

    I am still experiencing problems will let you know how it pans out.

  7. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    ok thank you. but if you can send me the theme, I can test too.

  8. G-Olly
    Member
    Posted 3 months ago #

    I have sent you the theme via transfer big files, please only use it as a test though as it is premium.

  9. G-Olly
    Member
    Posted 3 months ago #

    plugins installed:

    Advanced Excerpt by Bas van Doren version 4.1.1,
    Akismet by Automattic version 3.0.0,
    BulletProof Security by AITpro | Edward Alexander version .50.1,
    Google Analytics by Kevin Sylvestre version 1.0.5,
    WPBakery Visual Composer by Michael M - WPBakery.com version 4.1,
    Meta Slider by Matcha Labs version 2.8.1,
    Fast Secure Contact Form by Mike Challis, Ken Carlson version 4.0.19,
    Simple Login Lockdown by Christopher Davis version 1.1,
    Simply Show IDs by Matt Martz version 1.3.3,
    WooCommerce Video Product Tab by Sebs Studio version 2.3.1,
    WooCommerce by WooThemes version 2.1.9,
    WordPress SEO by Joost de Valk version 1.5.3.2,
    WP Fastest Cache by Emre Vona version 0.8.1.8,
    WP Store Locator by Tijmen Smit version 1.2.20,
    MailPoet Newsletters by Wysija version 2.6.6

  10. G-Olly
    Member
    Posted 3 months ago #

    You might find it easier if I supply you access to my site. Let me know.

  11. G-Olly
    Member
    Posted 3 months ago #

    Ok even with this inputted my site is now back to returning no cached pages/files. Hope you'll be able to provide a solution.

  12. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    You might find it easier if I supply you access to my site. Let me know.

    It could be better for us. fastestcache@gmail.com

  13. G-Olly
    Member
    Posted 3 months ago #

    Hi Emre,

    I have sent you the login to the site. Please remember that this site is live so any amendments will be visible, I thought about putting it into maintenance mode but I would need some info from you so have left that for now. I have not as yet backed up the site, but I will do now.

  14. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    don't worry. Thank you. I started to work.

  15. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    I found the problem. DONOTCACHEPAGE has been set. Did you use Wordfence plugin before?

    if (is_user_logged_in() || $this->isCommenter()){
    return $buffer."<!-- 1 -->";
    }else if(defined('DONOTCACHEPAGE')){ // for Wordfence: not to cache 503 pages
    return $buffer."<!-- 2 -->";
    }

    you can see on the source code.

  16. G-Olly
    Member
    Posted 3 months ago #

    OK, if you need ftp access just let me know.

  17. G-Olly
    Member
    Posted 3 months ago #

    No I have not, can I use it to stop the DONOTCACHEPAGE?

  18. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    In your code, DONOTCACHEPAGE is set TRUE. It could be In theme or in the plugins. Do you know where?

  19. G-Olly
    Member
    Posted 3 months ago #

    Hmmm, I imagine it is the woocommerce plugin as that is what seems to stop the cache when activated.

  20. G-Olly
    Member
    Posted 3 months ago #

    There is no option to set to false though. Is there a way to get around this?

  21. G-Olly
    Member
    Posted 3 months ago #

    Sorry I am a beginner in php.

  22. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    Do you use Aptana or Sublime or any IDE?

  23. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    Can you check wp-config.php please? It may be defined there.

  24. G-Olly
    Member
    Posted 3 months ago #

    Not that I am aware of and I have checked wp-config.php and it is not defined there.

  25. G-Olly
    Member
    Posted 3 months ago #

    is WPBakery Visual Composer an IDE?

  26. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    you have already tried it with disable the all plugins so the plugins cannot cause this issue. And I have search the keyword (DONOTCACHEPAGE) in the theme, and it does not exist. I think that the previous plugins causes this issue.

  27. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    You need to search the keyword (DONOTCACHEPAGE) in the all files in your host.

  28. G-Olly
    Member
    Posted 3 months ago #

    OK thanks, I'll do that now

  29. G-Olly
    Member
    Posted 3 months ago #

    Does not seem to exist anywhere. I will check again

  30. Emre Vona
    Member
    Plugin Author

    Posted 3 months ago #

    If you has ssh connection, you can do it with GREP command easily.

Reply »

You must log in to post.

About this Plugin

About this Topic