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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2013, 04:28 AM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default google pagespeed/insights

google pagespeed/insights error
i am not understanding what to do
images are uploaded in image directory
http://www.example.com/images/buttons/collapse.png (expiration not specified)
http://www.example.com/images/buttons/collapse_40b.png (expiration not specified)
http://www.example.com/images/button...post-right.png (expiration not specified)
http://www.example.com/images/buttons/newbtn_middle.png (expiration not specified)
http://www.example.com/images/buttons/search.png (expiration not specified)
http://www.example.com/images/gradie...-grey-down.png (expiration not specified)
http://www.example.com/images/gradie...reytowhite.png (expiration not specified)
http://www.example.com/images/gradients/grey-up.png (expiration not specified)
http://www.example.com/images/gradie...-top-alpha.png (expiration not specified)
http://www.example.com/images/icons/icon1.png (expiration not specified)
http://www.example.com/images/icons/icon2.png (expiration not specified)
http://www.example.com/images/icons/icon4.png (expiration not specified)
http://www.example.com/images/icons/icon7.png (expiration not specified)
http://www.example.com/images/misc/arrow.png (expiration not specified)
http://www.example.com/images/misc/facebook_login.gif (expiration not specified)
http://www.example.com/images/misc/forum_stats.png (expiration not specified)
http://www.example.com/images/misc/legend.png (expiration not specified)
http://www.example.com/images/misc/navbit-home.png (expiration not specified)
http://www.example.com/images/misc/pak-gsm.gif (expiration not specified)
http://www.example.com/images/misc/rss_40b.png (expiration not specified)
http://www.example.com/images/social...s/facebook.png (expiration not specified)
http://www.example.com/images/social...googleplus.png (expiration not specified)
http://www.example.com/images/social...s/linkedin.png (expiration not specified)
http://www.example.com/images/social...ns/twitter.png (expiration not specified)
http://www.example.com/images/status...ategory-16.png (expiration not specified)
http://www.example.com/images/status...um_link-16.png (expiration not specified)
http://www.example.com/images/status...rum_new-16.png (expiration not specified)
http://www.example.com/images/status...rum_old-16.png (expiration not specified)
http://www.example.com/images/status...rum_old-48.png (expiration not specified)
http://www.example.com/images/statusicon/post_old.gif (expiration not specified)
http://www.example.com/images/status...rum_old-48.png (expiration not specified)
http://www.example.com/mobiquo/smartbanner/ads.js (expiration not specified)
http://www.example.com/mobiquo/smart.../appbanner.css (expiration not specified)
http://www.example.com/mobiquo/smartbanner/appbanner.js (expiration not specified)
Reply With Quote
  #2  
Old 11-18-2013, 12:02 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's pretty much saying that the resources listed are not being cached due to there not being an expiration time. In turn this means that every visit must redownload every resource listed instead of saving it to local cache. Anywhere from one day and up to a maximum of one year is acceptable.

Here's a small quote from gtmetrix to help you understand.

http://gtmetrix.com/leverage-browser-caching.html
In this file we will set our caching parameters to tell the browser what types of files to cache.

Code:
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
</IfModule>
## EXPIRES CACHING ##
Depending on your websites files you can set different expiry dates. If certain types of files are updated more frequently, you would set an earlier expiry date on the (ie. css files)

When you are done save the file as is and not as a .txt file.
Reply With Quote
Благодарность от:
gsmlover4u
Reply


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 05:26 AM.


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.03700 seconds
  • Memory Usage 2,189KB
  • 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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (1)post_thanks_box_bit
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (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_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
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete