• Trying to figure out how to improve site speed. Seems to take about 3-4 seconds to load home page which isn’t anything drastic. Images, but nothing crazy. It would be nice to get the page to load instantly, not more than a second.

    Hardware Specs
    2 x Quad Core Xeon 2.4GHz
    16GB RAM
    SSD Drive
    GigE Uplink Port

    Software
    Apache 2.4
    PHP 5.6
    Zend Opcache
    Memcache

    WordPress Plugins
    v. 4.6.1
    OpCache Dashboard
    Optimus Image Optimizer
    WP Super Cache
    Wordfence Security

    I cannot figure out how to get the CDN option working in WP Cache plugin’s CDN tab. The test js link always shows page not found. I would’ve used Cloudflare but it messes things up on the SSL side (my billing portal needs this).

    Opcache Config

    directives.opcache.enable 	true
    directives.opcache.enable_cli
    If you are in a production environment you should enabled it
    	false
    directives.opcache.use_cwd 	true
    directives.opcache.validate_timestamps
    If you are in a production environment you should disabled it
    	true
    directives.opcache.inherited_hack 	true
    directives.opcache.dups_fix 	false
    directives.opcache.revalidate_path 	false
    directives.opcache.log_verbosity_level 	1
    directives.opcache.memory_consumption
    If you are in a production environment you should set larger than 128.00MB
    	64.00MB
    directives.opcache.interned_strings_buffer
    If you are in a production environment you should set larger than 8.00MB
    	4.00MB
    directives.opcache.max_accelerated_files
    If you are in a production environment you should set greater than 4000
    	2000
    directives.opcache.max_wasted_percentage 	0.05%
    directives.opcache.consistency_checks 	0
    directives.opcache.force_restart_timeout 	180
    directives.opcache.revalidate_freq
    If you are in a production environment you should set longer than 60 sec.
    	2
    directives.opcache.preferred_memory_model 	
    directives.opcache.blacklist_filename 	
    directives.opcache.max_file_size 	0
    directives.opcache.error_log 	
    directives.opcache.protect_memory 	false
    directives.opcache.save_comments 	true
    directives.opcache.load_comments 	true
    directives.opcache.fast_shutdown
    If you are in a production environment you should enabled it
    	false
    directives.opcache.enable_file_override 	false
    directives.opcache.optimization_level 	4294967295
    version.version 	7.0.4-dev
    version.opcache_product_name 	Zend OPcache

    .htaccess

    Header unset Pragma
    FileETag None
    Header unset ETag
    
    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/html "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 1 month"
    </IfModule>
    ## EXPIRES CACHING ##
    
    <IfModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler ^cgi-script$
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime ^application/x-javascript.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    </IfModule>

    • This topic was modified 8 years, 5 months ago by Chad.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Improve Page Speed’ is closed to new replies.