Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3597

    Hey-

    Trying improve my site speed and have found a few areas that I’d like some guidance on. Looking to reduce the amount of http request generated by the theme but removing or combing the following:

    1. Background Images

    I’ve been trying to replace some of the background images with actual images in the containers to no avail. The social media icons and header logo in particular.

    2. CSS

    Where is the second CSS document called out. I’d like to combine the two into a single css file.

    3. Javascript

    Is it possible to combine the theme’s javascript files into a single file?

    #42959

    Hey,

    you can use w3-total-cache to minify or combine files: http://wordpress.org/extend/plugins/w3-total-cache/

    #42960

    Installed the plugins, but doesn’t work without disabling the features of the theme, ie slider on the front page, tab/accordion shortcodes, sorting in portfolio. Is this something that’s been successfully implemented with the Avisio theme? I only asked since you suggested it.

    #42961

    Yes. I use W3C Total cache on my site (and used it on two other websites without problems). However maybe other plugins cause a conflict or the configuration isn’t right.

    #42962

    Dude-

    Did a clean install of wordpress on a new test domain. No plugins other than w3c and I’m still losing the javascript functionality. Have put in a request to have my web host make some edits folks have recommended, but I just don’t know what else could be wrong. Any ideas? Do you have a configuration from an avisio site you could export than I could test?

    #42963

    Here are my minify settings:

    'pgcache.prime.enabled' => false,
    'pgcache.prime.interval' => 900,
    'pgcache.prime.limit' => 10,
    'pgcache.prime.sitemap' => '',
    'minify.enabled' => true,
    'minify.debug' => false,
    'minify.engine' => 'file',
    'minify.file.gc' => 86400,
    'minify.file.locking' => false,
    'minify.memcached.servers' => array(
    0 => '127.0.0.1:11211',
    ),
    'minify.memcached.persistant' => true,
    'minify.rewrite' => true,
    'minify.fixtime' => 0,
    'minify.options' => array(
    'bubbleCssImports' => true,
    'minApp' => array(
    'groupsOnly' => false,
    'maxFiles' => 20,
    ),
    ),
    'minify.symlinks' => array(
    ),
    'minify.lifetime' => 86400,
    'minify.upload' => true,
    'minify.html.enable' => true,
    'minify.html.reject.feed' => false,
    'minify.html.inline.css' => true,
    'minify.html.inline.js' => true,
    'minify.html.strip.crlf' => true,
    'minify.html.comments.ignore' => array(
    0 => 'google_ad_section_',
    1 => 'RSPEAK_',
    ),
    'minify.css.enable' => true,
    'minify.css.combine' => false,
    'minify.css.strip.comments' => true,
    'minify.css.strip.crlf' => true,
    'minify.css.groups' => array(
    700849 => array(
    'default' => array(
    'include' => array(
    'files' => array(
    0 => 'wp-content/themes/avisio/js/prettyPhoto/css/prettyPhoto.css',
    1 => 'wp-content/themes/avisio/style.css',
    2 => 'wp-content/themes/avisio/css/style1.css',
    3 => 'wp-content/plugins/nextgen-gallery/css/ngg_k2.css',
    4 => 'wp-content/plugins/avia_feedback_box/avia_feedback_box.css'
    ),
    ),
    ),
    ),
    ),
    'minify.js.enable' => true,
    'minify.js.combine.header' => false,
    'minify.js.combine.body' => false,
    'minify.js.combine.footer' => false,
    'minify.js.strip.comments' => false,
    'minify.js.strip.crlf' => false,
    'minify.js.groups' => array(
    700849 => array(
    'default' => array(
    'blocking' => true,
    'include-body' => array(
    'files' => array(
    0 => 'wp-content/themes/avisio/js/prettyPhoto/js/jquery.prettyPhoto.js',
    1 => 'wp-content/themes/avisio/flashplayer/flowplayer.min.js',
    2 => 'wp-content/themes/avisio/js/custom.js',
    3 => 'wp-content/plugins/avia_feedback_box/feedbackbox.js'
    ),
    ),
    ),
    ),
    ),
    'minify.reject.ua' => array(
    ),
    'minify.reject.uri' => array(
    ),
    'minify.error.notification' => '',
    'minify.error.notification.last' => 0,

    #42964

    I would like to try these settings for W3 Total cache but where should I copy that?

    #42965

    I’m not sure if you can import the settings this way. I think you need to replicate them manually. You can copy/paste the minify paths anyway :)

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Site Performance – Background images Css and Javascript Files’ is closed to new replies.