- NewsmagRequirements for Newsmag
thank you very much for your answer, I just enabled “Page Cache” and the truth is that I have good results results.
GTmetrix: http://prntscr.com/39fk62
Pingdom: http://prntscr.com/39flf9
PageSpeed Insights: http://prntscr.com/39flqp
What do you think?
gzip/deflate is managed at the web server level – it needs to be running for your hosting account. This allows the web server to automatically compress everything sent by the web server from your site to the web browser. This alone is good for 20+ points. This is the #1 thing which should be addressed. Ideally your web host should have this on for your account. If they won’t enable it, move to another host who will!
If you look at my posts there is an example of the .htaccess settings that I used for
the “expiration headers”
For images:
1) you need to use a compression plugin, like smush.it or similar (see comments from others in the thread); this will optimize all the thumbs created by WP and the theme
2) upload well compressed images (e.g., 25-40kb max, not 150kb or 700kb — unless you’re doing some kind of photo/portfolio site where quality is first concern)
3) consider changing the compression level by default in WP, which is done in the functions.php file at bottom using the code I’ve suggested in my posts — setting it to something like “60” vs the default “90” (I think), will cut the size of the thumbs by a huge amount.
For my particular brand of magic, try putting this at the end of your .htaccess file:
AddType text/javascript .js
# 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"
</IfModule>
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
NOTE: if you use pingback or post by email, don’t put in that last 3 lines, as I do this to keep spammers from posting comments via pingback even when comments are off (!).
The above assumes your web host is running Apache, and not IIS, or nginx or other. If so, you might have to tweak those for your particular host. Apache is the most common, however.
Also: make backup, via FTP, or your hosting panel fileManager of your .htaccess file first; then if your site doesn’t load with the new elements, put back your original version.
Hope that helped.
-
This reply was modified 12 years by
simchris.
i try to read all of these posts.
-Firstly, i set w3 cache and i activate only page cache, and result;
http://yadi.sk/d/vnE9hP73MJ5N4 What do i do wrong ?
-Second problem is that i didnt understand what i need to add .htaccess
-Also, although i installed “GZIP Output”, gzip is 57 point in page speed, 0 points in Yslow in gtmetrix. plz help me
-
This reply was modified 12 years by
orcn.
Hallo TeeTasse, gehe HIER und gib deine Seiten URL.That is.
Gruß Ljubi.
Hi, Radu
no worries on name/company, etc.
I am pretty easy to find online. I added a note on my profile, that I’m not the tech support to call (I’m not the droid you’re looking for!) 🙂
Anything you can do for the resizing would be awesome.
The issue we have is essentially something like this:
1) we have mothership >>> pushes out news to our state/local site hubs
2) the local site pulls in both local versions, and national versions (news not from that state); so state news from the mothership goes into the main site content, featured on home page; national news is secondary, not featured
3) since the image for local news items are uploaded by FTP, not media manager, we use a theme running timthumb to auto generate the thumbs around site and featured homepage; for national news, timthumb grabs the national news item photos hosted on the mothership (external images) and builds the local thumbs for national category index and side of page (sidebar) stuff
4) so, when moving to something like newspaper, which needs a “featured image” – we can use Auto Post Thumbnail PRO to at least get the “first image in post” (whether from local FTP or external hosted mothership for national items) to the featured image spot/field.
5) so… now how do we get larger image for the featured categories and homepage when the root images are 500×375 and need minor increase? Normally timthumb — not possible with modern themes. Hence the issue. We’re not the only one with this kind of thing. And so my “will pay you big bucks” to solve for us, as we need to move to a modern theme away from Woo Canvas which replaced our old in-house theme. Canvas works, but has none of the micro-data, tricky stuff, modern menus, blah blah.
It seems we can solve the set first image in post with the commercial Auto Post Thumbnail Pro, but then the hangup is getting larger versions of those images for the featured boxes/layouts. We can’t start with GIANT images, for various reasons related to syndication, systems loading the images dynamically on their own sites, as well as images clients have, and/or “best fit” for layouts on news portals.
And we don’t want to do “width=100%” kinds of things, as we’d get tons of “you should be using actual size images…” warnings for pagespeed insights.
Anyway………. epic poem at an end.
Anything you can come up with will be most welcome. This is the last “need it!” issue which WP should have as option but they are opposed to for their own philosophical reasons and because the code is also used for wordpress.com (sigh).
Heck, if you solved it, you could probably offer a commercial plugin for it. Or offer an “Newspaper Enterprise” edition for $100 that included the feature. Those of us who need it, would pay, since we’re not part of the “free economy” whining about not getting 40 hours of free training with their $50 theme 😉
I think with the tagDiv speed booster, gzip/deflate on your server (which *should* be running properly if talking about speed), and mod_pagespeed, that might be one thing too many, in my humble opinion.
I don’t know anybody using it. Most “pro” developers simply mod their SASS/LESS code for what they need and the super cool geeks use COMPASS.
With WordPress you have a number of inter-dependent things, so likely more of a “does it work well with WordPress” before “does it work with the theme.”
There is some discussion in the WP core about the subject of autoprefir and prefix-free
https://core.trac.wordpress.org/ticket/27078
However it may be that what you think it will do for you, isn’t what it actually does. It does “reduce the size” of CSS3 code, but was built in 2011 when it was a slower world, prior to HTML5, mod_pagespeed, and many of the efforts to write simpler code — again, take a look at SASS/LESS formats, along with minification.
While it was a good tool for a super high traffic site, to basically build in “shortcoding” of the elements, in the real world with average blog it won’t REALLY do that much for you — I doubt you would increase a pagespeed score by even a point.
If you’ve already minified all your CSS/JS, have caching, expires heading, using CDN for common elements, smushing and compression all your images, using cache for pages, and not injecting a ton of external content in your pages … and you still need to get one point someplace, it might be worth trying. But, why? Not really going to do much, if you’ve already done everything else. My 3 cents, anyway (2 cents adjusted for inflation). 😉
Has anyone experimented with this? Any opinions on its effect on pagespeed or compatibility with the theme? Seems really cool for those of us who prefer clean stylesheets!!!
UPDATE ON MOD_PAGESPEED with NEWSPAPER THEME and TAGDIV SPEED BOOSTER.
Okay, seems to work fine with Newspaper 3.6 – some oddity with 3.5.
So far, only real weirdness in 3.6, is on the iPad Air/Retina iOS 7.1 in vertical mode, the < > arrows for previous and next article below post disappear. Can’t figure that one out yet. Might need to replace those with » if I can’t sort it.
Hi there,
I have a problem with my web page speed. I have wallpapers website it contains thousands of images but on home page it not contain thousands of images but my webpage speed is seriously low check this
Kindly help me to optimize my website i’m loosing serious traffic. Kindly tell me how to optimize my wallpapers website I will be very thankful to you and also tell me i want to show links ads under home menu so tell me how can I do this??
Regards,
Saad
Hi, #emre
you should read through all of the thread for info on adding elements to your .htaccess file, making sure you optimize images, and set images to be as small as possible, make sure your hosting provider is properly service pages as efficiently as possible, and limit use of plugins and anything that makes external calls … anything like social media buttons with “number of likes” or AdSense ads, or JetPack will all slow down the page.
Hello please help me
After using newspaper theme when i try to use another wordpress theme or my old existing theme my site load blank page. when i use Ctrl+u keys i see page source code perfectly but nothing is displayed in normal mode i mean all page is blank, i can only access to site admin panel. sorry for bad english please help me. Newspepar theme give blank page one mobile device so i would like to use another them.
PS: i use latest version of wordpress
Hey.
Is the retina logo necessary ? or will everything work just fine if i just add a normal logo.
I’ve found out that if i disable that, the pagespeed is 10 point better in google pagespeed.
Hello
why my website can be slow. Please help me
i used plugin
w3 total cache
my website: ddekor.com
gtmetrix Latest Performance: Page Speed Grade: A (91%) YSlow Grade: C (74%)
PageSpeed Insights : mobile: 72/100 desktop: 84/100
What is problem? Thank you
Actually … I think this might be due to a caching issue with mod_pagespeed, but still testing. With mod_pagespeed “on” at all, I have issues with the “suggested” flyout, and the styles for the social sharing with tags box breaks.
Will update as I test this for plugin conflict, or cleaning the mod_pagespeed cache, even though it’s NOT supposed to cache anything in the wp-content/theme folder, like a stylesheet.
For those using mod_pagespeed – this is relevant, for everybody else just ignore these minor updates 🙂
Update for those using mod_pagespeed – either on hosting service using .htaccess or self-hosted and using .htaccess to control on/off stuff.
UPDATE for Newspaper 3.5:
do not use these as they break the slide out recommended posts widget.
ModPagespeedEnableFilters move_css_to_head
ModPagespeedEnableFilters combine_css
These settings also appear to cause the “whiteout page” issue with the tagDiv Speed Booster 2.1 plugin, with 3.5.
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>
However, these minimal settings should *NOT* cause the page to “white out” since whitespace only removes empty spaces, comments are elements best removed anyway, and images and DNS has nothing to do with the Speed Booster AFAIK.
I will have to ping Radu on this issue once they get caught up on the current update cycle to sort out conflict with the speed booster plugin and mod_pagespeed, as obviously they should be able to work together and did so just fine in the 2x theme versions.
More later …
Hi
I’m updating this thread for consistency.
I just upgrade to Newspaper 3.5 and attempting to replicate this, with
Newspaper/includes/modules/td_module_1.php
if I remove the // for author name, it’s NOT printing on the posts although uncommenting on other modules does add the author byline to things like the sidebar modules or the indexes.
<div class="meta-info">
<?php echo $this->get_category(); ?>
<?php echo $this->get_author(); ?>
<?php echo $this->get_date(false); ?>
<?php echo $this->get_commentsAndViews(); ?>
</div>
e.g.,
http://ga-ga.com/1204/beginning-adventure-space-time-reveals-roots-doctor/
I have tried with tagdiv speedbooster on/off; I have mod_pagespeed off to ensure nothing is being cached; not using Jetpack.
This is CLEAN install of Newspaper 3.5; meaning the theme folder was uploaded as fresh folder and prior 2x folder was not over-written, so no mish-mash of old/new theme elements. No child theme being used.
Any idea why that might not be printing on page? Do I need to enable something else to cause the author byline to print on posts?
————————————
To repeat past posts as an opinion here:
“Byline” is one of the most critical things to all newspaper/magazine sites and should always appear below the title of article, or below the featured image; but typically the author and date are shown together in magazines and newspapers, so slightly annoying we still have to manually enable this EVERY update — look at TIME, or NY Times, or LA Times, or CNN, you will see the BYLINE and date top of every article. SO my big REQUEST would be to enable this by default “ON” and then let people comment it OFF which would be the exception vs the rule.
-
This reply was modified 12 years by
simchris.
Good job 🙂
Yes, we’ve had a *LOT* of trouble with Yoast SEO 1.5x due to their adding new features for bulk content changes, connectivity to Google Analytics. We are now looking for a more simple SEO tool, as we used to have an inhouse plugin to simply put all the social media and OG tags, custom field stuff in the head, without some of the other shenanigans now included, and adding more complexity and PROBLEMS. With Yoast SEO properly configured with all the extra crap turned off it does help manage a lot of things, and should not hurt pagespeed in the sense that nothing should be loaded externally or custom CSS, etc.
Jetpack however is a dog for speed even though cloud based. And many would disagree, but NOT using it unless you have to speeds up site tremendously. For bloggers it is awesome to add new features, for high content/traffic sites, not so much (in my opinion).
We’re looking at alternatives for a “simpler” SEO tool again, without the intrusive stuff they have been doing. No way to turn off the stoplight on right side of posts, broken google news features in 1.5, etc. Perhaps time to move on …. I will update as I move forward on this topic. 🙂
Hi Guys,
Just want to share my two cents, I am a non-coder so couldn’t do any technical stuff. When I installed Newspaper, my pagespeed score on GTMetrix was 43. I realized there was some hack in my php files, so cleaned them up bu the speed reached only around 48.
I changed host from Site5 to KnownHost with SSD drive and extra RAM. The reading did reach 75-80 with that.
Following this I installed P3 Plugin Profiler and found out that Jetpack and Yoast SEO (1.5.x.x) was eating 90% of the total plugin resources. I unisntalled Jestpack; it was useful plugin but not indispensable.
I also removed Yoast SEO. The decision was easy as I felt it didn’t improve my SEO. Yes, I said it! I know how big a name Yoast is, but it didn’t work for me. May be I didn’t use it the right way but hell I would rather not use what I don’t know how to use and the cost opportunity was too high as speed was important to me.
And her is the result:
AFAIK the theme only scales images on responsive resize, but I don’t have the latest version running yet. Meaning, the sizes when viewed on desktop at 100% match the thumbnails created. Maybe post a GTMetrix score page or something for folks to peek at?
You should have higher speed rating than 70 if you have proper expire headers, browser caching, W3 Cache cleared fully before launching new theme and then after launching new theme, and images uploaded are optimized to begin with and/or using something like smushit, or modified the functions.php to increase compression level for thumbs.
With my earlier theme, I had Google pagespeed of over 90. Now with Newspaper it is belwo 70, with W3 Cache in place.
The major problem seems to be the CSS/HTML image scaling. AFAIK, each uploaded image has multiple size versions automatically available, so why not use them rather than HTML scaling?
I have this problem too :S
The page content is too wide for the viewport, forcing the user to scroll horizontally. Size the page content to the viewport to provide a better user experience.
The page content is 342 CSS pixels wide, but the viewport is only 320 CSS pixels wide.
hi,
1 – disable all plugins, expressly the facebook one: http://screencast.com/t/ps4ReczDo
2 – take the code from an older version of the theme and replace in your version,
or wait for the nesxt theme update, we added again.
3 – there is a thread on the forum about this: https://forum.tagdiv.com/pagespeed/
Thanks for you message.
Radu A.
Hello,
They bought the theme and I love it but I haven´t been able to solve some problems, are:
1.- Want to place an ad in the header responsive 728×90 and not appear in the singles, only at home and in the pages. (For example www. getmovil. com), in version 3.4 it has become difficult for me to achieve this.
2.- I don´t like the new social buttons, as they have no counter, ¿how to return to the previous?
3.- What is the best way to configure my htaccess for better PageSpeed, as does not exceed 80 in my sites. (I´m using CloudFlare).
Thank you all for your answers!!!
