- NewspaperHow to Make the Site Faster
- NewsmagUsing the theme translations together with WPML
- NewspapertagDiv AMP Plugin Tutorial
- NewspaperNewspaper Theme Support
- NewsmagRequirements for Newsmag
- NewsmagSmart sidebar
- NewsmagTheme thumbs
- TutorialsWhat is Ajax preloading?
- NewspaperCustom ad spots
- NewspaperRequirements for Newspaper
Default compression for images is managed by wordpress unless you’re using a plugin of some kind; not the theme; the default “quality factor” is 90 but can be increased to 95 or 100 (no compression) by adding line in functions.php to set that. But not recommended. We typically change our compression level to 60, for faster page speed.
Be aware that jpeg images with a lot of “reds” don’t compress well ever, sadly to do how lossy jpeg/mpeg compression works.
Also, if you upload an image with very low quality the quality only gets worse.
For charts such as you’re using on your sample page, it’s best to use PNG files vs jpeg and embed those directly into the page so they are not resized/resampled to new sizes except for thumbnails. Try saving it as PNG file and place in the post, and you’ll see a HUGE improvement.
Nothing with reds/orange/dark pink compress well with jpeg — it’s nothing to do with the theme đ
Hi,
You can use MySQL Query cache (if you are on a dedicated server). This will speed up all pagination and JavaScript database requests making the Mega Menu and modules with pagination to work faster.
Thanks
@christophersimmons:
what you understand by “graphics loading from the network portal vs localized”? As far as I know where isn’t any CDN in Germany thus we decided to server pictures from nginx ram with having in mind that this should be faster or at least comparable to cloudfront.
Fonts and Google Analytics are loaded from Google, I think this is a preset from the theme.
jQuery and Co are loaded from public CDN. I think this is faster than serving them myself since they already should be precached.
In addition to this the only thing loaded from external servers are ads and content tests. The content tests are programmed by myself and run completely async after the on page load event. For the ads we are working on a hack to load them async, however this isn’t stable yet. The only left over part is the iam.js script. which is running sync. This is the only party I’m not allowed to change, since it is used to track the germany publisher ranking. Really sucks that they only supply a synchronous script, but it should be reasonable.
I’m not that experienced in page speed optimizations yet, thus it would be interesting for me to know which part exactly makes the page load so horribly slow? And how can I figure this out? I think up to 40 sek on mobile devices is just not acceptable for clients.
How can I activate the mod_pagespeed setting to insert image dimensions and what is it doing?
And by the way thx for your awesome expertise!
Hi,
I understand, you can chose which way you want if you want that the site to be faster you can try to modify the code as you like but we can’t help you on that.
If you are interested to increase the speed of your site you might want to check (if you haven’t done this already) this page-speed guide https://forum.tagdiv.com/pagespeed-guide/ or this topic https://forum.tagdiv.com/topic/pagespeed/
Hope this helps!
Thanks
Hi,
You can also use MySQL Query cache (if you’re on a dedicated server). This will speed up all pagination and JavaScript database requests making the Mega Menu and modules with pagination to work faster.
Hope this helps!
Thanks for the message!
Give ur site a hour are so to let clouldflare do they job,you should get a welcome email from them letting you know ur sit is on cloudflare etc..
Congratulations! You have successfully added the website jahliveradio.com to CloudFlare. CloudFlare is a service that makes your website faster, safer, and smarter. To get the most out of our service, we recommend the following resources:
blah blah
Hi,
The theme is great — that’s what I have said for the last 5 months. The theme is beautiful and no other theme can beat it. However, there are some big problems in it. For example, if a website runs on a shared server, it takes at least 1 minute for a 1200x780px image to upload. I believe this is because the fact the theme generates many sizes of the image.
Is there any way, tagDiv team can reduce the number of images that are generated from a single image? It would make the process of uploading a image much faster and easier.
Please help, its really urgent for me.
Cheers!
Hi,
Your screenshot doesn’t work.
WE have some topics that give you tips how to increase your page score: please read them and also analyse your site and try to solve the issue related.
https://forum.tagdiv.com/how-to-make-the-site-faster/
https://forum.tagdiv.com/topic/pagespeed/
Hope this help!
Thanks for the message!
-
This reply was modified 12 years by
Lucian.
several of your errors should be set on on the server/hosting side of things and not via WordPress / plugins
1) gzip/deflate must be set to “on” for your server; contact your hosting provider
2) browser caching is controlled via expiration headers for content; with Apache it’s easy with htaccess file (see the pagespeed sticky topic for my settings)
3) vary/accept encoding header, set at server
Note that is why these items are marked “server” when doing test check on speed. These items are good for about 20 points alone and should be done first before doing anything else as these are necessary for ANY website, especially WP, to run faster (or really, to run properly).
i read another support ticket that said the solution was to use W3 Total Cache. which we used to use. but because of the site being very sluggish and crashing at times, with W3 showing no noticeable increase in speed at all, we decided to use wordfence plug in. which might i add is very good for detecting the main problem for site slow speed. which is not the theme itself, but DDOS attacks.
we were able to block china where attacks were coming from and speed picked up 100x faster than before. then i decided to use their cache engine, which even made it faster.
however now based on your response to the responsive menu issues, we have removed the caching by wordfence and activated W3 Total Cache. but still there is a problem if the responsive menu showing. please see http://www.naija.fm
also sliding menu not working. just provides link – http://www.naija.fm/#
really need the help please. we are losing tons of traffic due to users only limited to few pages.
Robert
Hey Everybody
@Steven thx for sharing your expertise. Gonna try out soon!
EWWW is already in use đ like it! Does anyone know a hack that ewww is leaving some files out? I do have a transparent watermark which it is killing every time running over the images đ pretty annoying.
Does anyone know an alternative to cloudflare? Their infrastructure isn’t the best in germany. I’m pretty sure my local hosting is faster. Anyone knows a good solution to do the following things on the own server instead of using cloudflare?
3.Inline small CSS >>> Use cloudflare and they will fix that for you and a lot more.https://www.cloudflare.com
4.Minify JavaScript and CSS >>> Use cloudflare and they will fix that for you and a lot more.https://www.cloudflare.com
5.Use cookie-free domains >>> Use cloudflare and they will fix that for you and a lot more.https://www.cloudflare.com
thx for your help guys! I really appreciate it.
-
This reply was modified 12 years by
Manuel Fink.
Hi..
I went through this with my own optimizations of the theme over the past 8 months or so. In our case we add a number of things to the functions.php file, take couple of things out, and for a couple of things we went ahead and edited the style.css file directly, and then minified it when uploaded. I think we also have to edit the main post file each time to make author visible on post (*SIGH*), and also change the prefix for hit counter since we’ve been using a custom field for many many years.
It did make site faster, just be sure to keep a cheat sheet of what you’re changing, and keep separate set of files as back up obviously. Minification helped the most, and if you’re only doing two or three over-rides for CSS in theme panel, it won’t impact anything; meaning you could just minify the style.css, put your couple of CSS overrides in the theme panel and call it a day. If you have 20 changes… yes, likely worth adding to the main style.css.
Downside is I tend to skip every couple of updates since I’m not doing anything with jetpack, buddypress, bbpress, WMPL, logins, social counter, woocommerce, where there have been some updates to help those type of users.
1) remove all external loading elements like social media, advertising, recaptcha, and anything which loads css or js as part of its content; anything not part of the theme
2) use the minification tools I’ve suggested in the pagespeed sticky topic – such as online minification tools, or use the GTMetrix optimized versions provided during the site scan
Basically you need to take the CSS and JS files which PageSpeed is saying need to be minified, and then copy those from your theme directory, minify them, then save the minified version over the original.
One tool to minify the CSS is here:
http://cssminifier.com/
or
http://gpbmike.github.io/refresh-sf/
After you have your minified versions, say of style.css you would need to FTP the minified version(s) to your web site into the wp-content/themes/newspaper folder in the appropriate place.
NOTE: you need to clear all caching, turn OFF caching, and then upload the optimized versions, so that the new versions get cached not the old ones.
3) see 2
If you have a page speed of “82”
then be sure to
1) have faster web hosting account
2) ensure that gzip/deflate are working on your server (mandatory!)
3) enable expires headers (mandatory!)
4) optimize your images
All of this is well covered in the PageSpeed sticky topic in the forum. Optimization of your server, content, and htaccess or nginx config files are not part of the theme.
There is no way for you to optimize external content such as AdSense, AddThis, Recaptcha, Disqus, etc. which are not being served on your actual site.
For max speed you will need to use web safe fonts (not Google fonts), and then comment out the fonts in your functions.php file.
-
This reply was modified 12 years by
simchris.
@fabriciosahdo – please consider moving to a more powerful server and also read this thread to optimize your hosting account / configurations. We sell the exact code that is on our demo (100% the same) the difference is that our server is configured well.
It is very hard to get 90+ on pagespeed and the server configuration, all the plugins and ads influence the score. I personally invested over three weeks to optimize all the aspects of the theme to run as smooth as possible. On top of that Marius spent a lot of time optimizing all the resources.
The server response time at your end is not good: http://screencast.com/t/F32WTB4M5HoC this means that the server is not powerfull enought to deliver a page on time. It may be that you are not using a caching plugin (like the one we recommend – w3 total cache) it may also be from the fact that php is running with no opcache.
please contact me via email contact@tagdiv.com (add FOR RADU in the subject and a link to this thread in the email) I can send you the full amount paid for the theme back. I can also help you out to make it faster if you are on a vps or dedicated server. If you are on a shared host there is nothing I can do to optimize the server. I would also recommend that you test your server with another similar theme.
-
This reply was modified 12 years by
Radu.
Hi,
We have released some small fixes faster and we published some theme versions. If you don’t have all patches you need to upload the whole theme to make sure that you have all files up to date.
Thanks for the message!
you need to optimize your site for optimized images, caching, use the tagdiv speed booster plugin, expires headers, etc. The theme cannot fix your content or your website or hosting, these are things you need to do.
See the documentation, and also read through this entire thread to get a better understanding on how you can improve your site performance.
Hi,
We have this on our todo list, if you want it faster we have a solution here:
https://forum.tagdiv.com/topic/author-box-layout/
https://forum.tagdiv.com/topic/authors-box-doesnt-show-bio/
Hope this help!
Thanks for the message!
How does one remove the calls to Font Awesome?
URL: http://example.com/wp-content/themes/Newspaper/includes/wp_booster/external/bootstrap/td-bootstrap.css
http://netdna.bootstrapcdn.com/font-awesome/4.0.3/fonts/fontawesome-webfont.woff?v=4.0.3
It looks like all this does it allow one to use icons? Right? I just want to make my page faster, and these calls are usually 239 & 775ms.
Thanks!
Fudoki
Hi,
Firstly make a test speed using this and see what issue do you have.
https://developers.google.com/speed/pagespeed/insights/ or
http://gtmetrix.com/
Then please read this:
https://forum.tagdiv.com/how-to-make-the-site-faster/
https://forum.tagdiv.com/topic/theme-speed/#post-900
https://forum.tagdiv.com/topic/pagespeed/
Thanks!
Hi,
We will take a look about this for the future updates. Thanks for the suggestion.
If you need faster and you don’t have programming knowledge you can hide a freelancer to do this job done for you.
Thanks for the message!
Hi,
unfortunately the theme doesn’t support that feature and it has to be custom coded. Sorry about this.
Radu O.
Hi
I use in my homepage infinite scroll. I would like to ask you if it possible to make it load earlier and faster than how it is set up. For example to start loading more posts when the visitor is 200pixels higher on page than now.
I hope that u understand what.i mean
Thanks
Hello all,
We are providing full support for the theme and we are trying to provide the latest version of the pagebuilder plugin.
We just switched to the a newer version of visual composer (when wp 3.9 came out) and from now on we can provide a newer version of the plugin easily. Before it was not possible because we used a custom built visual composer.
I will set up a system here so we can push the latest version of visual composer faster… sorry for the delay but it’s something new to us and I forgot to monitor that plugin đ .
Radu O.
Hi Radu,
What do you mean ? I’ve updated to the 3.7 but it doesn’t work with cache enabled only when cache is deseabled. But i need cache plugin to make my website faster.
You mean i have to update to 3.8 ?
Yes I reinstalled Simple Lightbox. I also added other settings to increase speed via the htaccess and ensured compression was on at server level. I agree the lightbox I am using could be faster and I may go back and try dfactory again.
There is also issues with JavaScript which I think are related to DiggDigg social media like buttons along the side and I am looking for a replacement for this.
Thanks