Search Results for 'minify'

    No search results were found in Documentation!

Results from the Forum
GrooveBricks
tagDiv Member

Okay! I went through the process and the conflict seems to be cause by the WP Super Minify. This is strange since I’ve had this plugin for quite some time and never had issues. Guess I’ll just leave it deactivated for now. 🙂

simchris
tagDiv Member

@Dhananjay
you can minify that js file using the Google recommended compression tool found in my long winded optimization thread in the docs > tutorials/DIY > best of forums.

I specifically have a post about both CSS minification and JS minification you can do manually that won’t break the site !

simchris
tagDiv Member

Many large complex themes have one large CSS file for better caching, while some others break it down into 4-6 other files. One large file is better.

You can minify the CSS file very easily.

You might also see my long tutorial on site optimizations, in the theme docs > tutorials/DIY > best of forums.

In there I have links to how you can minify the main CSS file, and even the main JS file if you want.

With proper gzip/deflate running on your site, it will also be served as a very tiny file as gzip removes all the spaces anyway. But minification can easily be done.

Many theme devs don’t “start out” with minified version to make it easier for developers to EDIT/MODIFY the code, and read the comments; then those folks minify on “deploy” for a live site.

So, this is not that weird. All of the top 10 themes on ThemeForest have large amount of CSS — where do you think all those layouts and theme styles, features, options, etc. come from ? It’s all CSS.

Sandman
Participant
#0

Hi!

I have just checked my test site (test.obrazovanie.by) with Newspaper theme on GtMetrix and PageSpeed and was a bit disappointed with low scores and some speed issues reported:

http://clip2net.com/s/3uPwzqm

I realize that some speed issues have nothing to do with the theme (e.g. caching or gzip compression). However, some of them might be related to the theme, in my opinion. Could you, please, give some recommendations about how to optimize the following issues found by GTMetrix.

1) Minify CSS
2) Minify html
3) Minify JavaScript

I expect this is not a problem for you since demo page gets high score in the same categories.

What about “Optimize images” issue – I found the guide how to fix it at “Pagespeed guide” page of the documentaions. That would be very nice to have similar guides on issues 1-3 (see above) there.

Kind regards,
Dmitry

Bogdan B.
tagDiv Staff

Hi,
Unfortunately the js error is still there. I suspect the minification. Please only use cloudflare to minify your js and css otherwise errors such as this could occur. https://forum.tagdiv.com/cloudflare-cdn/
Also you should switch from w3 total cache to wp super cache as this is the recommended plugin.
Thanks.

Bogdan B.
tagDiv Staff

Hi,

You can make your changes to the theme.js file then use Google Closure Compiler tool to minify the modified file of theme.js file and replace with newly minified version into the theme.min.js file.
https://closure-compiler.appspot.com/home
Hope this helps!

Thanks

simchris
tagDiv Member

I have combined various things and also minified both CSS and JS, and you can see the tools I used to minify manually in my thread on theme optimization in tutorials > DIY > best of forums.

However, note that to “combine” certain things like lightbox, visual composer, etc., you would need to hack the plugin to NOT also enqueue the js and css calls, keep track of what you’re doing and basically “freeze” your setup for awhile for those tools.

You can also quash some things like the emoticons js and other things by disabling that via addition of code to functions.php. And of course, not using things like Jetpack, and turning *off* anything you are not using like slider plugins, etc., sure helps.

Podoseb
tagDiv Member

It was one of the cache settings that was giving troubles to the search icon (Minify feature).
I’ll try with the menu item, thanks!

Catalin
tagDiv Staff

Hello T2N,

Unfortunately, we do not have any solution for minifying the files and also, we do not recommend using these. We use only Cloudflare and for more information about this, please consult our documentation here -> https://forum.tagdiv.com/cloudflare-cdn/

Thank you for the message!

T2N
Participant
#0

Hi Team,

I’ve been working out settings to use Autoptimize to minify css, html and javascript. I got it working except for one thing….the background photo function doesn’t work. Background photo just doesn’t display. Any suggestions?

Many thanks

Christina

simchris
tagDiv Member

Try uploading an image via the media manager and make sure the file is actually there ; if so, then it’s writable (or learn to use FTP and what CHMOD and file permissions on web server folders are). If it’s not, then theme cannot create pictures in the folder for the thumbnail sizes.

One also presumes you didn’t turn “off” all the image sizes for thumbs in the theme panel. 😉

Also make sure you’re not using any “auto minify” plugins as that can break stuff too.

Andrei L.
tagDiv Member

Hi

I’ve checked your site and the problem seams to be related with the css code which apply only on home over the sub-menu item. Try to deactivate all plugins except Visual Composer, clear all caches also disable any minify options for css/js if you’re using, clear all caches and test again.

Let me now how it goes.
Thanks!

Catalin
tagDiv Staff

Hello snaxzer,

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/

Hope this helps!

Thank you for the message!

Bogdan B.
tagDiv Staff

Hello,
In order to increase your site speed, you need to follow this guide: https://forum.tagdiv.com/how-to-make-the-site-faster/
you will have to use the speedbooster plugin to move render blocks to footer. Speedbooster will not work with all your plugins as it has a compatibility list in it’s code and some of your plugins are not compatible with it. There is a workaround however. you can remove this code: http://screencast.com/t/RZLIOPUNdqh
As for cdn and minify, we also use cludflare.
I hope this helps.
Thank you!

bullet550cc
Participant
#0

Hi Team,
Thanks for the greatest WordPress theme you guys developed, after the recent wordpress update, my pageload speed time increases badly. earlier it was 78-85 now it is only 30/100.

it shows –

Compressing http://gaadiwaadi.com/wp-content/themes/Newspaper/style.css could save 609KiB (88% reduction).
Compressing http://gaadiwaadi.com/…s/js_composer/assets/css/js_composer.css could save 436.4KiB (91% reduction).
Compressing http://gaadiwaadi.com/…tent/themes/Newspaper/js/tagdiv_theme.js could save 283.2KiB (77% reduction).

Minifying http://gaadiwaadi.com/wp-content/themes/Newspaper/style.css could save 135.9KiB (20% reduction).

means atleast i can save 1.6 mb on everypage view which is equal to what my full page size was about a month ago.

also,
google webmaster shows that the theme isn’t meets Google accelerated mobile page

{ We did not find any Accelerated Mobile Pages in your site
Accelerated Mobile Pages (AMP) are an open-source initiative to provide web pages that load fast and look good on mobile devices, even over slow networks.
If your AMP-compliant pages include a few additional pieces of information, they can also benefit from special display features in Google Search results. }

can you pleage help me on priority ?

nf_prt
tagDiv Member

Thank you Ing Geek, that totally makes sense. Analytic and Adsense seem to be very picky about js, no wonder, it’s how they control what they pay. I stopped using the speed options in cloudflare after a day or so of experimenting with them and afterwards, I only minify html in cache plugin. Those would brake up some functionality but I always assumed it was because I’m a lazy coder and my site is all patched up. I guess a simple static website with very good code can benefit from cloudflare features, specially rocket loader.


@mahmoudfathymohamed

Today I’m seeing no mixed content so I guess you fixed it 🙂 visited several articles and no content blocked and padlock was always green, I saw no problems like yesterday.

Moving to https is usually a good thing. It can lower your traffic acquisition from search engines if not done carefully though. Since http and https use different server ports (most), both versions of a website, if they exist, are considered individual websites. Since the content is the same, search engines will label one as a duplicate. Search engines don’t like duplicate shit. When there’s http and https versions of the same site, webmasters should take measures to inform search engine which version to crawl and index and which to ignore (robots.txt, rel canonical, htaccess)

You only have https version so you don’t have to deal with that. What you might consider is the “juice”. Before you went https, did you had any particular page/article that ranked well in search engines? Or did any “respectable” website linked to yours? If yes, then you are losing that SEO juice because those rankings and those links point to something that doesn’t exist anymore. If no, which probably is the case because you’re online since only 10/2015, then don’t bother.

Cheers!

mahmoudfathymohamed
tagDiv Member

Yes I minify JS and CSS .. today i will try with a website with no cloudflare and i will see the results.
thanks so much 🙂 i will tell you the results tomorrow 🙂
Sorry for my horrible English.

Ing Geek
tagDiv Member

If you are using Adsense NEVER minify any JS. If is possible css either. Only use HTML minification .
in cloudflare deactivate everything and set CDN only.

Another thing, use similar ads positions like before you switch to newspaper

And the last thing, every january are less advertisers

Albert
tagDiv Member

Hello

So in this case, do you recommend to me using cloudfare to minify instead the way you said before with GTmetrix? Does it have any risk to replace files which need to be solved?

I have a 95 % score in PageSpeed GTmetrix and 87 % YSlow, but when I check my website in google pagespeed insight, the score is lower, and I don´t know exactly if I should solve these issues.

Thanks

Catalin
tagDiv Staff

Hello Albert,

WP Smush is the one plugin that is tested with our theme and seems to work as expected. You can try to find another plugin with this functionality wich maybe can compress you more than 50%, but we cannot recommend another because we have not tested besides this.
As more references, there are a lot of topics open on this subject and there are a number of things you can do to make your site faster:
You can also read what some of our members found out: https://forum.tagdiv.com/topic/pagespeed/ -> 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/

Hope this helps!

If you need more assistance in this regard, please provide more details about your desired changes so I will be able to provide a more accurate response.

Thank you for the message!

Solstyce
tagDiv Member

I’m using W3TC and Cloudflare with Flexible SSL enabled. I’ve disabled minification on Cloudflare and am using W3TC to reduce the number of requests. I do basic minification of CSS and html, but not JS since minifying JS breaks images on my front page. I also combine all CSS into a single file and JS into a single file to reduce the number of requests to my server, which also has the benefit of removing query strings so I can be sure all my CSS, JS, and HTML is being cached correctly by any caching proxies between me and my readers. Minifying html also improves pagespeed slightly since Cloudflare doesn’t cache or optimize HTML.

This also has the added benefit of not having to do a manual process every time I update my Newspaper theme.

Obviously, I’ve also disabled Cloudflare in the W3TC plugin so it doesn’t know I’m using Cloudflare. This means if I do feel the need to clear my Cloudflare cache for some reason, I have to do it manually from the Cloudflare website.

  • This reply was modified 10 years by Solstyce.
Albert
tagDiv Member

Hello Akpan

I would like to minify Javascript, CSS and HTML because my pagespeed score is not enough good. I would like to know if I I can use the same GTmetrix way to minify Javascript and HTML as well.

To do that, Do I must to replace the optimized file instead the former?

Thanks

Andrei L.
tagDiv Member

Hi

1. Please provie your site url so I can inspect this closer. Meanwhile try to deactivate all plugins except visual composer, clear all caches and also make sure that you’re not using any tools which minify the js as this may create issues.
2. The theme does not have any options to embed a radio player and to achieve that most likely you will need a plugin. Unfortunately I can’t make any recommendation as we didn’t tested any plugin with a similar functionality and I can’t say how they will work with our theme. I found here some information which may help: http://www.wpbeginner.com/plugins/9-best-audio-player-plugins-for-wordpress/
3. I am not sure what you mean so please provide more details about this.

Thanks!

Catalin
tagDiv Staff

Hello Albert,

Unfortunately to make a website run faster you will need to have at least basic knowledge not necessarily ‘tech savvy’
You will need to follow this tutorial on page speed: https://forum.tagdiv.com/how-to-make-the-site-faster/ Gzip compression needs to be active and also read about how you can compress the images. I suggest getting someone to help you if you cannot manage.
Also please make sure that Speed Booster is active, check System Status for this – http://screencast.com/t/LDPniI0Qpv The plugin is tested only with these plugins – http://screencast.com/t/hcjLnOqh4i2 and if you have others active it will be automatically disabled.
In order to use the tag div speed booster with all plugins, you will need to remove this code – http://screencast.com/t/RZLIOPUNdqh

There are a lot of topics open on this subject and there are a number of things you can do to make your site faster:
You can also read what some of our members found out: https://forum.tagdiv.com/topic/pagespeed/ -> 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/

Hope this helps and let us know how it goes!

Thank you for the message!

Albert
Participant
#0

Hello

I have passed PageSpeed Insight and I have two main problems to solve.

The first one is that I have to remove Javascript which is blocking the display and CSS content from upper half page. The other one is that I must reduce server time.

I have already compressed to gzip and solve the problem of specifying brower cache editing .htacess file. I have noticed that score has raised to 64 and 84, on mobile and desktop respectively, but this score is not enough good. I would like to know how I could solve this problem

On the other hand, I would like to know how I could minify Javascript, HTML, and CSS and if you would recommend to me. I have seen on test that there are some theme files which are involved.

Thanks

Viewing 25 results - 576 through 600 (of 985 total)