Search Results for 'optimize'

    No search results were found in Documentation!

Results from the Forum
tracid
tagDiv Member

The mobile score is better ;). But in the screenshots appears empty the mobile screen :S

In w3 total cache i only check the Page Cache in the general settings tab or i need make more changes in the other tabs?

The option of Minify should be enable?

I use http://cssminifier.com/ for my style.css and works but i realized another pagespeed test ando mobile score was 59.

The results in mobile test:

Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 5 blocking script resources and 8 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.

Remove render-blocking JavaScript:
http://ajax.googleapis.com/…s/jquery/1.10.2/jquery.min.js?ver=1.10.2
http://ambito-financiero.com/…ns/jetpack/_inc/postmessage.js?ver=2.9.1
http://ambito-financiero.com/…/jetpack/_inc/jquery.inview.js?ver=2.9.1
http://ambito-financiero.com/…/_inc/jquery.jetpack-resize.js?ver=2.9.1
http://s7.addthis.com/js/300/addthis_widget.js
Optimize CSS Delivery of the following:
http://ambito-financiero.com/…etpack/modules/likes/style.css?ver=2.9.1
http://ambito-financiero.com/…ubscriptions/subscriptions.css?ver=3.8.1
http://ambito-financiero.com/…modules/widgets/widgets.css?ver=20121003
http://ambito-financiero.com/…modules/sharedaddy/sharing.css?ver=2.9.1
http://ambito-financiero.com/…dgets/widget-grid-and-list.css?ver=3.8.1
http://ambito-financiero.com/…s/contact-form-7/includes/css/styles.css
http://ambito-financiero.com/…ster/external/bootstrap/td-bootstrap.css
http://ambito-financiero.com/wp-content/themes/Newspaper/style.css
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.
55.9KiB of the response was required to render the above-the-fold content. Prioritize visible content that is needed for rendering above-the-fold.

The results in desktop test:

Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.
Enable compression for the following resources to reduce their transfer size by 173.8KiB (74% reduction).
Compressing http://ambito-financiero.com/ could save 46.2KiB (81% reduction).
Compressing http://ambito-financiero.com/…ster/external/bootstrap/td-bootstrap.css could save 27.8KiB (80% reduction).
Compressing http://ambito-financiero.com/…Newspaper/js/min/external.min.js?ver=3.4 could save 25.5KiB (65% reduction).
Compressing http://ambito-financiero.com/…mes/Newspaper/js/min/site.min.js?ver=3.4 could save 14.7KiB (74% reduction).
Compressing http://ambito-financiero.com/…ns/jetpack/_inc/postmessage.js?ver=2.9.1 could save 14.3KiB (74% reduction).
Compressing http://ambito-financiero.com/…jquery.form.min.js?ver=3.50.0-2014.02.05 could save 9.9KiB (62% reduction).
Compressing http://ambito-financiero.com/…modules/sharedaddy/sharing.css?ver=2.9.1 could save 8.9KiB (80% reduction).
Compressing http://ambito-financiero.com/…assets/js/js_composer_front.js?ver=3.6.8 could save 6.6KiB (68% reduction).
Compressing http://ambito-financiero.com/…-form-7/includes/js/scripts.js?ver=3.7.2 could save 6.2KiB (71% reduction).
Compressing http://ambito-financiero.com/…/_inc/jquery.jetpack-resize.js?ver=2.9.1 could save 5.7KiB (72% reduction).
Compressing http://ambito-financiero.com/…/jetpack/_inc/jquery.inview.js?ver=2.9.1 could save 3.5KiB (64% reduction).
Compressing http://ambito-financiero.com/…etpack/modules/likes/style.css?ver=2.9.1 could save 2.9KiB (70% reduction).
Compressing http://ambito-financiero.com/…dgets/widget-grid-and-list.css?ver=3.8.1 could save 1.1KiB (66% reduction).
Compressing http://ambito-financiero.com/…s/contact-form-7/includes/css/styles.css could save 524B (56% reduction).

What can i do to improve this? The thing that appear in the list are of jetpack pluging, contact-form, and things of the theme. The screenshots in mobile test only show the menu with any format, and in the desktop text the screen was empty.

I compare the source code of the theme demo with the souce code of my page and its too different. :S. I think this theme is too complicated to config correctly to improve the speed. Its necessary a guide to config the plugins like the theme demo, with the same options, then each user could comment your personal issues. If in the demo has been changed .htaccess for improve the speed and changed a w3 total cache, i think its necessary a guide because the speed of theme is one of best things that it have. If you make a bad config of this items, the theme is slowly like another themes.

Another question, i update the theme with the patch folder, is better reinstall all theme or is the same? I tell this because one of the updates was “clean code” and in my <head> there are a lot of code, more than in the theme demo and another pages that the people put here in the other posts :S

PD sorry for the english 🙂

  • This reply was modified 12 years by tracid.
  • This reply was modified 12 years by tracid.
simchris
tagDiv Member

See the topics in the docs re setting up page cache, speed booster plugin, and manual fixes to optimize site for pagespeed:
https://forum.tagdiv.com/newspaper-documentation/

tracid
Participant
#0

I made test in pagespeed and the score of mobile version its poor. the tool shows this problems. ¿How can i fix this problems?

Remove render-blocking JavaScript: httpx://www.google.com/jsapi?ver=3.8.1

Optimize CSS Delivery of the following: httx://fonts.googleapis.com/…tnamese%2Clatin-ext%2Ccyrillic&ver=3.8.1 httx://fonts.googleapis.com/…2Cgreek%2Clatin-ext%2Ccyrillic&ver=3.8.1 httx://fonts.googleapis.com/…lic-ext%2Clatin-ext%2Ccyrillic&ver=3.8.1 httx://fonts.googleapis.com/…2C700&subset=latin%2Clatin-ext&ver=3.8.1 httx://fonts.googleapis.com/…tnamese%2Clatin-ext%2Ccyrillic&ver=3.8.1

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.

In the screenshot of the tool, the menu is displayed before content. This is very important for SEO. http://googlewebmastercentral.blogspot.com.es/2012/01/page-layout-algorithm-improvement.html

simchris
tagDiv Member

Yes! Image optimization is only ONE part of the process. You need to ideally optimize your images prior to upload for smallest size, and then set the default compression.

The htaccess file stuff for expires and also making sure that gzip/deflate are enabled on your server are also hyper critical.

Read back through some of my long winded posts for some great tips 🙂

And, you are very welcome !

zokolus
tagDiv Member

I have done everything as it says. Add code “add_filter( ‘jpeg_quality’, create_function( ”, ‘return 50;’ ) );” and run reg.thumb plugin. After that I run g. pagespeed, but the score was the same as previous mobile:52 / desktop:67 and I still get the message about optimazing images. It looks that they still weren’t optimized.

But then I tried another thing. I changed my expire headers in .httaccess with your expire headers you have posted in this post: https://forum.tagdiv.com/topic/what-is-your-googlespeed-value/ and WOW!!! after I run g. pagespeed test I saw complitely diferent score: mobile:72 / desktop:82 — THAT IS FANTASTIC FOR ME!!! (I am on shared hosting for 5$ a month) — and when I test my page speed with google I have everything enabled and all ads on the site, so that new score is fantastic for me!!!

Christopher THANK YOU!!! 🙂

simchris
tagDiv Member

zokolus
look at the standard sizes found in the theme docs, here:
https://forum.tagdiv.com/modules-and-blocks/

I think we did
sm = 100×65
md = 326×159
lg = 700×357

NOTE: I highly recommend adding a custom compression amount to photos for WP as I’ve found that some of the pix created by theme with default WP compression level are waaaay to big.

For example on our site which is not yet optimized,
original article image 700×406 I uploaded is 31.14kb
http://publishersnewswire.com/META/PNW-Feb14-loudest.jpg
the theme/and WP created a 700×357 version, 63kb (!).

The hack to add the compression amount down to something like “50” is someplace in my prior posts. Recommended!!!

—updated——–
the code:

add the following code to your functions.php file in the theme root at the end –or– in your child theme (TIP: stop using a child theme)

add_filter( ‘jpeg_quality’, create_function( ”, ‘return 50;’ ) );

– then run the regenerate thumbnails plugin under wp admin > tools

EDIT (( AND REMEMBER TO BACKUP YOUR ORIGINAL PIX FIRST – !! ))

And one more FYI:
ga-ga is our test/optimization site
PNW is our “stock” site being used for comparison
(I have been called to other projects the past month and not working on either … hence why I was not around here for couple of weeks … and I will disappear again next week… sigh….deadlines!)

  • This reply was modified 12 years by simchris.
  • This reply was modified 12 years by simchris.
  • This reply was modified 12 years by simchris.
davistar
Participant
#0

Hello dear TagDiv support,

I’ve recognized that every post displayed inside the mega menu is declared as heading; so in fact, every other post and page I’m on, is showing those trillion headings above the real headings. Isn’t it bad for SEO, especially if you have landing pages optimized for a specific topic? I’ve checked other very popular sites with really good rankings and realized that posts inside the mega menus aren’t declared as headings there. I’m not sure though, if it really has a bigger impact because Google might find out that this isn’t belonging to the post-content.

Another thing is that the blank homepage option is not having a h1-title, even if the page itself has a title (which you just wanted to hide)? If I remember correctly, someone mentioned that already.

Thanks.

simchris
tagDiv Member

@mehedi
yes, I use BBedit on Mac and TextPad on PC, as my text editors, but basically you can also use notepad (not wordpad), or whatever the plain text editor on Mac is these days (I always want to say simpletext).

SO: create new blank text document with same name as the file you plan to minify (filenameXYZ.js), put into a folder or wherever you store stuff on your computer, and leave it open …

THEN, open the file from Newspaper theme folder you want to minify in text editor, select all (CTRL+A) and copy and paste into the minifier site, apply – then copy the minified text into your blank document then save. FTP up the minified version to over-write the original in the theme folder (you should have backup, or your themeforest install as backup obviously).

So, you’re replacing the original *.js file in the theme folder with your minified version.

Easy. Certainly there are plugins that might work for you, too, but I’ve not used one lately so can’t suggest best one beyond the discussion in the pagespeed topic.

Reload your page. If you’re caching the js files obviously you need to clear cache. Both on site if using cache plugin and in your web browser to see changes.

Remember you would need to do this each time you update the theme. But it really takes under a minute to do, for those who need it done. Try it.

====== OTHER OPTION =========
if you’re using my pals in Canada at Gossamer Threads, aka “GTMetrix” — a great tip many people entirely miss is that you can run a page score on your site, and it will tell you if CSS or JS need to be optimized BUT THEN IT WILL GIVE YOU LINK TO DOWNLOAD OPTIMIZED VERSIONS!!

Go here: http://gtmetrix.com/
put in your site URL, or a “post” URL – then under stuff to fix it will have section on JS optimization, open little sub box, and it will show you files which “should be optimized” and will have little text link next to each one. Download/save the optimized version, upload via FTP, and done.

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

@enemyborat
glad all my little rantings are helping somebody 🙂

“fonts and FOUT” Subject is top of mind for me at the moment as I’ve been toying with the difference between loading Open Sans off the Amazon CDN (where was able to compress the stylesheet more than the Google version is, for those who’ve run into that item on GTMetrix for scoring; meaning I basically am loading a minified and optimized version of the Open Sans font stack off the Amazon CDN for better performance/rating), vs just loading from Google directly. I get FOUT on my page right now with the CDN, and sometimes IE won’t load Font Awesome off the CDN at all (even with proper CORS rules) – whole ‘nother topic of pain there. Gave up and am loading Font Awesome 4x off our own server since IE 11 just randomly doesn’t load it and then all my icons are blank spots.

Anyway… “right now” if I go to a test page for site redesign (NOT using WordPress btw), I see moment of “italic” font then regular font. IE will load the italic font first for some reason so I see FOUT from italic to normal font. Stupid stuff (damn IE!!!).

I’m actually hoping to use the Google font CDN, and then the upcoming stable version of mod_pagespeed has a nifty feature where it will inline only the needed CSS for the browser being used.

So, for example this page …
http://www.send2press.com/clients/testimonials_2008-2012.shtml

I see a FOUT in IE11 on Win7/64 with a 32GB RAM machine on a 85mbps FIOS fibre connection. Page loading on dedicated server in Class A datacenter (Softlayer/IBM) with common elements like logo and main CSS coming off the CDN. Blah blah. Meaning, it’s not loading off anything with slow load times.

Starting to just “live with it.” Annoying as hell, though.

(argh)

Browser “should” cache the CSS on second page view. I have my cache in browser set to clear on close so I can re-suffer the view of a first time visitor EVERY time. Hence the annoyance can really annoying. Google “FOUT” to see the couple of years of whining by others, if one cares to. 😉

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

Hello #nowsathkwt

be sure you do this
1) https://forum.tagdiv.com/how-to-make-the-site-faster/
page cache, speed booster plugin beta
2) add the elements to htaccess file for expires headers, caching, etc.
3) make sure your server had gzip/deflate compression
4) install image optimize plugin, or change default compression in functions.php, re-render your images for compression
5) run speed test at GTmetrix (etc.); fix suggestions

Your site
http://gtmetrix.com/reports/connectkuwait.com/j8vmwWPR

note issues
* you don’t have expires headers on your site content; you need to add those to your htaccess file per my recommendations in this topic thread
* need to optimize images further
* you won’t be able to fix the stuff you’re loading off other sites like the .me.uk domain which is responsible for many of your “rating errors” — you’re loading images, CSS, JS and such from many other sites, and these all slow down your site and don’t meet the current optimization standards.

mehedi
tagDiv Member

hi, can anyone help me to optimize my site? I have read this whole thread, but I am not good in coding. So, I didn’t get lot of the things..

thanks!

sbo
Participant
#0

Have you ever considered instead of adding the share buttons at the bottom of posts to integrate or make an option to add the floating left side bar, for example: http://wordpress.org/plugins/wp-socializer/screenshots/ – I know I could easily download the plugin but I would imagine you could optimize it with the speed of the template with integrating it with your own code 🙂

Radu
tagDiv Staff

Hi,

I’ve looked at the site and I think that the booster plugin is not working as expected. The resources seem to come from cdn.your domain .Are you using mod pagespeed or some kind of cdn optimizer?

I will try to test the WPSocialite + speedbooster and if it works well we will update the plugin.

PS. Marius is making the stars now for you now – sorry for the delay.


@Christopher
– I agree with you, any social sharing badge that shows the number of likes/tweets etc comes with a cost :). There is one solution – to call the like tweets via api on server (like our social counter does) but like the social counter is very hard to maintain and it will have to make server side requests to the apis periodically for each post… that is not good. It’s almost impossible to deploy such such a thing to a lot of users and hosts combinations but I will experiment a bit with this 🙂 .

Radu O.

simchris
tagDiv Member

Most of the issues with social sharing are issues with the actual social media sites and their code which must be loaded by the theme to do things like “call” number of likes — that isn’t done by the theme. So, some things are impossible to “optimize” as they are not PageSpeed friendly. This also includes AdSense, ReCaptcha, YouTube, etc.

“the best social sharing codes” are those provided by each social media outlet with async loading; but the elements are still loading from that other site which you have zero control over.

For best PageSpeed you would need to use something like a single pill button from AddThis, or create locally hosted icon images which only “post” to the social media sites and have no interaction such as showing number of likes/shares — all that data coming from those sites like Twitter, FB, and G+ will cause PageSpeed issues.

Just some info on that. I’ve spent a ton of time on this issue and there is no perfect solution, unfortunately.

cagdas
tagDiv Member

I did like you said but still pageinsight analyze is saying that .css file is working before content 🙁
you can check it here
why don’t you use the best social sharing codes in the Newspaper, i am sorry because i have to find plugins solve for that. please optimize the social sharing codes in newspaper and save us 🙁

Radu A
tagDiv Member

hi,
thank you for your print screens:
you cannot add echo, we optimized the file for speed using $buffy.
what i don’t see in the print screens : where do you add the ‘labels’? or the labels
are automatically added when you get the data?

give me the link to the page, maybe we can do something from css

i see that you addet `
$buffy .= ‘<div>’;
$buffy .= get_post_meta_ ……..
$buffy .= ‘<div>’;
`

add a class to all the: $buffy .= '<div>';
like: http://screencast.com/t/hlHbBQmR4uS

maybe we can attach some style using that class

Thanks for you message.
Radu A.

  • This reply was modified 12 years by Radu A.
  • This reply was modified 12 years by Radu A.
  • This reply was modified 12 years by Radu A.
  • This reply was modified 12 years by Radu A.
creactivate
tagDiv Member

ok,

so by upgrading to a VPS with the settings you recommend, the warnings for Slider Revolution will magically disappear?

As I mentioned by disabling rev slider i’ll jump to 100/100. But then my menu is no longer working. It seems to be enabled on the demo site and I’ve followed the other advice.

These are the only warnings I get now:
Eliminate render-blocking JavaScript and CSS in above-the-fold content
http://creactivate.no/…punch.plugins.min.js?rev=4.1.4&ver=3.8.1
http://creactivate.no/…ch.revolution.min.js?rev=4.1.4&ver=3.8.1

I have minified CSS and JS
Optimized Images
Using speed booster
Using W3 Cache

Nacho
Participant
#0

Hi i try to improve my web speed but is more harder than i think first. I use GT Metrix, Pingdom and Google Pagespeed, is this one (google) i have 54/100 for mobile ( so bad ) and 84/100 ( not bad).

So how i can do to improve this?? Also my page size is soooo big 3,5 MB. I optimize all the images but i dont what can i do to reduce this??

Pingdom details:

http://tools.pingdom.com/fpt/#!/eiWaGF/www.themusicaljuice.com

Google:

http://developers.google.com/speed/pagespeed/insights/?url=www.themusicaljuice.com

Thanks 😉

simchris
tagDiv Member

@adgower
I think the query is for using web-safe fonts which don’t load remotely off Google’s CDN.

Some of us wish to use only web-safe fonts for faster page load, and not having to load “fancy fonts” from Google which can be tricky to optimize for PageSpeed Insights.

This is typically the reason for wanting Arial/Verdana, and/or Georgia, Seghoe UI, Trebuchet, etc.

I’m waiting for 3.01 to install, personally, so don’t have any specific advice on how to customize the fonts to web-safe, although that was on Radu’s confirmed ‘to do’ list.

creactivate
tagDiv Member

I’ve actually optimized every single in the theme. Even backend 😛

It’s only because the theme is so great I’m pushing for KBs. I know my site is more than good enough to run as is. But no one likes red flashes on validators 😉

This topic kinda got merged into my other one as both “problems” seems to be rev slider related.

https://forum.tagdiv.com/topic/eliminate-render-blocking-javascript-and-css-in-above-the-fold-content-2/

simchris
tagDiv Member

Best tip on slider, is optimize the heck out of the images used.

Also be aware that the mobile ratings have all gone down as they are even penalizing for the “tap area” for things like breadcrumbs now … our business site just dropped many points due to the breadcrumbs being “too small” on an information page. Sheesh. This is what I’m working on now. The mobile stuff I think Google is going a little overboard on, and also “assuming” everybody is going to only view a website in vertical mode vs landscape and not rating it both ways. They also assume everybody has the smallest phone from 3 years ago, vs the larger phones everybody is getting now, or the higher resolution of retina, etc. If you’re suddenly “under 80” again — on mobile — it’s not just you. My shtml/ssi based site which was fine, is now not due to this kind of shenanigans.
(sorry, rant over …)

simchris
tagDiv Member

The demo is likely using the elements that Radu recommends from the thread:
https://forum.tagdiv.com/how-to-make-the-site-faster/

So, make sure you’ve done all that. And adding the elements to your htaccess is good practice for ALL wordpress sites (all websites in general really), and the theme can’t fix issue with web hosting, caching, headers for expiration, et al.

Note also in his demo he’s not using adsense (Google Ads), recaptcha for comments, some social media hogs, or plugins that abusively insert additional not-needed CSS files in the header. SO, generally for your own speed optimization, presume to turn anything OFF which inserts bad behavior stuff (like, ironically Google’s own ad stuff much of the time).

But the page Radu has (linked above) tells you the basics of what he did to optimize the theme.

creactivate
Participant
#0

I’m using SmushIt but it seems it doesnt do anything for thumbnails. Anyone know a plugin that will optimize thumbnails?

simchris
tagDiv Member

Make sure you’re not in “compatibility mode” in IE10/11 for your website. That mucks with all sorts of things, I found. May not be the issue, but it broke all sorts of things for me. And, if your host uses mod_pagespeed or if you’re using caching be sure to “disallow” your wp-admin and themes folder from being “optimized” or “modified” as that can also break stuff. Mine still works, so usually good idea to backtrack on any new plugin installed which inserts any hooks into the page posts/admin (like a form manager, etc.). Some plugins don’t create unique IDs for their “hooks” and then this breaks other plugins.

simchris
tagDiv Member

Looks like you had some change to your permalinks and haven’t done the redirects when you changed the permalink structure.

The theme doesn’t create duplicates or revisions. You might check your database and make sure you delete all revisions. You can also ensure you don’t have some kind of plugin running which connects to your social media when you do a “preview” when posting (meaning the plugin “runs” when the page loads, even if in preview — I had one of those once upon a time which was a pain as it would ping the social media stuff even for a “preview” …)

None of that may apply to you — but from my experience with theme there isn’t anything in the core code which creates additional versions of content– it’s just a theme, and doesn’t create POSTS or revisions.

If you have a module or plugin which puts some kind of tracking ID on the end, that might cause the issue too, where some kind of redirect was supposed to work, but doesn’t.

Not sure if that helps or not.

While debugging you may want to simply turn off all the plugins and temporarily revert to the twenty-twelve theme and then WATCH what your site is doing. Then turn on plugins one by one and see if something weird is happening — may be a rouge/hacked/bad plugin. This isn’t really a forum for general WP debug, but more theme specific help.

Using a plugin like WP-Optimize may help to “clean up” all the junk in your dbase, if you’re not already doing that, too.

Sorry no better answer.

  • This reply was modified 12 years by simchris.
Viewing 25 results - 4,351 through 4,375 (of 4,409 total)