• Resolved V.E.L

    (@vezraimanuel)


    Hello!

    This is a very good new plugin (I tried many), very smooth interface, easy to use, and very simple overall. with good features of course!

    But I did find several issues and also incompatibility with other plugins. Please consider to fix these issues and increase compatbility since it’s very important.

    ===============================
    ***) Issues

    1. htaccess. this plugin have 2 txt files as reference for htaccess, the thing is, some people changed default wp directory “wp-content” to other names, and by using this method it breaks the site. You might want to consider using WP_CONTENT_DIR instead.

    2. <link rel=”preload” for Javascript completely breaks Strict CSP 3. Please consider removing it, it’s safe to remove anyway. (I tried)

    3. I’m not sure why you use “wpp.min.js”, I tried removing it and it’s all working fine. Besides, wpp.min.js is not detected by Autoptimize and this is another compatibility issue.

    4. there’s no need to set expire using json (var WPP) variable since you already put option to purge the cache after saving “Post” or “Settings”. Besides, you already have expires in htaccess. so I think the var WPP is useless.

    I had to do this in my server as workaround for issues above:

    sed -i -e "s/wp-content/my-custom-folder/g" ~/public_html/my-custom-folder/plugins/wp-performance/includes/data/definitions/*.txt
    
    sed -i \
    -e "s/        \$this->head->innertext .= '<link rel/        \/\/\$this->head->innertext .= '<link rel/g" \
    -e "s/        \$this->head->innertext .= '<script>var WPP=/        \/\/\$this->head->innertext .= '<script>var WPP=/g" \
    -e "s/        \$this->head->innertext .= '<script defer src=/        \/\/\$this->head->innertext .= '<script defer src=/g" \
    ~/public_html/my-custom-folder/plugins/wp-performance/includes/classes/parser.php

    ===============================
    ***) Compatiblity (some plugins that I used since I started my site years ago)

    1. Not compatible with “Hide My WP Ghost” (especially on redirects/htaccess)

    2. Not compatible with Autoptimize (wpp.min.js is not detected by Autoptimize, hence the minification/js combine by Autoptimize failed for wpp.min.js)

    That’s all for now I think, I hope you can put this into consideration, I wouldn’t say any of this if i didn’t care about enhancement of this plugin ??

    thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ante Laca

    (@alaca)

    Hi @vezraimanuel

    1. Thanks for the tip, I will use WP_CONTENT_DIR constant for wpp cache path.

    2. Preload will be removed in the next update, I will use defer instead, or inline the file.

    3. wpp.min.js code is used for many things like async css/js, lazy load, clear cache, etc.

    4. The only problem is, it doesn’t work that way.

    4.1 I’ll check it out, thanks

    4.2 I will have to completely rewrite the way of how WPP works to make it “compatible” with AO, so the AO can “optimize” that file. Not gonna happen, but, I will add some extra checks and show warnings in admin if the user is using some of the WPP functions like minify, combine, etc. alongside AO because that’s pointless and it will break the site for sure.

    Thanks,
    Ante

    Thread Starter V.E.L

    (@vezraimanuel)

    Hi @alaca

    Many thanks for your reply, i believe the new update will be awesome.

    About #4, I see similar thing in WP Fastest Cache. It automatically purge all caches upon creating new post, and clear homepage/archive/static pages upon updating. It also create parameters related to expire in .htacces file. And it doesn’t use inline dynamic value.

    About AO specifically, it was designed to work with other caching plugins, that’s why the author didn’t put “all” caching features there, such as static HTML with .htaccess, etc. It even purge other caches when we hit “Clear Cache”, which is awesome, no need to press 2 buttons.

    For years i’ve been using AO in conjunction with WP Fastest Cache, they both works perfectly. I use AO for minify and combine CSS/JS/HTML, and WP Fastest Cache to create static html files and control htaccess.

    I am planning to switch from WP Fastest Cache to your cache because it has so many other features that i don’t need, so it’s not simple anymore for me, and your to be honest your UI is far way better ??

    From what i see in the FAQ, the author also discuss this kind stuff with other cache plugin authors, if you have time perhaps you can start a discussion about having AO to also clear your cache upon hitting the “Clear Cache” button there, and many other things too.

    Plugin Author Ante Laca

    (@alaca)

    Hi @vezraimanuel

    About expire parameters and WPFC, try to set a rule to clear the cache of the homepage for every minute, then visit your homepage in private mode and do the refresh every couple of minutes. The cache was cleared every minute?

    AO is a great plugin, but WPP is not designed to be used alongside AO. Still, you can use it without any problems. The new version of WPP will only warn users if some of the conflicts could arise if they are using AO alongside WPP.

    WPP is “all in one” speed optimization solution which doesn’t require any other plugin as a complement, therefore I don’t have any plans to make WPP “compatible” with AO or to do any kind of integrations.

    Thanks,
    Ante

    • This reply was modified 5 years, 9 months ago by Ante Laca.
    • This reply was modified 5 years, 9 months ago by Ante Laca.
    Thread Starter V.E.L

    (@vezraimanuel)

    Hi @alaca

    WPFC doesn’t have schedule to auto delete cache, it has schedule to preload the cache (i set to preload 4 pages per minutes), and it’s working, the clear cache happens when i save a post/page/custom page, i monitor the files in the terminal window, both preload and auto clear on save works just fine. The files created automatically according the preload schedule, and also cleared upon saving post.

    About WPP original design plan, personally i have no problem, since users can use several features from one plugin and several from another plugin according to their needs. That’s why i never use just one, as I mentioned before.

    The main goal is the have make my visitors comfortable as possible, and also get maximum score i can get from GTmetrix/pingdom/Pagespeed insight, etc. And of course, comply with several standards such as W3C and CSP v3 security standards.

    This is one of my site, i put standards logos on footer with links to online assessment of those standards, W3C, GTMetrix, etc. I was hoping to improve it with WPP ?? (apologize if it’s a bit slow since it’s not using global CDN and server location is far from your place i think)

    cheers ??

    • This reply was modified 5 years, 9 months ago by V.E.L.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Some issues and Compatibility with other plugin.’ is closed to new replies.