Search Results for 'pagespeed'

Results from the Forum
Lucian
tagDiv Staff

Hi,

Thanks Christopher!

@frasercarly89

For this http://screencast.com/t/pOUAJQi6zZ you have to follow this guide: https://forum.tagdiv.com/how-to-manage-the-mobile-theme/ and deactivate the Mobile Theme.
I have checked your site and found that you it is very slow. You should consider optimizing your images as they slow down page speed as noted at this test I made using Google’s PageSpeed Insights: http://screencast.com/t/pZF2PK63D also on your site: http://screencast.com/t/eXVkKjDS
Check this guide, part 3 Optimizing Images: https://forum.tagdiv.com/how-to-make-the-site-faster/ or search the forum to finding the best ways to do this: https://forum.tagdiv.com/topic/pagespeed/

Thanks

Lucian
tagDiv Staff

Hi,

Thanks Christopher!

@Kaskarino

This is happening because of the “Open Sans Condensed” font family: http://screencast.com/t/wsMa7HUE
You can change this from theme panel or via custom css and use just “Open Sans”: http://screencast.com/t/vFDtJX1P
For the page loading matter please use the pagespeed guide and follow the pagespeed topic:

* https://forum.tagdiv.com/how-to-make-the-site-faster/
* https://forum.tagdiv.com/topic/pagespeed/

Thanks

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

Please see the sticky post on maximizing your site for PageSpeed. You can manually minify your CSS and JS main files. Browser cache settings can be specified in htaccess file if running Apache (I posted the how to on that in the sticky category of forum).

YOu may find it useful to test one of your post pages using GTMetrix in place of Google, as it will also give you better examples of how to optimize your page, tell you what needs to be fixed, and often give you minified versions of CSS/JS files you can grab. Free.

#0

On the web use child theme and following the instructions in section 4. Remove blocking render css / js – using the Speed ​​TagDiv Boosterplugin (Advanced Users), i added the following to the file (root>carpetamiweb>wp-content>plugins>td-speed-booster.php)

// Informe Page Speed mejora
$this->move_style_to_footer(‘contact-form-7’);
$this->move_style_to_footer(‘rs-plugin-settings’);
$this->move_style_to_footer(‘rs-plugin-captions’);
$this->move_style_to_footer(‘tablepress-default’);
$this->move_style_to_footer(‘js_composer_custom_css’);
$this->move_style_to_footer(‘tablepress-responsive’);

// JS por Informe Page Speed mejora
$this->move_js_to_footer(‘jquery’);
$this->move_js_to_footer(‘mab-actionbox-helper’);

If we page speed https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2F zapatosdebaile24.com%2Fes%2F&tab=desktop

Remove the JavaScript blocking content display:
http:// zapatosdebaile24.com/…-includes/js/jquery/jquery.js?ver=1.11.1
http:// zapatosdebaile24.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1

I keep getting some things unresolved and do not understand why

In addition to talking about these issues that also need to be optimized and have not ecnontrado how: Minificar CSS
Minificar JavaScript
Specifying browser cache
HTML Minificar

Can you help me?

Lucian
tagDiv Staff

Hi,

You can make a backup search online for a proper nginx wordpress configuration and test it. Using the nginx cache, it may be possible that the request will be cached even via ajax.
You can also follow this topic: https://forum.tagdiv.com/topic/pagespeed/page/6/#post-15416
You can also get someone to optimize nginx settings for you.
Hope this helps!

Thanks

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

FYI…
the only way to get a “perfect” score with PageSpeed Insights is to custom build a lean layout with few photos and css custom loading in steps for a) above the fold, b) after load; this is very complex and not suitable for sites with complex if/then/else customization front ends or page builder apps due to all the bloated code necessary for serving different masters. Any site which loads most of the CSS and related styles to get the page to render properly will end up getting an optimization warning, because the page is not custom built to render above the fold before the lower content. If you can hit 90+ on your desktop score and 85+ on mobile, you can live a happy life and not stress over it.

nicoms91
tagDiv Member

Hi there, I wanted to give something back to the forum. For those who are struggling with the image size in mobiles I found an easy and practice solution. Just go to http://adaptive-images.com and follow their instructions. To sum up, what this hack do is recognize the user resolution and if it is smaller than the image it creates a new image to fit that size. It has a few cons: The image are only created once the user access your site with a smaller resolution. Google PageSpeed Test dont recognize this change, so you will be getting low scores for mobile.

On other subject, I am getting the following problem: Compressing https://platform.twitter.com/widgets.js could save 71.6KiB (69% reduction).

Anyone could solve this? I could find anything on Google.

Thanks in advance!

simchris
tagDiv Member

Caching is usually the culprit in most things like that. Always good idea to disable all caching before doing updates otherwise you end up loading mix of old stuff and new stuff, as you likely discovered. We had the same issue while running mod_pagespeed, and I learned my lesson on that 🙂

simchris
tagDiv Member

In case I didn’t include this previously:

In your WordPress Settings, you specify the WordPress address and the site address. Those are added in your database, and every time the developer calls it in the template, it is running a database query.

define('WP_HOME', 'http://www.wpsitez123.com'); 
define('WP_SITEURL', 'http://www.wpsitez123.com'); 
define('TEMPLATEPATH', '/absolute/path/to/wp-content/themes/active-theme');
define('STYLESHEETPATH', '/absolute/path/to/wp-content/themes/active-theme');

By adding these in your wp-config.php, you are reducing the number of database queries thus increasing your site’s performance.

These settings are also useful if converting your website to “https” once you have SSL cert installed as WordPress can ‘soft-redirect’ any query for http://yourpage to https://yourpage; and it updates the WP Settings general page showing URL, and YOAST SEO picks this up for writing canonical links for https.

In case anybody is on to the more hard core optimization of WP.

simchris
tagDiv Member

We use the Disqus plugin with our site with no issue, but we’re NOT using the “load on scroll” which is sometimes called “lazy load” as that never seems to work consistently — even mod_pagespeed from Google doesn’t work consistently where we sometimes have blank images. Not theme related, but due to the fact a lot of things get loaded as “async” for quicker loading these days, and this can cause things to load in wrong order even if theme trying to load in right order.

You might try simply using it without the load on scroll feature.

Lucian
tagDiv Staff

Hi,

Please keep in mind for future updates to deactivate plugins also empty cache and purge files if you use any cache or CDN plugins this usually helps you find what causes issues or fixes them.
Regarding captcha, for now, I can only inform you that we have this on our todo list and consider it for future updates and to be honest we haven’t decide yet if we will implement it or not so I can’t give you an exact answer. What I can do though is to point you to a discussion about this which maybe you can find useful: https://forum.tagdiv.com/topic/i-think-captcha-in-registration-is-good-idea/
You can also follow this topic to find out how you can get the best page speed score: https://forum.tagdiv.com/topic/pagespeed/
Hope this helps!

Thanks

  • This reply was modified 11 years by Lucian.
Lucian
tagDiv Staff

Hi,

Thanks for sharing!
I can’t see a way on how you can easily do this, you would have to modify the code, and add conditions to detect the screen’s width and use other thumb size or build another page and enable it for mobiles only via js, either way it’s not an easy task.
Another way would be to use a plugin to manages and customize your mobile content, you could try WordPress Mobile Pack for example(I’m not sure if helps with adding a new image size on mobiles but you can go trough the description/FAQ and see what you can do to your site using it..) or another similar.
Leaving all these aside I don’t think you have to do this. If you look to the page-speed result the suggested fixes don’t specifically include changing the way images are loaded: "Properly formatting and compressing images can save many bytes of data" this manes that you would consider finding another way to properly format/compreess iamges: https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/image-optimization or you can go trough this topic as this issues where discussed over and over again: https://forum.tagdiv.com/topic/pagespeed/
Another matters which affects your page speed are this: http://screencast.com/t/0gVaRWv1CfVJ
so you should also consider fixing those also.
Hope this helps!

Thanks

PGN
tagDiv Member

Unfortunately my Page Speed Insights are now 31/100
https://developers.google.com/speed/pagespeed/insights/?url=puregospelnetwork.com

Kevin

nicoms91
Participant
#0

Hello to everyone. First of all I would like to make a tiny contribution to the forum. In found an excelente and free way to compress images. Just go to kraken.io and upload the images you want to compress. Their free service is really great.

My problem is that in mobiles versions my images are not properly resized and therefore google page speed is giving my site a low score. In my last post (where I use large images), the mobile version of the site did not change it size to adapt, so the score is the lowest I have ever seen: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fvivisaludable.com%2Festilos-cabello-tutorial%2F&tab=mobile

Is there a way to tell the site to resize the images for mobile instead using the original size (desktop). I have searched in the forum but I was not able to find a solution to this.

Thanks in advance!

simchris
tagDiv Member

Did you put the calls to Google for the open sans font at bottom of the style.css file?

That would likely be reason for the lack of fonts in Firefox.

I didn’t have the issue with td-bootstrap.css since if PT Sans isn’t being loaded from Google, it falls back to sans serif anyway. I suppose there might be a post type which uses that … but I didn’t end up having issue with it.

I don’t think I mentioned anywhere that in my style.css I also put open sans font stack in the first body class so it would be “default” font if no other font specified.

doran
tagDiv Member

Thank you for your tips, Christopher. I appreciate your support here. I read all the things you posted.

I choosed open sans for all font styles in style.css and removed google fonts from functions.php like you said. It worked for chrome and Iexplorer but firefox do not show open sans. Is there any solution for this?

And I found that I need to change the font in td-bootstrap.css also. There is a PT Sans in it which is post content text. ??

simchris
tagDiv Member

The way I did it wasn’t easy, but if you want to hurt your brain you can read about that in the pagespeed sticky 🙂

simchris
tagDiv Member

UPDATE ON MY MOD_SPDY PLUS MOD_PAGESPEED ADVENTURE

for those of you doing the more arcane stuff with mod_pagespeed and perhaps looking to use mod_SPDY to speed up your site if moving to https, here is what we found over past 2 weeks of testing.
1) connecting mod_pagespeed to mod_SPDY caused Apache to stop/start every 3-5 hours. Not good.
2) using relative paths to static file directories in mod_pagespeed .conf file was the way to go; this allows pagespeed to load the files via /relative/paths/ vs sorting out what to load via http or https (via spdy)
3) running mod_SPDY without pagespeed connection seems to work quite well. (so far)

Anybody not doing any of the above can simply IGNORE this post as it won’t relate to you.

simchris
tagDiv Member

Just a tip:
be sure to

a) backup your site, export dbase and theme settings
b) turn off any caching plugin
c) turn off any special things like mod_pagespeed
d) deactivate all plugins

1) delete old theme folder
2) replace with new theme version (don’t overwrite; which mixes old code with new)
3) delete old VC plugin if updated
4) upload new VC plugin if updated
5) clear browser cache several times
6) reset/expire any CDN content to refresh with new theme content/CSS

The above resolves 90% of the oddball “my theme panel doesn’t work” issues.

simchris
tagDiv Member

@cstyn
as I said, you need to *choose* which fonts you want to use on your site, as I did with Open Sans. In my examples, you would choose the fonts you want, search/replace those in the stlyes.css file, then grab CSS from Google for those chosen fonts, then put the CSS at bottom of your style.css; then hack the functions.php to no longer pull the stock fonts from Google since you’re loading your custom fonts.

Best to stick with built in theme font selectors, in your case, at this time. If you don’t yet know the purpose of the style.css, then this will be beyond you for the time being.

Best wishes, and sorry I couldn’t make that all any simpler.

cstyn
tagDiv Member

Theme says default… and doesn’t say what fonts actually use…

simchris
tagDiv Member

@cstyn
Re: custom fonts, and custom font loading …. simply removing code from functions.php is just *one* step as I outlined in detail. That step is only part of it to remove the theme calling on Google to load the fonts. If you don’t do all the other elements, like picking the NICE fonts you want and actually adding the CSS to your style.css file, then it serves no purpose. If it’s beyond you, then as I said, it’s best to stick with the built in theme functions until you get more adept at “hacking” WordPress and WP themes, which takes some time (I’ve been doing it a looooong time, and I still get lost on stuff!). 🙂

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

To get rid of fonts by editing function.php made my site ugly. I reverted back the code in function.php. Better without 6 points than ugly site. I don’t understand how to manually add all the default fonts on site.

cstyn
tagDiv Member

I did as you said. I still had the error because I forgot

else {

All I did was editing function php. I use default fonts on site, I did no change in theme panel. That means I use default, so no google ? It works. 🙂 Thank you !!!

I got rid of some js codes, from g+, stat counter, etc. now I have 94/100 or 95/100.

Image and video hosting by TinyPic

Prioritize visible content
Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.
The entire HTML response was not sufficient to render the above-the-fold content. This usually indicates that additional resources, loaded after HTML parsing, were required to render above-the-fold content. Prioritize visible content that is needed for rendering above-the-fold by including it directly in the HTML response.
None of the final above-the-fold content could be rendered even with the full HTML response.

This error only. Any more idea how to fix ? I have:

– W3 TOTAL CACHE

Page cache: enable, disk enhanced.
Minify : AUTO
– HTML minify settings: all checked except Line break removal
– JS: ENABLE … ADDED 3 js scripts from site, using minify and NON BLOCKING USING ASYNC.
– CSS: no
Database cache – enabled.
Browser cache enabled.

– Async JS and CSS

Load Javascript asynchronously
Load CSS asynchronously
Minify CSS

– Speed Booster Pack

All general options
55% image compression
Load CSS asynchronously
Minify all CSS styles

NO tagDiv speed booster (INACTIVE)…

Thanks for the previous video on site. I hope my settings help others. If anyone can help with my last issue, I would be gratefull.

  • This reply was modified 11 years by cstyn.
  • This reply was modified 11 years by cstyn.
  • This reply was modified 11 years by cstyn.
Shashank Shekhar
tagDiv Member

Chris, I get the 3 css files as render blocking, is there any way out for them? :/

Viewing 25 results - 2,426 through 2,450 (of 3,025 total)