Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
December 1, 20168 yr @marklcfc several have asked this, what is your site? Will help in getting your site better optimized.
January 21, 20178 yr Good topic. Have a few questions because am trying to optimize for speed/loading. Here's what I have but not sure its configured correctly or if there are conflicts. PHP Version 7.0.14 MySQL 5.6.34 memcache 3.0.9-dev Zend OPcache - not sure if this is configured properly zlib.output_compression = On Mod_pagespeed - not sure if this is configured properly Cloudflare Free - speed section unchecked for CSS and JS because was causing template issues. I'm almost thinking that I'm throwing too much at it...
January 21, 20178 yr Your setup has the basics software for a good performance but just installing them doesn't mean that all will work super fast..... They need to be configured and optimized according to your server power and user needs. Also system/kernel can be tweaked and help a lot :-)
January 21, 20178 yr zlib.output_compression = On If your server mod_deflate off, you can compress your JS and CSS following the instructions here. This will improve the speed of your site.
January 21, 20178 yr you can try some thing like this 2 this is what i use to get some of my files compress and you can add it inside your htaccess file where you have you themes If your server mod_deflate off, you can compress your JS and CSS following the instructions here. This will improve the speed of your site. im going to try that with my site <IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml # Remove browser bugs (only needed for really old browsers) BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent </IfModule>
January 21, 20178 yr Author I've been using this should I use something like as mentioned above or is this good enough? FileETag None <IfModule mod_deflate.c> <filesMatch ".(css|js|x?html?|php)$"> SetOutputFilter DEFLATE </filesMatch> </IfModule> <IfModule mod_expires.c>
January 23, 20178 yr In general it's not needed to go cdn. You can do this by native IPB functionality. You can do some subdomains for js/css and also for gallery images. Thanks to that You can divide files into different host (host by name, but those can be located on same IP, same server). Any subdomain can have cache for static files. Thanks to that we have GTmetrix 95-85 - depending on site.
January 30, 20178 yr there is an option on my server to go to Optimize Website then enable Compress All Content
January 30, 20178 yr there is an option on my server to go to Optimize Website then enable Compress All Content So does mine. After selecting that option, I seem to notice that it is much quicker to load new pages, though I haven't conducted actual speed tests.
January 30, 20178 yr That option is there if mod_deflate is enabled on your server for php compression. You can turn it on via cpanel or htaccess. https://documentation.cpanel.net/display/EA/Apache+Module%3A+Deflate
January 30, 20178 yr That option is there if mod_deflate is enabled on your server for php compression. You can turn it on via cpanel or htaccess. https://documentation.cpanel.net/display/EA/Apache+Module%3A+Deflate same as did before, https://support.hostgator.com/articles/specialized-help/technical/apache-htaccess/mod_deflate
Archived
This topic is now archived and is closed to further replies.