- NewspaperHow to use the Flex Blocks cache option
- NewspaperCache plugin – install and configure
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperFlex Block Settings Guide
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperAutoptimize Plugin – install and configuration
- NewspaperHow to update a plugin
- NewspaperCloudflare (CDN)
- NewspaperFacebook Share
- NewsmagRequirements for Newsmag
- NewsmagHow to update the theme
- NewsmagtagDiv Social Counter tutorial
- NewsmagTop bar templates
- NewsmagAjax view count
- TutorialsWhat is Ajax preloading?
- NewspaperVideo Playlist
- Newspaper7 Days Post Sorting
- NewspaperAjax View Count
- NewspaperTop bar templates
Hi,
This could happen if you use speed booster plugin and lots of plugins or your server response time is high. The speed booster plugin moves js/css resource files to the footer so js scripts or css stylesheets will load later therefore creating this unstyled gallery while the style file is loading.
Please try this without any other plugins.
– leave just the VC and the speed booster plugin active
– make sure you empty all caches
– purge files if you use CDN host
If you still have this issues, let us know and also provide your site’s url so we can inspect it.
Thanks
Hi,
I tested this on my side and seems to work with this settings: http://screencast.com/t/2x1Xmr2AksL
Please try this also without any plugins active, leave only Visual Composer an Redirect plugin active, empty cache and check if it works. You can also ask this on their support page.
Thanks!
I realise I cannot cache external resources.
What I mean is that before I put the settings in nginx/varnish etc. I have about 30 internal resources (.js, .css etc), however, now, I seem to just be left with these few resources, and for some reason they aren’t displaying browser cache expiry headers.
I have signed up with cloudflare, currently awaiting DNS resolution cache all my static assets.
Still does not explain why only some of the resources are getting cache expiry headers.
Hi,
Cache could cause many issues, we recommend using just page cache and to avoid issues id recommend to empty cache after each change you do. I’m not noticing it: http://screencast.com/t/ecmw7JGtm
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 didn’t had actually any issues in the browser.
Yours also looks good in the browser: http://screencast.com/t/rgfSisDh
Thanks for the message!
Hi,
For external resources you cannot set the browser leverage, ex. google js/css. Do you use a CDN? if you do you have to configure the leverage cache from cdn settings panel (if available).
Thank you, Emil G.
Hi,
Please provide more details about this, like when dose it occur or any details that can help us recreate it and also let us know what theme version you use.
I also recommend you test this without using any plugins, leave just the Visual Composer active, empty all caches and try again.
Let us know how it goes and also provide your site’s url. If you want to do this in private then you can use our email address to send your site’s url: contact@tagdiv.com Please also include a link to this conversation or your issue’s details. We’ll get back to you as soon as possible.
Thanks
Hi,
Please also test this using a default WordPress theme also remember to empty caches if you use cache plugins. I also recommend you to check this with all plugin disable to exclude the chance this happens due to a plugin. Leave just the theme’s Visual Composer active then enable the rest of the plugins one by one to see which one is causing your issue.
If this still happens after all this then let us know and provide wp-access via email at contact@tagdiv.com (include a link to this conversation). We’ll have a look as soon as possible.
Thanks
I find the files to make changes but the cntent is not the same.
Are we making all these change inside the plugin?
wp-content/plugins/td-social-counter
td-social-counter.php has only this
<?php
/*
Plugin Name: tagDiv Social Counter
Plugin URI: http://tagdiv.com
Description: Social counter for wordpress. Widget and visual composer block.
Author: tagDiv
Version: 2.7
Author URI: http://tagdiv.com
*/
// load the api
require_once 'td_social_api.php';
//$td_social_api = new td_social_api();
//print_r($td_social_api->get_google_plus('106192958286631454676'));
//print_r($td_social_api->get_twitter('tagDiv'));
//print_r($td_social_api->get_vimeo('brad'));
//print_r($td_social_api->td_cache);
//$td_social_api->set_cache('test1', 'user_id', 'data');
//echo $td_social_api->get_cache('test1', 'user_id');
//$td_social_api->set_cache('ra2', 'raid', 'data');
//print_r($td_social_api->get_facebook('tagdiv'));
//print_r($td_social_api->get_youtube('rathegod'));
//$td_social_api->save_transient();
function td_social_counter_init() {
/**
* read the theme constants
*/
$td_theme_name = '';
if (defined('TD_THEME_NAME')) {
$td_theme_name = TD_THEME_NAME;
}
/**
* if we run Newspaper, we need to load this another way.
*/
if ($td_theme_name == 'Newsmag') {
// on 010 load the new version
include 'shortcode/td_social_counter_010.php';
}
elseif ($td_theme_name == 'Newspaper') {
// on newspaper load the legacy version
include 'shortcode/td_social_counter_009.php';
}
}
add_action('td_wp_booster_loaded', 'td_social_counter_init');
For exapmple i want to use youtube.com/c/channelname instead of youtube.com/user/
because automaticly directed to yout
Hey i was setting everything and after installing the speed booster plugin i am getting with this http://snag.gy/FLNjH.jpg and whenever i am deleting the cache of the website for 2 – 3 minutes everything goes alring but after that i ends up with same issue.
Regards
Hi,
Could be due to your plugins then. I suggest you test without using any and empty caches.
Thanks
-
This reply was modified 11 years by
Lucian.
Guys, could do with a bit of help.
My Newsmag 1.6 site (I did not upgrade to 1.7 due to the reported increase in load times) runs on a LEMP installation with Nginx + PHP-FPM + APC + Varnish running nicely.
On top of this I use WP-Rocket to cache, minify, concatenate, and lazy load.
In so far that I can tell, everything works more or less.
I want to take it to the next level.
I have already used PUTTY and optimized nginx.conf, nginx’s pool.d, varnish’s default.vcl, php.ini, php-fpm etc.
I have already put in the strings to leverage browser caching both in .htaccess, nginx, varnish etc.
Strangely, some files are still not displaying cache expiry dates.



Any ideas on why certain .css and .js files aren’t caching?
Thanks for all the help.
(I will give the tagdiv dev’s my URL if they wish for it)
Hi,
I’ve also tried your code it worked somehow, not sure how it supposed to work but it added this on the post: http://screencast.com/t/9dd0tgw58C
Makes sure you also add the code in the text area in backend, like this: http://screencast.com/t/pFJEzlRLQJb
If still doesn’t work try without plugins and also test using a WordPress default theme, and empty caches.
The embed feature is not controlled by the theme in anyway and that function comes from WordPress. I did some research on this and found this list of supported embedded players but seems that the eplayer is not on that list: https://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F
I suggest you also try a plugin and you could try this one: https://wordpress.org/plugins/sportspress-tv/
Thanks
Hi,
@sazanlushi You can try also to deactivate all plugins, leave just Visual Composer plugin active, clear cache and check if you still have this issue.
If you need a previous theme version please send an email at contact@tagdiv.com with your request.
Thanks!
If you disabled all plugins then the header problem would have gone away. The only other explanation, besides a plugin conflicting somewhere, is if you have custom code that is conflicting somehow.
I see you also use WP Fastest Cache. Turn off JavaScript minification and combination in the settings. That *can* cause this issue. NewsMag theme documentation says not to minify the .js because it breaks the code. You can leave on all of the other settings for WPFC, including the css minification and combination features.
Be sure to completely clear the cache, including the CSS and JS (the bottom option on the admin bar WPFC menu) after you change the settings.
Let me know.
Just as an FYI,
the 1.7 version of theme was causing CPU spikes to go from our normal load of “0.9” to “1.1” up to “270.0” … (!) … considering our old server prior to Jan 2014 would have completely crashed at “60” — that’s pretty amazing in and of itself. But, server was pushing out “high load” warning emails hourly, and php status going from green to red every hour for a full day since switching on 1.7.
Going back to 1.6 immediately resolved that issue.
Normally I was skeptical of the whole “theme is crashing my server” issue, but this did in fact happen with us, and my server is about as hot-rodded and streamlined as currently possible with Linux/Apache/CentOS/Plesk-Parallels + mod_pagespeed and mod_SPDY, opcache and php optimizers; 8+ cores of XEON CPU and 32GB RAM (enterprise class server).
Still blown away server didn’t crash with “270” spikes, and email still worked, and other sites worked …. but normal server response overall also went from 0.3 seconds to 1.6 seconds and longer.
Obviously, you know there is an issue; but this is just anecdotal info for anybody else running into a WTF? moment.
Peace out 🙂
-
This reply was modified 11 years by
simchris.
I know how to use cloudflare, the problem is that it can’t be used with your theme while lazyload is active. Besides that, it breaks most functionality with ajax load more, search box, etc. That’s what I’d like to know how to get working.
Separatly, I’d like to know how I can add a subtle line between articles on the front page. I have a dashed one for mobile, but i’d like a fine grey one for desktop so articles don’t look like they’re muddled toghether.
On the mobile front page I’d like to know how I can make imagex smaller and show them on the right side of every article entry, something similar to how wp touch does it. It’s really cumbersome to scroll through large images on mobile, a lot of users complained about this. Because I use cache with cloudflare, I can’t use mobile plugins as the pages aren’t loaded correcly.
Thank you!
After the update my pagespeed did even get faster. I am using w3 total cache and cloudflare. I disabled the lazy load functionality because I could not see the images on my Windows 8 phone. My server configuration is Linux, CENTOS 6.6 x86_64, Apache 2.2.29, PHP 5.4.36, MYSQL 5.5.42-cll, Perl 5.10.1
Maybe this helps the developers to eliminate some issues. Kind regards.
Hi,
Please make sure that you use the latest theme version(4.6.2), deactivate all plugins, leave only Visual Composer active, empty cache and purge your files if you use CDN and check if you still have this issue.
Also please provide your site URL.
Thanks!
Hi,
Thanks Chris!
@Sundial Please provide a link if you still have this issue. Normally you shouldn’t have it if you clear cache like Christopher suggested.
Thanks!
@neotrope Thanks, Chris. As requested, here are the results with lazy loading off.
Zen Cache – Did not Re-Test
Gator Cache – Did not Re-Test
Page Speed Scores With Lazy Load Off – Speed Booster On
WP Super Cache – 56 Desktop, 43 Mobile
WP Fastest Cache – 62 Desktop, 41 Mobile
W3 Total Cache – 68 Desktop, 47 Mobile
No Cache – 62 Desktop
Page Speed Scores With Lazy Load Off – Speed Booster Off
WP Super Cache – 57 Desktop, 43 Mobile
WP Fastest Cache – 57 Desktop, 49 Mobile
W3 Total Cache – 71 Desktop, 51 Mobile
No Cache – 38 Desktop
Apparently, the Speed Booster plugin hurts mobile browsing across the board. The mobile scores with no caching was mid to upper 20s without and without Speed Booster. Speed Booster also seemed to hurt performance for all but WP Fastest Cache.
The lazy load feature actually had a positive effect on page speed when it was turned on.
However, the lazy load feature *looks* slower because of the delayed loading of above the fold content. Lazy loading content below the fold I understand, but above the fold content should always load first. Lazy loading seems to put structure ahead of content and that’s a bad thing no matter how fast things are loading.
Overall, 1.7 loads much slower than 1.5. As I said, my page speed scores for this exact site were all 85+ for desktop and 65+ for mobile with NewsMag 1.5, but 20-30 points lower for NewsMag 1.7. Tells me development is going backwards. No feature is good enough to justify slower loading times, unless you’re running a perfect 100/100 already. The scores I’m talking about include several AdSense ads per page in all situations.
There are two ways of looking at page speed; the most accurate is a page speed test where things are ranked evenly, even though I’m getting charged for Google Fonts that don’t appear anywhere in my theme (I switched it all to system fonts). But the most frustrating is the eye test; how fast the pages appear to load while you’re browsing. I was surprised during these tests to find that WP Super Cache (the good ole basic caching plugin by Automattic) made the content on the pages load quicker. The overall page load may have been slower or negligible, but when I opened any page, the first thing that appeared was the content, followed by the header, sidebar and background, and finally the ads.
I should also note that I was using the built in pre-load feature for the tests on WP Super Cache with lazy load and speed booster on, but I wasn’t using the pre-load feature for the tests included in this post.
Okay, all on the same site listed above, I’ve tried these plugins with 1.7:
Zen Cache – 62 Desktop PageSpeed Score
WP Super Cache – 62 Desktop PageSpeed Score
Gator Cache – 62 Desktop PageSpeed Score
WP Fastest Cache – 62 Desktop PageSpeed Score
W3 Total Cache – 68 Desktop PageSpeed Score
No Cache – 62 Desktop PageSpeed Score
On all tests I had the speed booster plugin enabled. I also ran tests before and after browsing the site to populate the cache.
I find it interesting that the only plugin that gained even a single point on the page speed test was W3TC. I hate this plugin. It’s constantly taking me to the plugin dashboard when I want settings, has annoying popups on the admin, and slows down the back end of any site it’s installed on.
Why are none of the other plugins reporting any difference at all? All of the caching plugins besides W3TC had the same effect as having no caching plugin installed.
I like the lazy loading on the new update, but if I have to entirely sacrifice my choice of compatible caching plugins to have it, I’d rather not. Can I turn the lazy load off to test these again?
Something is wrong if the only caching plugin that has any effect is W3TC. Before the 1.7 update, all of the tested plugins listed above worked to varying degrees with NewsMag. Some were better than others and every single one got my page speed score of the site as it is now over 80. None of them even hit 70 with 1.7.
Sorry to keep going on and on about this but it’s a MAJOR issue. You’ve already got customers ditching the theme above over it. What can be done about this?
Thanks.
As I’ve mentioned in a previous post, WP Fastest Cache is the highest performing caching plugin for tagDiv themes. I have yet to test the other caching plugins on 1.7, but this new update is no longer compatible with WP Fastest Cache. I only mention that because this plugin works on many themes, meaning it is compliant with WordPress standards and NewsMag now affects the WordPress core somehow.
1.7 dropped my pagespeed score from 89-93 to 62 and below. There were no other changes to the site. I updated the theme plugins by deleting the old plugins and installing the new plugins. As for the theme, I replaced changed files from the patch folder.
I’ll update here when I’ve tested other caching plugins with 1.7.
I’m getting the same kind of issue after updating to 1.7.
From what I can see, the new version of the theme doesn’t support caching. I don’t the POS overbloated W3TC to cache my site, but what I use worked perfectly before the update. Some features of a caching plugin *might* need some compatibility fixes for each theme, but the theme is disregarding header expiration settings even, so I doubt it’s the plugin. WP Fastest Cache is what I’ve used with NewsMag and Newspaper with no issues.
All images are having to load fresh on every page load, whether it’s a VC template page or a standard single post.
My site background is also only loading once out of every 3-4 page loads. Not sure if that’s related to the slowdown or not, but there it is.
Site in question is http://bluestartimes.com.
-
This reply was modified 11 years by
Bryson T.
Clear all your caches.
Thanks to Emil my problem is solved. In case you are using Cloudflare try purging the cache by logging on your Cloudflare account and going to cloudflare settings. Clear your browser cache as well and try again. Apparently, clearing the w3 and browser caches is not enough if you are using Cloudflare. I hope this helps.