MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
need help with my website
Current time: 08-14-2020, 03:54 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need help with my website
11-29-2013, 07:57 AM
Post: #1
need help with my website
hey guys..
i need help with my website: multigaming.co
it really gives me aheadache.
i don't know how the hell can i enable the GZIP thing 100%
it is currently (73/100)..
and how can i defer the JS?
i always fail when i try to defer java scripts.
Any help will be greatly appreciated..
Here is my .htaccess :
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.multigaming\.co$
RewriteRule ^(.*)$ http://multigaming.co/$1 [L,R=301]
<IfModule mod_headers.c>
Header set Connection keep-alive
  <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary: Accept-Encoding
  </FilesMatch>
</IfModule>
<IfModule mod_deflate.c>
    #The following line is enough for .js and .css
    AddOutputFilter DEFLATE js css

    #The following line also enables compression by file content type, for the following list of Content-Type:s
    AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml

    #The following lines are to avoid bugs with some browsers
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
<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_include mime ^application/javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
## 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 application/javascript "access plus 1 year"
</IfModule>
## EXPIRES CACHING ##
Thanks in advanced.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
need help with my website - malis2007 - 11-29-2013 07:57 AM
RE: need help with my website - robzilla - 12-01-2013, 04:48 AM
RE: need help with my website - malis2007 - 12-08-2013, 07:36 AM
RE: need help with my website - malis2007 - 12-09-2013, 12:34 AM
RE: need help with my website - malis2007 - 12-09-2013, 02:00 AM
RE: need help with my website - robzilla - 12-09-2013, 02:31 AM
RE: need help with my website - malis2007 - 12-09-2013, 02:58 AM
RE: need help with my website - robzilla - 12-09-2013, 03:03 AM
RE: need help with my website - malis2007 - 12-09-2013, 04:07 AM
RE: need help with my website - robzilla - 12-09-2013, 04:28 AM
RE: need help with my website - robzilla - 12-10-2013, 02:42 AM
RE: need help with my website - malis2007 - 12-10-2013, 06:54 AM
RE: need help with my website - malis2007 - 12-11-2013, 08:36 PM
RE: need help with my website - malis2007 - 12-21-2013, 12:31 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)