Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 12-23-2012, 12:49 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr_Mo7ammad View Post
i just saw your comment rightnow
and optimized some images and still
you can retest now and tell me
thanks verymuch

--------------- Added [DATE]1356268685[/DATE] at [TIME]1356268685[/TIME] ---------------

also , do you recommend me image dimensions to use

Good stuff and yes you should get the proper image dimensions and add them. That is going to take some work, maybe a couple of hours but you should do it as well.

Also add the following to your .htaccess file in your forums root. This will help you with the caching:


PHP Code:
#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
    
AddType text/css .css
    AddType application
/x-javascript .js
    AddType text
/richtext .rtf .rtx
    AddType image
/svg+xml .svg .svgz
    AddType text
/plain .txt
    AddType text
/xsd .xsd
    AddType text
/xsl .xsl
    AddType video
/asf .asf .asx .wax .wmv .wmx
    AddType video
/avi .avi
    AddType image
/bmp .bmp
    AddType application
/java .class
    
AddType video/divx .divx
    AddType application
/msword .doc .docx
    AddType application
/x-msdownload .exe
    AddType image
/gif .gif
    AddType application
/x-gzip .gz .gzip
    AddType image
/x-icon .ico
    AddType image
/jpeg .jpg .jpeg .jpe
    AddType application
/vnd.ms-access .mdb
    AddType audio
/midi .mid .midi
    AddType video
/quicktime .mov .qt
    AddType audio
/mpeg .mp3 .m4a
    AddType video
/mp4 .mp4 .m4v
    AddType video
/mpeg .mpeg .mpg .mpe
    AddType application
/vnd.ms-project .mpp
    AddType application
/vnd.oasis.opendocument.database .odb
    AddType application
/vnd.oasis.opendocument.chart .odc
    AddType application
/vnd.oasis.opendocument.formula .odf
    AddType application
/vnd.oasis.opendocument.graphics .odg
    AddType application
/vnd.oasis.opendocument.presentation .odp
    AddType application
/vnd.oasis.opendocument.spreadsheet .ods
    AddType application
/vnd.oasis.opendocument.text .odt
    AddType audio
/ogg .ogg
    AddType application
/pdf .pdf
    AddType image
/png .png
    AddType application
/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio
/x-realaudio .ra .ram
    AddType application
/x-shockwave-flash .swf
    AddType application
/x-tar .tar
    AddType image
/tiff .tif .tiff
    AddType audio
/wav .wav
    AddType audio
/wma .wma
    AddType application
/vnd.ms-write .wri
    AddType application
/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application
/zip .zip
</IfModule>
<
IfModule mod_expires.c>
    
ExpiresActive On
    ExpiresByType text
/css A31536000
    ExpiresByType application
/x-javascript A31536000
    ExpiresByType text
/richtext A3600
    ExpiresByType image
/svg+xml A3600
    ExpiresByType text
/plain A3600
    ExpiresByType text
/xsd A3600
    ExpiresByType text
/xsl A3600
    ExpiresByType video
/asf A31536000
    ExpiresByType video
/avi A31536000
    ExpiresByType image
/bmp A31536000
    ExpiresByType application
/java A31536000
    ExpiresByType video
/divx A31536000
    ExpiresByType application
/msword A31536000
    ExpiresByType application
/x-msdownload A31536000
    ExpiresByType image
/gif A31536000
    ExpiresByType application
/x-gzip A31536000
    ExpiresByType image
/x-icon A31536000
    ExpiresByType image
/jpeg A31536000
    ExpiresByType application
/vnd.ms-access A31536000
    ExpiresByType audio
/midi A31536000
    ExpiresByType video
/quicktime A31536000
    ExpiresByType audio
/mpeg A31536000
    ExpiresByType video
/mp4 A31536000
    ExpiresByType video
/mpeg A31536000
    ExpiresByType application
/vnd.ms-project A31536000
    ExpiresByType application
/vnd.oasis.opendocument.database A31536000
    ExpiresByType application
/vnd.oasis.opendocument.chart A31536000
    ExpiresByType application
/vnd.oasis.opendocument.formula A31536000
    ExpiresByType application
/vnd.oasis.opendocument.graphics A31536000
    ExpiresByType application
/vnd.oasis.opendocument.presentation A31536000
    ExpiresByType application
/vnd.oasis.opendocument.spreadsheet A31536000
    ExpiresByType application
/vnd.oasis.opendocument.text A31536000
    ExpiresByType audio
/ogg A31536000
    ExpiresByType application
/pdf A31536000
    ExpiresByType image
/png A31536000
    ExpiresByType application
/vnd.ms-powerpoint A31536000
    ExpiresByType audio
/x-realaudio A31536000
    ExpiresByType application
/x-shockwave-flash A31536000
    ExpiresByType application
/x-tar A31536000
    ExpiresByType image
/tiff A31536000
    ExpiresByType audio
/wav A31536000
    ExpiresByType audio
/wma A31536000
    ExpiresByType application
/vnd.ms-write A31536000
    ExpiresByType application
/vnd.ms-excel A31536000
    ExpiresByType application
/zip A31536000
</IfModule>
<
IfModule mod_deflate.c>
    <
IfModule mod_setenvif.c>
        
BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch 
^Mozilla/4\.0[678no-gzip
        BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
        BrowserMatch 
\bMSI[E] !no-gzip !gzip-only-text/html
    
</IfModule>
    <
IfModule mod_headers.c>
        
Header append Vary User-Agent env=!dont-vary
    
</IfModule>
    <
IfModule mod_filter.c>
        
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
    
</IfModule>
</
IfModule>
<
FilesMatch "\.(css|js|CSS|JS)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
<
FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
    <
IfModule mod_headers.c>
        
Header set Pragma "public"
        
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    
</IfModule>
    
FileETag MTime Size
    
<IfModule mod_headers.c>
         
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    
</IfModule>
</
FilesMatch>
# End Browser Caching/Headers

<ifModule mod_php4.c>
 
php_value zlib.output_compression 16386
</ifModule
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08454 seconds
  • Memory Usage 3,906KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (41)post_thanks_box
  • (7)post_thanks_box_bit
  • (41)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit
  • (41)post_thanks_postbit_info
  • (41)postbit
  • (41)postbit_onlinestatus
  • (41)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete