• Resolved dlx

    (@deeluuxe)


    Hello!

    I really like your album – great plugin with cool features!
    What I don´t like is WPPA adds a lot of code on every page – even on pages where no album is shown. This is not perfect for SEO because the page speed is not like it could be.

    <!– WPPA+ Runtime parameters –>
    = 60 lines of code

    <!– start WPPA+ Footer data –>
    = 19 lines of code

    It would be perfect when the scripts are not included in the HTML-Code but loaded as JS-Files like <script type=’text/javascript’ src=’https://&#8230;
    By this external scripts can be minified with a Minifyer like http://betterwp.net/wordpress-plugins/bwp-minify/ so the page loads faster.

    Could this be optimized? I think it would be better not adding any code on pages where it´s not needed – every Kb counts.

    Keep on the good work!
    Jan

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

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

    (@opajaap)

    It says: <!-- WPPA+ Runtime parameters --> this means it is not always the same, so it cannot be in a file.

    I tried various minifiers, they all failed.

    You should not worry about a few kb when people are viewing = downloading 100’s of kbs of pictures.

    I, and hence wppa+, am not clairvoyant. I.e. it is not known at the time the head section is built-up if there will be wppa+ albums, photos or widgets later on the page.

    If you do not use the built-in lightbox functionality, change Table IX-A6: lightbox keyname to anything else but wppa. This will result in not having the 19 lines in the footer.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Photo Album Plus] HTML-Code Optimization’ is closed to new replies.