Search Results for 'pagespeed'

Results from the Forum
Lucian
tagDiv Staff

Hi prose976,

Visual composer plugin has been fixed and it’s not causing problems anymore, other than that the new version of the theme relies on the same aspects as the previous theme versions did, with the same speed recommendations and suggestions, you can see this from the pagespeed guide here: https://forum.tagdiv.com/pagespeed-guide/ and with the proper configuration the theme can get the best page speed score.

Thanks

Andrei L.
tagDiv Member

Hi

From this version speed booster plugin is automatically disabled as it is tested and it works fine with some recommended plugins. A lot of people install the plugin without knowing what it does and after that they add many plugins and some of the plugins are not written ok. For example some of the plugins do not respect the google pagespeed recommendations of punting javascript at the end of the page and they just try to use jQuery in the middle of the page. If you want to always enable speed booster, delete this code from speed booster file: http://screencast.com/t/RZLIOPUNdqh

Thanks!

  • This reply was modified 11 years by Andrei L..
  • This reply was modified 11 years by Andrei L..
simchris
tagDiv Member

You can usually “view source” for your live page to see the actual rendered page and see if the items you added to the template are there.

Note be sure to disable any optimization tools which strip out comments from HTML or those would, of course, be removed (e.g., mod_pagespeed, etc.).

Thomas
tagDiv Member

Hello Chris

Thanks for your advices.

I change all things your propose to us.

One thing I don’t understand is that in PageSpeed or GT
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.virtualmagie.org%2F
I always have the cache time end problem.

Here my htaccess content.
There is your code and so all files normaly have to be expired.

Other things :
I have W3 Total Cache but you don’t recomand it.
So I install the ZenCache Pro but it mess the site.
Finaly I used superCache and PHP optimization and compression seems to mess too and I was forced to delete it.
Note that our site is on a dedicated server.
So for waiting I activate the Falcon mode in Wordfence.

#WFIPBLOCKS - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
Order Deny,Allow
#Do not remove this line. Disable Web Caching in Wordfence to remove this data - WFIPBLOCKS
#WFCACHECODE - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_mime.c>
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<IfModule mod_mime.c>
AddType text/html .html_gzip
AddEncoding gzip .html_gzip
AddType text/xml .xml_gzip
AddEncoding gzip .xml_gzip
</IfModule>
<IfModule mod_setenvif.c>
SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip
SetEnvIfNoCase Request_URI \.xml_gzip$ no-gzip
</IfModule>
<IfModule mod_headers.c>
Header set Vary "Accept-Encoding, Cookie"
</IfModule>
<IfModule mod_rewrite.c>
#Prevents garbled chars in cached files if there is no default charset.
AddDefaultCharset utf-8

#Cache rules:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} on
RewriteRule .* - [E=WRDFNC_HTTPS:_https]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=WRDFNC_ENC:_gzip]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{HTTPS} off
RewriteCond %{QUERY_STRING} ^(?:\d+=\d+)?$
RewriteCond %{REQUEST_URI} (?:\/|\.html)$ [NC]

RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|wf_logout|wordpress_logged_in|wptouch_switch_toggle|wpmp_switcher) [NC]

RewriteCond %{REQUEST_URI} \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$
RewriteCond "%{DOCUMENT_ROOT}/wp-content/wfcache/%{HTTP_HOST}_%1/%2~%3~%4~%5~%6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}" -f
RewriteRule \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$ "/wp-content/wfcache/%{HTTP_HOST}_$1/$2~$3~$4~$5~$6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}" [L]
</IfModule>
#Do not remove this line. Disable Web caching in Wordfence to remove this data - WFCACHECODE
# BEGIN iThemes Security - Do not modify or remove this line
# iThemes Security Config Details: 2
# Enable HackRepair.com's blacklist feature - Security > Settings > Banned Users > Default Blacklist
# Start HackRepair.com Blacklist
RewriteEngine on
# Start Abuse Agent Blocking
RewriteCond %{HTTP_USER_AGENT} "^Mozilla.*Indy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mozilla.*NEWT" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Maxthon$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SeaMonkey$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Acunetix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^binlar" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^BlackWidow" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Bolt 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^BOT for JCE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Bot mailto\:craftbot@yahoo\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^casper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^checkprivacy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ChinaClaw" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^clshttp" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^cmsworldmap" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^comodo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Custo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Default Browser 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^diavol" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^DIIbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^DISCo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^dotbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Download Demon" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^eCatch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EirGrabber" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailCollector" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailSiphon" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailWolf" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Express WebPictures" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^extract" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ExtractorPro" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EyeNetIE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^feedfinder" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^FHscan" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^FlashGet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^flicky" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^g00g1e" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GetRight" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GetWeb\!" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Go\!Zilla" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Go\-Ahead\-Got\-It" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^grab" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GrabNet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Grafula" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^harvest" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^HMView" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ia_archiver" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Image Stripper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Image Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^InterGET" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Internet Ninja" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^InternetSeer\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^jakarta" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Java" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^JetCar" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^JOC Web Spider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^kanagawa" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^kmccrew" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^larbin" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^LeechFTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^libwww" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mass Downloader" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^microsoft\.url" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^MIDown tool" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^miner" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mister PiX" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^MSFrontPage" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Navroad" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NearSite" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Net Vampire" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetAnts" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetZIP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^nutch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Octopus" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Offline Explorer" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Offline Navigator" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^PageGrabber" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Papa Foto" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pavuk" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pcBrowser" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^PeoplePal" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^planetwork" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^psbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^purebot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pycurl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^RealDownload" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ReGet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Rippers 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^sitecheck\.internetseer\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SiteSnagger" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^skygrid" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SmartDownload" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SuperBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SuperHTTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Surfbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^tAkeOut" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Teleport Pro" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Toata dragostea mea pentru diavola" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^turnit" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^vikspider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^VoidEYE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Web Image Collector" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Web Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebAuto" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebBandit" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebCopier" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebFetch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebGo IS" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebLeacher" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebReaper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebSauger" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Website eXtractor" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Website Quester" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebStripper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebWhacker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebZIP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Wget" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Widow" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WPScan" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WWW\-Mechanize" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WWWOFFLE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Xaldon WebSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Yandex" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Zeus" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^zmeu" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "360Spider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "AhrefsBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "CazoodleBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "discobot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "EasouSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ecxi" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "GT\:\:WWW" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "heritrix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "HTTP\:\:Lite" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "HTTrack" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ia_archiver" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "id\-search" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "IDBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Indy Library" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "IRLbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ISC Systems iRc Search 2\.1" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "LinksCrawler" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "LinksManager\.com_bot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "linkwalker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "lwp\-trivial" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "MFC_Tear_Sample" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Microsoft URL Control" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Missigua Locator" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "MJ12bot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "panscient\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PECL\:\:HTTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PHPCrawl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PleaseCrawl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SBIder" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SearchmetricsBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SeznamBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Snoopy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Sogou" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Steeler" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "URI\:\:Fetch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "urllib" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Web Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "webalta" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "WebCollage" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Wells Search II" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "WEP Search" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "XoviBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "YisouSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "zermelo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ZyBorg" [NC,OR]
# End Abuse Agent Blocking
# Start Abuse HTTP Referrer Blocking
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?semalt\.com" [NC,OR]
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?kambasoft\.com" [NC,OR]
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?savetubevideo\.com" [NC]
# End Abuse HTTP Referrer Blocking
RewriteRule ^.* - [F,L]
# End HackRepair.com Blacklist, http://pastebin.com/u/hackrepair

<IfModule mod_rewrite.c>
RewriteEngine On

# Reduce Comment Spam - Security > Settings > System Tweaks > Comment Spam
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} /wp-comments-post\.php$
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_REFERER} !^https?://(([^/]+\.)?virtualmagie\.org|jetpack\.wordpress\.com/jetpack-comment)(/|$) [NC]
RewriteRule ^.* - [F]
</IfModule>
# END iThemes Security - Do not modify or remove this line

## EXPIRES CACHING ##
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff

# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/truetype "access plus 2500000 seconds"
ExpiresByType font/opentype "access plus 2500000 seconds"
ExpiresByType application/x-font-woff "access plus 2500000 seconds"
ExpiresByType image/svg+xml "access plus 2500000 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 2500000 seconds"
</IfModule>
# END Expire headers

# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers

<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>

canindia
tagDiv Member

I was able to find the following document on your support site which I forwarded to my host and below is their response. https://forum.tagdiv.com/pagespeed-guide/

____________________________________________________

Hello,

To confirm, that’s the response from the author of WPBakery? The site linked there is tagdiv.com, the site where tagDiv Social Counter mentions – hence why I’m asking.

Additionally, in looking at that guide, items 1, 2, and 5 are handled by W3TC. I’m not sure why they’re suggesting to just use W3TC for page caching – if you do not do database caching, your site is still going to get slammed.

Further, with the sole exception of some CSS added by A5 Custom Login (or whatever that plugin is), none of the CSS/JS is currently blocking. The only request that is is the second request to the server – that request is handled by custom changes to wp-config.php that it appears that plugin makes.

The only thing that I have not done is to optimize the images on your site – doing this requires that you take them and resize them to the size you expect them to be on the server. I do not even know if that is currently an issue, but I haven’t resized them as that’s not something that we do.

The major point to take away from this however is simple: I’ve done as much of the stuff as I can do from this guide. However, there are quite a few interactions between your different plugins that prevents me from taking a couple of the key steps listed in this guide.

Thanks

Jack Hayhurst

Liquid Web Inc
https://www.liquidweb.com
800-580-4985 Toll Free
517-322-0434 Intl.
517.322.9412 Secure Fax
517.322.3158 Fax

Alin [tagDiv]
tagDiv Staff

Hi,

From this version speed booster plugin is automatically disabled as it is tested and it works fine with some recommended plugins. Many people install the plugin without knowing what it does and after that they add 100 plugins and some of the plugins are not written ok(some of the plugins do not respect the google pagespeed recommendations of punting javascript at the end of the page).
If you want to always enable speed booster, delete this code from speed booster file: http://screencast.com/t/RZLIOPUNdqh

Thanks!

Emil G
tagDiv Staff

Hi,


@raugustox
– On your image it’s the browser leverage cache which is different from the page cache provided by the cache plugin. You can check this guide to see how you can set the Browser Leverage Cache – https://forum.tagdiv.com/how-to-make-the-site-faster/ – and this one – https://forum.tagdiv.com/topic/tutorial-pagespeed-2015/

Thank you!

Lucian
tagDiv Staff

Hi,

I can’t see it duplicated in google pagespeed testing tool or any notification on it: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fthe-light-x-wanderer.com%2F&tab=desktop however the logo is called twice because once it called here: http://screencast.com/t/oSqgigKrXQY and once is celled in the menu, you will noticed it if you enable the sticky menu feature in theme panel: http://screencast.com/t/SM8GyTMri3D

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

Please check documentation(Requirements for Newspaper) – https://forum.tagdiv.com/requirements-for-newspaper/ and this guide – https://forum.tagdiv.com/pagespeed-guide/ We recommend now Wp-Super Cache instead of W3 Total Cache, it seems to be faster and we will change this also in the documentation.
Also try to use only plugins that you need. The speed booster move the js and css at the bottom of the page to eliminate render-blocking, but not for all plugins.

Thanks!

rgaweb
tagDiv Member

Thank You, Ing Geek! Just to add: the bug I found (not a specialist in Cody) himself after hours of trial and error ))) – have not noticed further on the forum that it fixed ).
On the Newspaper 4.44 was just excellent grades, but in version 6 they were down and much.

http://1drv.ms/1ge0sqU
Your codes have Received significant improvement in the velocity estimate. BUT! I connected the module from google
https://developers.google.com/speed/pagespeed/psol
Now and don’t know what made a greater contribution to growth assessment.
Very interesting, what else can you suggest to improve
my website – http://altervision.org/
Your evaluation is very important to me ))

It would be interesting to know your opinion about this module and its sharing in your codes. Thank you!
Gennady, Russia

simchris
tagDiv Member

Hm.
okay, in my header ad box I have
desktop on (grey toggle); size 970×90
tablet portrait on (grey toggle); size auto
phone off (blue toggle > right)

my code looks the same –

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 2015 Responsive States -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-XXXXXXXXXXXXXXXXXX"
     data-ad-slot="XXXXXXXXXXXXX"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

So, it might be something funky like a minification setting or a “java optimization” setting in your Cloudflare, WPEngine — maybe there is a setting there to “ignore” a specific block of code?

I would probably turn OFF one or both of those if you are able to see if maybe they are “re-writing” the javascript for some oddball reason. “Re-writing” — such as scripts that minify, move, re-write javascript can sometimes break the simplest thing if they can’t parse “the syntax” or the “locale” of the code for some odd reason. I ran into this with mod_pagespeed with javascript optimizations — just turned it all off !

  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

This presumes you have the desktop/mobile “enabled” vs “disabled” in your theme panel where you have pasted in the complete adsense code snippet?

I’m using header 8 and mine work perfectly across multiple sites even with stuff like mod_pagespeed doing on the fly page rewrites to remove spaces and comments.

Do you have example of the adsense code you’re pasting in to the adsense ad box ?

cem
Participant
#0

sometimes on google pagespeed I would see the logo double also the site title and tagline. In he source code I can see it is called twice but I don’t understand why.
ANy hint is appreciated.
thx

<div class="td-header-wrap td-header-style-10">
    <div class="td-header-row td-header-top-menu">
	    <div class="td-make-full">
	        	        	    </div>
	</div>

	<div class="td-header-row td-header-header">
		<div class="td-make-full">
			<div class="td-header-text-logo">
						<a href="http://the-light-x-wanderer.com/"><ul>
<img src="http://the-light-x-wanderer.com/wp-content/uploads/2015/04/cem.logo_.3.png" alt="Fuji-X Photography with X-T1 and X100" /></a>
		<meta itemprop="name" content="Fuji-X Photography with X-T1 and X100"></ul>
				</div>
		</div>
	</div>

    <div class="td-header-menu-wrap">
        <div class="td-header-row td-header-main-menu">
            <div class="td-make-full">
                <div id="td-header-menu" role="navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
    <div id="td-top-mobile-toggle"><a href="#"><i class="td-icon-font td-icon-mobile"></i></a></div>
    <div class="td-main-menu-logo">
                <ul>
<a href="http://the-light-x-wanderer.com/"><img src="http://the-light-x-wanderer.com/wp-content/uploads/2015/04/cem.logo_.3.png" alt="Fuji-X Photography with X-T1 and X100" /></a></ul>

        <meta itemprop="name" content="Fuji-X Photography with X-T1 and X100">
        </div>

AzharNadeem
tagDiv Member

Perhaps helped myself by identifying script handle. The script is appearing at line 1163 instead of line 60 in souce file. However, it is still being shown as render blocking by Google Pagespeed Insights.

Steven
tagDiv Member

I’m not having any issues with my VC plus i only use it to build my front page with the blocks,i don’t use it for any thing else because it just going put more stress on my server,all the nice features that comes with V6 is nice to have but if you don’t have a good host are server all you going do is make headaches for your self…

I’ve notice that any thing running ajax make your site go heywire that’s why i turn every thing off my site that use ajax also i’ve notice that loading animation of images was slowing my site down as well and i stop using,since i make things simple on my site it run fast and i also have good scores from pagespeed etc..

I don’t use any RELATED ARTICLEs,MORE ARTICLES FLY OUT,SHOW POST VIEWS,SHOW COMMENT COUNT,LOAD MORE,LOADING ANIMATION OF IMAGES,INFINITE LOAD…ALL THESE THINGS USE A LOT OF RESOURCES AND MAKE YOUR SITE RUN VERY SLOW ALSO PUT A LOT OF STRESS ON YOUR SERVER..

Steven
tagDiv Member

UPDATE:Jah Live Radio is an online internet music station that plays all the hottest reggae and dancehall music straight from Jamaica 24/7/365.https://jahliveradio.com

We have finish design/optimization our site and with out the theme speedbooster i was able to fix all those important issues under the hood with cloudflare/speedbooster pack plugin via worldpress.

Google pagespeed results :https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fjahliveradio.com%2F&tab=mobile

GTmetrix :http://gtmetrix.com/reports/jahliveradio.com/kBQTuZkg

Finally the less stuff on your site the better your score will be and the faster your site will be as well..

12familyde
tagDiv Member

Hello everyone! 🙂

Our site is a german languaged magazine for parents and family. Our topics are helpful tipps and stuff involving babies and children. We really love the abilities this theme gives us. It’s the perfect combination of beeing able to write informative (good looking) texts and having the structure of an online magazine.

I must admit, that we are having a bit troubles with pagespeed. But this is because of my non-professional tech- knowledge. Within the next months we would like to invest a lot of time to get a forum online. The bbpress integration of the theme will hopefully help us with that! 😉

You can take a look into our site here: http://www.1-2-family.de

Warmest regards to everyone! 🙂
Torsten

Ing Geek
tagDiv Member

@charly_vk tienes un server response de 1 segundo, es decir anda lento el servidor. Veo que tienes zencache, sin embargo no está activado la expiración para algunos tipos de archivo http://gtmetrix.com/reports/www.chicasfitness.com/w07wTjMa (leverage browser caching) . esto es sencillo si tienes apache solo tendrás que agregar unas líneas al htacces, si tienes nginx lo haces en el nginx.conf. Revisa en google como establecer los tiempos de expiración según tengas apache o nginx,

2.- https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.chicasfitness.com%2F&tab=desktop
Your page has 2 blocking scrip
Estos los eliminas con el functions.php que subí ayer.

Solo sustituye este funcions.php https://drive.google.com/file/d/0B-VBkiewxpMAM29uUkI5YWpneEU/view?usp=sharing

Para el css puedes usar cualquier plugin que te permita diferir el css, solo excluye el style.css

Saludos

Alin [tagDiv]
tagDiv Staff

Hi,

Seems that sometimes Google’s testing tool could preview your site’s in different ways. Recently we had as similar report about the site looking unstyled or just a white screen, but it didn’t had actually any issues in the browser.
Also for errors on the test please follow the steps added in the documentation – https://forum.tagdiv.com/how-to-make-the-site-faster/ Also Christopher topic may help – https://forum.tagdiv.com/topic/tutorial-pagespeed-2015/

Thanks!

Ing Geek
tagDiv Member

@mosamlife

Oki.

First. (missing files) http://gtmetrix.com/reports/www.movzio.com/XJg9IOf2
You need to disable tag div api plugin or fix them, because its calling https://www.movzio.com/wp-content/plugins/td-api-plugin/css/style.css and this file doesnt exist.

second (light files) https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.movzio.com%2F&tab=mobile
You need to MINIFY and COMBINE html, css and js code. I dont like w3 because have too many options, but you can try minify option on w3 :-P. Just exclude style.css

Third (server response)
You are on Nginx and nginx works better whit other cache plugins like WP-FFPC instead of w3, just need to install memcached latest version on your server.

Regards

simchris
tagDiv Member

Most often issue with Cloudflare — you can find lots of comments about such issues in the forum. You should have all caching OFF and cleared before doing any updates, upgrades, migrations, etc. — otherwise you have weird mix of old/new and hence crashing of doom.

I forgot to turn off mod_pagespeed one time doing upgrade and it was a “dog’s breakfast” as my dad used to say!

Alin [tagDiv]
tagDiv Staff

Hi,

Please check documentation(Requirements for Newspaper) – https://forum.tagdiv.com/requirements-for-newspaper/ and this guide How to make the site faster(please take a look at point 4 for your issue).
Also Christopher topic may help – https://forum.tagdiv.com/topic/tutorial-pagespeed-2015/

Thanks!

simchris
tagDiv Member

Always delete/clear cache before updates.

Always delete old theme folder and child theme folder for new theme; upload new folders to completely replace old ones. Delete old plugins completely, install new folders. NEVER OVER-WRITE UPDATES.

Always clear cache after making changes to core files when they are working; otherwise you are loading mix of old/new from server and things break.

If you’re unable to do anything — try switching to default theme, try disabling all plugins entirely; try resetting the plugins folder (see my “how to move to new theme” for a best practice way to update/upgrade and recover from fail).

Only put stuff at end of your functions.php in MAIN folder, NOT child theme. Only add things you know what they are — most being self-evident. If site crashes when loading edited functions.php, then roll back to your backup. If site won’t recover from that, then it’s 100% a caching problem.

Often for testing via FTP, I do

a) all caching and mod_pagespeed disabled
b) rename functions.php to xfunctions.php
c) drag over new functions.php
d) test site
e) if site won’t load; via ftp with window still open, just rename xfunctions.php to functions.php and it replaces the bad functions.php — total time 20-30 seconds.

Not sure any of that helps, but maybe some pointers in some direction.

Bmusiq
Participant
#0

Hi there,
after following your functions.php tutorials / recommendation my site speed has indeed improved, however following severe issues now:
1. can´t access my wp backend (user and passw not accepted)
2. the search function doesn´t populate posts automatically when typing in anymore
3. I receive failure messages:
Warning: Cannot modify header information – headers already sent by (output started at /var/www/web944/html/wp-content/themes/Newspaper/functions.php:1) in /var/www/web944/html/wp-admin/post.php on line 235

Warning: Cannot modify header information – headers already sent by (output started at /var/www/web944/html/wp-content/themes/Newspaper/functions.php:1) in /var/www/web944/html/wp-includes/pluggable.php on line 1196

Warning: Cannot modify header information – headers already sent by (output started at /var/www/web944/html/wp-

Apprciate your help.

Thanks,

P.S. I´ve st back most of the things recommended, but now just can´t access the site, except
changes via ftp/filezilla.

simchris
tagDiv Member

Likely good time to talk to your hosting provider to check your “ownership permissions” for your setup of your account, folders, etc. — you can also do this via FTP. If you have a mis-match on who “owns” the files being uploaded via WP, if they are not in a publicly visible folder, they won’t load for the public.

I have seen odd things happen when WordPress installed from the hosting panel vs manual install, where some directories and upload folders end up “owned” by the server, or apache, or whatever and not the ftpuser.

You might also do a clean install of WP if your folders and permissions are just completely messed up; the theme doesn’t set write permissions on your WP setup.

You can can also try updating your permalinks; check your wp-config.php file for errors; try resetting your plugin folder by renaming it via FTP, etc.

Right now your style sheet isn’t even loading for your page.

Obviously you should have all caching, mod_pagespeed and similar things turned off. Use the main theme and not child theme, make sure you can even login properly, create new post, upload images, set featured images, upload file, check URL and make sure it can be loaded via browser alone, etc.

  • This reply was modified 11 years by simchris.
Viewing 25 results - 2,076 through 2,100 (of 3,025 total)