Search Results for 'minify'

    No search results were found in Documentation!

Results from the Forum
Catalin
tagDiv Staff

Hello alexvaltin,

Please notice that the speed of your website depends on how well your site is optimized. Notice that is not a simple task and if you do not have any experience in this regard you will do not bring good results for the theme. Also, notice that we have a speed optimization tutorial but this is addressed only to advanced users. So, if you follow the steps which are presented in this tutorial here -> https://forum.tagdiv.com/how-to-make-the-site-faster/ you can increase the page speed loading and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because the speed optimization services are not covered by our support policy, as you can read here -> https://forum.tagdiv.com/support-policy-2/ Check our documentation here -> https://forum.tagdiv.com/requirements-for-newspaper/ regarding on dedicated server to fit to our requirements.
Unfortunately, our theme does not have such an option to minify the style.css file and we cannot recommend any plugins with this functionality because is not tested with our theme. For minifying this file, we are using CloudFlare for our demo and works fine. If you want to read other views from our users, please check this topic -> https://forum.tagdiv.com/topic/tip-how-to-easily-minify-your-css-without-breaking-your-site/

One of our top members here on the forum wrote his own optimization tutorial here:
https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/ and here -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/

Basically, these are the theme requirements
https://forum.tagdiv.com/requirements-for-newspaper/

Please keep in mind that at the moment, we cannot provide optimization services because this task involves time-consuming and we do not afford to do this, sorry! We only can provide support for basic theme settings.
If you are not aware of these steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks for your understanding!

Bogdan B.
tagDiv Staff

Hi,

I understand now but I also see minify options available on your install. Please disable any optimization plugin or tool used and disable all plugins except the page builder and clear cache afterwards.

Thank you!

Bogdan B.
tagDiv Staff

Hello,

Wp rocket is not a tested and recommended plugin especially the minify option.

The only tested and recommended plugins to use with our theme are these ones:

Tested Plugins:

WP Super Cache- caching plugin
Contact form 7- used to make contact forms
bbPress- forum plugin
BuddyPress- social network plugin
Font Awesome 4 Menus- icon pack, supported in the theme menus
Jetpack- plugin with lots of features *it may slow down your site
WooCommerce- eCommerce solution
WordPress (Yoast) SEO- SEO plugin
Wp User Avatar- Change users avatars

Anything beyond this list is not tested and I cannot say for sure if it will work or not.

Please only use wp super cache and these settings: https://forum.tagdiv.com/cache-plugin-install-and-configure/
Thanks.

  • This reply was modified 8 years by Bogdan B..
Thakksy
Participant
#0

Hi folks,

I was just testing the dedicated mobile theme and noticed there was an error coming up which is related to WP Rocket and minify. I included a screenshot below so you can take a look. Could you help solve this? I have also contacted WP Rocket too. Thanks so much.

https://goo.gl/photos/aPwgFYK4bkxBHdG66

irshad2183
tagDiv Member

Its working now.

I was able to figure out the issue. It was due to HTML and JS minify.

Thanks for looking into this.

simchris
tagDiv Member

minify it per Google guidelines?

https://developers.google.com/speed/docs/insights/MinifyResources

make sure you have gzip enabled on server?

Newstrack
tagDiv Member

hi,

I am using auto optimize plugin for minifying javascript, html and css. I will remove it but please suggest me a plugin for the same purpose that have been tested with the site. Or if you have a manual code to accomplish this task do send it to me and I will copy paste it into my site.

Thanks

Mohi Uddin
Participant
#0

My website is working very slowly after install newspaper 8. I want to know recommended plugins name which I can use with this theme.
My problem is –

Optimize images

Leverage browser caching

Eliminate render-blocking JavaScript and CSS in above-the-fold content

Minify CSS

Minify JavaScript

Minify HTML

Pls help me.

Mohi Uddin
Participant
#0

My website is working very slowly after install newspaper 8. I want to know recommended plugins name which I can use with this theme.
My problem is –

Optimize images

Leverage browser caching

Eliminate render-blocking JavaScript and CSS in above-the-fold content

Minify CSS

Minify JavaScript

Minify HTML

Pls help me.

simchris
tagDiv Member

In our case we tend to manually un-enqueue the main CSS, move to footer, remove things like comments.js via functions.php hook/filter since we don’t use comments on our sites anymore, and use the ‘scripts to footer’ plugin to move .js to footer.

Main issues with speed are usually
a) image optimization
b) minify the main css and js when done messing with them
c) time to live, gzip settings
d) using PHP 5.6 and up with opcache — don’t use 5.2/5.3 and try moving on from 5.4 as all are end of life, and possibly no longer secure, and slloooooow with WP
e) limiting external calls – such as ping to FB/twitter for “number of likes/shares”
f) limiting number of ad units per page
g) consider removing all Google fonts and going with web-safe font stack; or limit to only ONE Google font family
(etc)

Amit
tagDiv Member

Don’t need to minify your scripts if you’re using pagespeed module. Disable minification and Rocket Loader from CloudFlare end.

Rocket loader blocks the Javascript by deferring them.

jorgeocampo
tagDiv Member

Thank you Bogan, but we are only using performance oriented plugins, like Cloudflare, Yoast and AMP

So, we just installed:

* tagDiv Speed Booster
* Remove Query Strings From Static Resource
* Imagify

And the load is sightly better
May I have your opinion about also use some extra plugins like:

* Use Google Libraries
* WP-Optimize
* Fast Velocity Minify

Thank you

damian
Participant
#0

Hello, i had problem with Better WordPress Minify. After refresh css stop work and i see error in code:

<b>Warning</b>: strtotime(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in <b>/home/admin/domains/mydomain.pl/public_html/wp-content/plugins/bwp-minify/min/lib/HTTP/ConditionalGet.php</b> on line <b>360</b><br />
<br />
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home/admin/domains/mydomain.pl/public_html/wp-content/plugins/bwp-minify/min/lib/HTTP/ConditionalGet.php:360) in <b>/home/admin/domains/mydomain.pl/public_html/wp-content/plugins/bwp-minify/min/lib/HTTP/ConditionalGet.php</b> on line <b>214</b><br />

If i refresh again it work again :). Earlier i didnt have problem with this. It starts after last(?) update.

And second problem:

It is way to cover with image for example grid 3? Now it depends on image, if image cover the biggest box, then is problem with cover all box in others grid?

cloin1
tagDiv Member

It’s OK. I rolled back an update and just imported my recent posts and images and it’s working again. Must of been a conflict with CSS Minify.. All OK now!

Aakash
Participant
#0

Hi,

I have few common page speed issues on my website. I am using w3total cache plugin and tag-speed-booster plugin but still google page speed tool shows few problems like Leverage browser caching, Eliminate render-blocking JavaScript and CSS in above-the-fold content, Minify CSS, Enable compression, Minify JavaScript and Minify HTML.

So kindly guide me how to fix this issues with proper code.

simchris
tagDiv Member

Bump does nothing except push things DOWN in the reply queue.

You can learn to minify your main style.css using minification tools online. Google is a great resource for finding things. I use this : https://cssminifier.com/

And yes, if you use ANYTHING loaded externally, like Google Fonts, JetPack, social “likes numbers” on your page, weather widget, ad networks, etc. — all slow down your page as it has to “go fetch” stuff for page to load. So, choosing to NOT use Google fonts is one option.

Using fewer modules per page; meaning no more than 10 thumbnails on sidebar and footer COMBINED will speed things up a lot.

Per GTMetrix
1) optimize your images
2) Adding time to live settings for browser caching, for Woff/Woff2 to your htaccess file as mimetypes is advisable; the other items you can’t do much about as they are on other sites — and will impact your score
3) loading all those elements from Amazon ad services’ CDN is slowing you down
4) removing query strings is advisable

That stuff from share-a-sale is badly optimized.

Generally when setting up your site

* test without ads or external items to get ‘actual’ score for your post page
* then turn on ad systems and external stuff one by one until you can stomach how this affects your side adversely — your ad units are NOT part of the theme so you should complain to them about crappy optimization!

( I don’t work here. )

krewblink
tagDiv Member

Hey bogdan,

Here is what i found, I dunno how to fix that.
Minifying https://vapekrew.com/…ntent/themes/Newspaper/style.css?ver=8.0 could save 15.4KiB (14% reduction) after compression.

Your page has 1 blocking CSS resources. This causes a delay in rendering your page.
https://fonts.googleapis.com/…ic%2C500%2C500italic%2C700%2C900&ver=8.0

Simion C.
tagDiv Staff

Hi,

The theme stylesheet can be minified to improve speed. There are online css minification tools that you can use for this purpose. There are many topics here on the forum with useful information and advice to improve page speed. Like this one for example
https://forum.tagdiv.com/topic/tip-how-to-easily-minify-your-css-without-breaking-your-site/

Thanks

Simion C.
tagDiv Staff

Hi,

By default the Speed booster plugin will not work when it detects other plugins except the ones from a specified list. More information in these topics
https://forum.tagdiv.com/topic/help-in-using-speedboost/
https://forum.tagdiv.com/topic/defer-css-addon-for-bwp-minify-make-newspapper-faster/

Thanks

DaveS
tagDiv Member

Hi guys,

I minified the theme’s style.css but didn’t minify the child theme’s style.css which contains almost nothing. Since then this last suggestion stopped working for some reason.

The following line of code is in my theme panel’s custom css field:
article.category-179 div.td-g-rec-id-content_inline {display: none !important;}

but the inline ad loads again.

Can a recent theme update be the reason for this to stop working? Any ideas?

Thanks!

simchris
tagDiv Member

Usually because if people need to modify the code in developing a website, it’s not readable once compressed.

However, what we do over here for our sites is use the Google recommend .js compression tool to minify the main .js file — remember you need to disable your caching, clear it, before swapping file otherwise you’re still loading old file even with new one in place.

correct way to compress your js file:
http://closure-compiler.appspot.com/home

ref:
https://developers.google.com/speed/articles/compressing-javascript

( I don’t work here … just resident smarty pants mcduff…. )

enterpr1se
tagDiv Member

Here is my actived plugin list

Plugin Statuses
Theme Name Newsmag Child theme
Theme Version 1.1
Active Plugins
Number of Active Plugins 59
360° Panoramic Viewer 1.1.4
Accelerated Mobile Pages 0.9.50
Ad Blocker Notify Lite 2.2.1
Advanced Ads 1.7.25
Advanced AMP ADS 1.6
Advanced Excerpt 4.2.3
Akismet Anti-Spam 3.3.2
AMP 0.4.2
Animated Gif Resize 1.0
Better Analytics 1.2.3
Connects – Mailchimp Addon 2.0.3.3
ConvertPlug 2.4.0
Crayon Syntax Highlighter 2.8.4
Disqus Conditional Load 10.2.3
EWWW Image Optimizer 3.4.0
Fast Velocity Minify 2.0.8
Google Adsense Adblock Tracker 1.0.0
Jetpack by WordPress.com 4.9
Media Cleaner 4.0.2
Multipage Plugin 1.3.6
NextScripts: SNAP Pro Upgrade Helper 1.3.9
NextScripts: Social Networks Auto-Poster 3.8.2
Nginx Helper 1.9.10
NinjaFirewall (WP Edition) 3.5
OneSignal Push Notifications 1.14.3
Purge Cache for CloudFlare 1.2
Redis Object Cache 1.3.5
Regenerate Thumbnails 2.2.6
Search & Replace 3.1.2
Social Warfare 2.2.3
Social Warfare – Pro 2.2.3
Table of Contents Plus 1601
tagDiv Social Counter 4.1
tagDiv Speed Booster 4.8
TinyMCE Advanced 4.5.6
VaultPress 1.8.9
WPBakery Visual Composer 5.1.1
WP Crontrol 1.5
WP Google Maps 6.4.03
WP Links Page Pro (Personal Version) 3.3
WP Time Capsule 1.9.3
XML Sitemap & Google News feeds 4.7.5
Yoast SEO Premium 4.8

Here is my custom CSS
/* center the ads */
.td-a-rec-id-content_inline {
text-align: center;
}
.td-a-rec {
text-align: center;
}

/* disable more articles in mobile */
@media (max-width: 767px) { .td-more-articles-box{ display:none;} }

.alignnone img, .aligncenter img {
/* width: 100%; */
}

/*force line break in mobile*/
html { -ms-word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
@media(max-width: 768px){ code { white-space: normal !important; } }

I tried disable all plugins except WPBakery Visual Composer, and clear all custom css, but it doesn’t help
Do you need any other information?

enterpr1se
tagDiv Member

I tried all style 1-7 and the problem still there.

I had disabled all JS / CSS minify, clear all custom CSS but no luck

Environment Statuses

Home URL https://www.enterpr1se.info
Site URL https://www.enterpr1se.info
WordPress Version 4.7.5
PHP Version 7.0.19-1+deb.sury.org~xenial+2
WP Memory Limit 512M

Simion C.
tagDiv Staff

Hi,

Please follow all the advice provided above. You can always search the forum for more useful information about page speed optimization tips and guides
https://forum.tagdiv.com/topic/tip-how-to-easily-minify-your-css-without-breaking-your-site/
https://forum.tagdiv.com/topic/page-speed-optimization-google-insights/
You can find many more similar topics on the forum, from which you can learn much.

Thanks

HadLines
tagDiv Member

but on google’s page speed(https://screenshot.net/8xgm2by, https://screenshot.net/xmj1vtx) tool it shows poor. How to fix that? Caching plugin will boost up speed for returning users only but for new users, it will take time to load the theme. How can I Minify CSS, javascript, HTML?

Viewing 25 results - 426 through 450 (of 985 total)