Support » Plugin: WPCacheOn - WordPress Caching plugin » Problems when both Autoptimize plugin and WPCacheOn plugin are activated

  • I noticed that the header image on my pages disappear when both Autoptimize and WPCacheOn plugins are activated. When only one of them is active then things seem to be fine. If any of them is deactivated the page load speed drops significantly. Is there any easy fix to have both plugins running without any problems or do I have to choose other plugins? If not, can you recommend other plugins they work smoothly together?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author jeffreycooper

    (@jeffreycooper)

    Hello,

    At the moment the only image optimization that the WPCacheOn perform is only on Apache level using rules in the .htaccess file. Can you check the .htaccess file, the section that start with:

    ##############################################
    ## BEGIN WPCacheOn .htaccess optimizations ##
    ##############################################

    And comment all of the rules with the # symbol that mentioned your header image format (jpg,png or other). Then flush the WPCacheOn cache and check in incognito browser window if you are still able to recreate the mentioned issue.

    Such issues occur with plugins with aggressive cache such as the WPCacheOn and Autoptimize. Basically it is creating cache of the cache and upon loading the website element do not load properly or at all.

    If this do not solve the experienced issue, you can also contact us at:

    https://wpcacheon.io/contact

    And we will gladly take a deeper look into this.

    As for another plugin honestly I am not sure if you will have the same results with these but you can try them as an alternative:

    https://wordpress.org/plugins/cachify/
    https://wordpress.org/plugins/cache-enabler/

    Before performing any changes on the WPCacheOn and trying another plugin I would also recommend you to see the Autoptimize plugin options for CSS and JS. In some cases the broken image could be caused by this as well.

    Take your time and explore all of the possible options. I will not set this case status to resolved yet. So feel free to update us with more information on the case.

    I am looking forward to hearing from you.

    [ Signature deleted ]

    Thank you, Jeff. I’ve downloaded another caching plugin since then, but I can give it a try to see if it works what you just said. Can I just deactivate the other plugin and do those steps you said? Where can I find the .htaccess file? I tried to find it in File Manager in cPanel, but didn’t see there.
    As for the Autoptimize plugin options for CSS and JS I have the followings ticked in:

    Optimize JavaScript Code?
    Aggregate JS-files?
    Optimize CSS Code?
    Aggregate CSS-files?
    Also aggregate inline CSS?

    Do I need anything extra?
    I had the problem with the header image only when both Autoptimize and WPCacheOn were active at the same time. If only one of them was active then no problem occured.

    thanks for your help,

    My webhost tried it but does not work.

    Plugin Author jeffreycooper

    (@jeffreycooper)

    Hello again,

    Thank you for the updates.

    Please excuse me for the delayed reply, it was quite a busy day!

    Depending on the hosting provider and their server configuration the dot files such as .htaccess could be hidden. Once you access the File Manager click on the Settings button with the cog wheel icon:

    http://prntscr.com/q0qiq9

    On this page ensure that the “Show Hidden Files (dotfiles)” option is enabled:

    http://prntscr.com/q0qkqw

    Then press the “Save” button and the .htaccess will be visible.

    As for the Autoptimize options, the only sure way to understand which of these options is causing this issue is the following:

    1. Deactivate all of the listed options of Autoptimize
    2. Flush both plugins cache
    3. Enable the Autoptimize options one by one
    4. After each option is enabled test your website to see if the issue occur

    Honestly this is quite slow process but this will surely provide more information on which option is causing the issue.

    Also which is your hosting provider? We can contact them on your behalf and try to investigate this case with them as well. If you choose this option, we will also need your domain name as it will be required by the hosting service provider.

    Also I have performed few tests on few different WordPress websites and I was unable to experience issues with the WPCacheOn and WP Performance Score Booster plugins. Also the results in terms of loading and the “Performance Scores” at GTMetrix are good. You can perform tests with WPCacheOn and WP Performance Score Booster plugins as well.

    Please let me know your thoughts on this.

    I am looking forward to hearing from you.

    [ Signature deleted ]

    Plugin Author jeffreycooper

    (@jeffreycooper)

    Hello again @yxda

    It have been around 10 days since we last heard from you. Did you had the chance to try and test any of the options?

    [ Signature deleted ]

    Plugin Author jeffreycooper

    (@jeffreycooper)

    Hello @yxda

    Did you have the chance to look into this further?

    Looking forward to hearing from you.

    [ Signature deleted ]

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems when both Autoptimize plugin and WPCacheOn plugin are activated’ is closed to new replies.