Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    My opinion about this is as follows:

    The css and js files are in total approx 60 kb, and that is less than an average photo on a typical site running wppa+.

    If 60 kb is a problem for you, you should have no fullsize photos on your site anyway.

    The chance is big that you have a wppa+ widget active.

    The files are cached in the browser so the load is only once until a delete temp internet files happens.

    Thread Starter julie92500

    (@julie92500)

    The issue is not the css and js files size but the time to build the page (more than 500+ additional get object requests) then download it / interpret it by the client browser.

    This is a concern for pages and posts without gallery; to have a time penalty (on both server and client side) on more than 3.000 pages for only two of them with gallery.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    How can i prevent WPPA ressources (js and css)

    This was your question though?

    more than 500+ additional get object requests

    please supply more info / evidence of this

    Thread Starter julie92500

    (@julie92500)

    My question was badly exposed (i’m not fluent in english, sorry). My concern is to have this pluging using no ressource on any page or post without gallery.

    As i’m using APC object caching, i have a way to dump number of cache access during page construction in the page’s footer :

    global $wp_object_cache;
    foreach ( $wp_object_cache->stats as $stat => $n ) {
       echo "$stat: $n ";
    }

    On my web site, with your pluging running i got these :

    Cache get: 4737 delete: 1 add: 1

    and around 670 ms to build the page

    With your plugin deactivated i got these :

    Cache get: 3962 delete: 0 add: 0

    and around 600 ms to build the page

    => 775 more get object with your plugin running and 10% more time. NB: I have a total of 45 plugins, only this one is consuming so many get (16% of all the gets)

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    wppa+ is a large / extensive / heavy plugin with a myriad of possibilities. If 70 ms is a problem and you use only a few images try an other.

    Thread Starter julie92500

    (@julie92500)

    thanks for your help.

    i’ve followed your recommendation with success.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I have digged into this and i can promise you a substantial performance improvement during initialisation in version 4.9.0

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to prevent loading WPPA ressources on all the pages ?’ is closed to new replies.