codealfa
Forum Replies Created
-
Forum: Plugins
In reply to: [JCH Optimize] I not can see any changeDid you do check for error messages in /plugins/jch-optimize/logs/jch-optimize.log, as described? Remember to turn on ‘log caught exceptions’ in Advanced Options first.
Make sure you’re using the latest version (1.1.4).
Forum: Plugins
In reply to: [JCH Optimize] I not can see any changeThis article will describe how to check if it’s working and what to do if it is not:
https://www.jch-optimize.net/support/knowlegebase/2.html?view=articleI have checked the source of your web pages and have confirmed that the plugin doesn’t seem to be running.
Make sure you have flushed all your cache after installing and activating the plugin.
If you still do not see the plugin working, turn on ‘log caught exceptions’ in Advanced Options and check in the /plugins/jch-optimize/logs/jch-optimize.log file for an error message. This should indicate what the likely problem is. You can post the message here if you’re not sure what it means.
Forum: Plugins
In reply to: [JCH Optimize] Google AnalyticsMake sure the Google Analytics code is in it’s own script declaration block and exclude it from the plugin using ‘Exclude script’ in Pro Options. Enter a unique word or phrase to the script in this option and save your settings. Google Analytics doesn’t work when it is combined by the plugin.
Forum: Plugins
In reply to: [JCH Optimize] Google FontsI’m not sure I understand what you mean by “turn off Google fonts”. The plugin doesn’t remove or add files from loading on the website. It merely excludes selected files from being aggregated in the combined CSS or javascript file.
Generally you only want to do that when combining the particular file presents a problem. The plugin excludes Google font files by default because Google loads the font type based on which browser accesses the file. Since different browsers use different font types, if this file is cached in the combined file then the font shows incorrectly in some browsers.
Forum: Plugins
In reply to: [JCH Optimize] How to fix this errorI’d be happy to assist you with this. As a subscriber you have access to the ticket system so you can submit a ticket with admin access and I’ll check it for you.
The ticket system is offline for the weekend though. I can’t provide this type of support 7 days a week so submit it on Monday and we’ll take it from there.
Forum: Plugins
In reply to: [JCH Optimize] How to fix this errorClean the cache using the icon in Basic Settings in the plugin. Flush any other cache you may have enabled.
Turn the plugin off and check the source of your page to ensure that there is no link to that file in the source.
Forum: Plugins
In reply to: [JCH Optimize] Sprite GeneratorThe Sprite Generator will combine certain background images into a sprite and replace the url to the background images with the url to the sprite and respective background positions in the combined CSS.
You can determine if it’s working by checking to see if any sprite images are created. They will be saved in the ../plugins/jch-optimize/media/sprites/ folder. Also you can check the combined CSS for any links to the sprites. They sprite name will start with ‘csg-‘.
In order for background images to be included in the sprite they have to:
1) Have the background-repeat property set to ‘no-repeat’
2) Have the background-position property set to ‘0 0’ or ‘left top’ or any combination of those values, or have no background-position set since the default is ‘0 0’.
3) Have dimensions less than 50px X 50px.In the Sprite Generator Options in the plugin settings, You should see a drop down list of all the images the plugin have found by default to add to the plugin in the ‘Exclude images’ setting. This should give a good indication of whether any sprite will be generated.
Forum: Plugins
In reply to: [JCH Optimize] Unclear On Basic SettingsOk good to know…I’m guessing there may have been some javascript errors on your page so in the meantime you can try and enable the ‘Use try catch’ setting in Advanced Options. If you combine a file with errors it will affect the combined file but this option will wrap each file in a try catch block and ‘contain’ the error in the original file so the combined file should work just as before.
Forum: Plugins
In reply to: [JCH Optimize] Unclear On Basic SettingsOk first of all I must strongly recommend that you use and stick with the Automatic Settings that set the options in the Automatic Groups for you. This is because some settings are dependent on other settings so the Automatic setting resolves these dependencies to reduce the risks of conflicts.
Check out the tutorials on the website on configuring the plugin and resolving conflicts:
https://www.jch-optimize.net/documentation/tutorials.htmlIf you want to use the defer setting or place the javascript at the bottom it is better to get the pro version as the Premium and Optimum setting places the javascript at the bottom and the Optimum setting adds the async and defer attributes to the combined file. Additionally a pro subscription gives you access to premium support via the ticket system so you can provide administrator access to your site or test site and I can help you configure the plugin and resolve the conflicts.
Having said that, I would need to see the url to your website and your gtmetrix report to be able to offer any explanation as to why the defer setting or placing the javascript at the bottom didn’t resolve these alerts for you. Possible reasons could be that the file was excluded from the plugin for some reason or that the file wasn’t embedded in the HTML but was loaded from another javascript file.
If the Intermediate setting didn’t render the site correctly then there’s a conflict that needs to be resolved. You first need to determine if the conflict was due to CSS or javascript so disable ‘Combine CSS’ and ‘Combine javascript’ options in turn, checking the site each time.
If the error is with Combine CSS then more than likely you have a parsing error in one or more of your CSS files so check them with https://csslint.net/ and correct any error or exclude the files with errors. You can ignore parsing errors about vendor specific rules like ‘Unknown @ rule: @-ms-keyframes.’.
If the error is with Combine Javascript then the tutorials describe how to find which file to exclude by looking for the javascript errors in the console.
Of course with a subscription you could submit a ticket with admin access and I could do all of this for you. (The ticket system is unavailable on weekends).
Forum: Plugins
In reply to: [JCH Optimize] Promblem with Google XML SitemapsI’ve just released a new version with the fix for this issue.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] sitmap.xml is emptyThe plugin has just been updated with the fix for this issue.
Forum: Reviews
In reply to: [JCH Optimize] Better than W3 Total CacheThank you for your review. Happy to know you find the plugin useful.
Forum: Plugins
In reply to: [JCH Optimize] Promblem with Google XML SitemapsI fixed this issue today. I’ll have a release out with the fix in a day or two.