vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   google pagespeed/insights (https://vborg.vbsupport.ru/showthread.php?t=304679)

gsmlover4u 11-18-2013 04:28 AM

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)

final kaoss 11-18-2013 12:02 PM

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.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01034 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete