Forum Replies Created

Viewing 15 replies - 106 through 120 (of 1,842 total)
  • Plugin Author Raul P.

    (@alignak)

    As I said… it doesn’t matter if you deleted the files generated by FVM manually. If you deleted them, they are definitely gone.

    If you can login properly to your site, you most probably don’t see any references to those files anywhere, because you are bypassing page cache. Can you check? And if not, can you see the top black wp-admin bar on the frontend (confirmation that you are indeed logged in).

    FVM does not do page caching. Page caching is either some other plugin or your hosting or cloudflare. You need to purge the cache, else your anonymous users are not even reaching wordpress. They are seeing a cache, a copy of your page right after you enabled FVM.

    The same would happen if, you edit text on one page.
    If you do not purge the page cache, you will not see the new text you changed.

    If you deleted the stuff on the wordpress cache directory, you only done one step.
    The server cache if any, is a separate cache, you cannot delete it via explorer.
    There is usually some button on your hosting control panel to do it.
    It also usually expires automatically after a while.

    Either way, you need to contact your hosting if you don’t know how to purge the server cache.

    It’s physically impossible to see those references on the HTML source, if you purged page cache correctly.

    What hosting do you use?

    Is it a standard plan for wordpress, or is it some server that someone installed for you from scratch?
    If someone installed the server for you, probably they have enabled some sort of server side page caching. It either needs to be removed manually somehow, or you wait until it expires.

    If it’s not clearing, then you must contact the person in charge of the server to check what is going on.

    If you have persistent page caching on the server, you are making your site static.
    Once it saves a cache somewhere, it shows that file to everyone until you clear it.
    That is why, as an anonymous user you still see references to the files you manually deleted.

    You deleted the files, but you did not delete the copy of the page that was pointing to those files, so you are seeing a cached copy of your page with references to those files.

    Plugin Author Raul P.

    (@alignak)

    Hi there,

    You should hire a developer if you are trying to optimize a site and are not sure how the plugin works. You have to manually configure it, it’s not just install and call it a day.

    Because optimization needs to minify your css and js files, it creates minified copies of the originals in the cache directory, which you are seeing with the long names.

    However, if you purge the FVM cache… You just deleted those very cache files, so now you need to clear your page caching too, else your content is still pointing to the old deleted css and js temporary files, until the page cache expires.

    The plugin doesn’t break anything. A plugin can be enabled or disabled.

    If you are seeing the layout broken with 404 errors to FVM related css or js files… That simply means you are seeing a page cache version that points to delete files. It would be the same if you delete an image.

    The page caching can be either from some other plugin, but more often from your hosting configuration or even cloudflare (if you use APO) for example.

    When page cache is enabled on your hosting, page caching saves a snapshot of your page and your further requests never reach WordPress. If meanwhile you delete the cache on FVM without clearing page cache after, those files would return 404 not found.

    You need to ensure page caching is cleared properly after purging FVM and that has nothing to do with FVM itself.

    Contact your hosting and ask them how to purge the cache. Some hosting providers for example, require you to log to their control panel to clear it. Others put a plugin on your site to allow you to do it.

    If you modify your content, including using minification plugins, you won’t see any changes until you clear the page cache.

    If you clear too many times… sometimes hosting services rate limit your request and ignore your cache purge request.

    If FVM cannot purge your page caching and if you need to manually clear page caching from somewhere, you first need to try FVM in a staging version of your site that doesn’t use page caching.

    If the plugin is properly configured (without page caching), and if you disable the option to purge cache immediately on FVM for example… It will work even with your type of hosting or after reenabling page cache.

    You cannot do development with page cache enabled… Speed optimization is development work.

    Else find better hosting. Bluehost, GoDaddy, wpengine, kinsta, are all good options.

    Plugin Author Raul P.

    (@alignak)

    It’s the same as any other cdn, you just use FAKEURLwo64aac.cloudfront.net on the CDN field. For images and other stuff, maybe you can find some other cdn plugin. They all work the same.

    Plugin Author Raul P.

    (@alignak)

    FVM does not have scripts so the file doesn’t belong to FVM. As you can see from the file path, it’s a cached file. What happened there, is that you already have that file on your site and FVM caught it and minified it.

    FVM doesn’t check for malware.
    If you already have malware on the site, FVM will treat it as a normal javascript file.

    I suggest you look at the file position on the HTML code, disable fvm and check what file is showing there with that content. That file must be already there with a different name.

    The file indeed looks like malware, so try to deactivate fvm first (else it will keep populating the cache directory), manually delete the cache directory, purge all caches anywhere else and run a scan with wordfence for example.

    wordfence doesn’t detect everything, so you may need to hire someone to remove that malware.

    Plugin Author Raul P.

    (@alignak)

    Hi,

    Is it a customization css file?
    What is the url for the fonts file causing issues?

    If you created or edited the css file, chances are, you maybe didn’t save the css file in utf8 encoding, so when the minification reads it, it detects a wrong encoding.

    If you have access to the command line, try to install and run dos2unix on that file.
    If not, try to download and edit the file with a program such as notepad++ and copy all contents to clipboard > change document encoding to UTF8, paste the clipboard content again and then save and upload the file.

    After purging the cache, it should work if it’s the encoding.

    Plugin Author Raul P.

    (@alignak)

    Assets will be generated whenever a page has different css or js file names, it doesn’t care if it’s search or some other page.

    If you have a lot of files being created on search pages, check what is on the list.
    Likely, one or more files is different on every search you are doing.

    You should exclude the dynamic file from minification, or ideally, fix your code so that the enqueued file url never changes, or only changes when needed. If a file name changes every time, FVM sees a new file every time.

    You can minimize the cache directory by disabling merging, which will then minify each file individually. But then, if 1 file is changing, that file is always still going to be regenerated unless you either fix the url, or exclude it.

    Plugin Author Raul P.

    (@alignak)

    The behavior is intended.
    AMP pages are already optimized by the AMP plugin and the pages use a different markup, so you cannot rewrite the scripts.

    As for url’s with parameters, they are also excluded for compatibility reasons.
    If you have an non standard api endpoint with a query string, it would probably break if you try to minify.

    But for the google analytics query strings, I can probably add an option to ignore them.
    I will add that on the next release. Thanks for the suggestion.

    Plugin Author Raul P.

    (@alignak)

    The styles are not loading, because, you have purged the css/js files but not your server page cache, or some other page cache plugin.

    The pages are pointing to minified css files that you have deleted, either on purpose or not, it doesn’t matter.

    Another possibility, is that the server has no file permissions to allow saving those files.

    All you need to do is to disable the plugin and then clear the page cache.
    Look for any other cache plugins you may have installed and purge everything.
    Then ask your hosting to purge their own cache (check their control panel).

    If you are using cloudflare as well, depending on the features you use (such as APO) it may be cached there as well.

    Some hosting services have very persistent caching, so speed optimization that requires minification of css and js files, it’s best done by a professional (or get a better server provider, ie cloudways for example).

    FVM has an option to preserve css and js files instead of deleting them immediately when you clear the cache. It will keep the files for some time, to prevent accidents where your page is still cached but you already deleted the optimized files (the filenames change every time you purge, that is why you cannot load them as your page is still pointing to the old ones in it’s cache).

    FVM does not do page caching.
    For your type of cache, make sure the “Purge Minified CSS/JS files instantly” is not active.

    But first you need to configure it properly, which may prove difficult as your page cache is apparently not updating when needed. Basically, every time you change something on the site, the cache should be purged.

    If your hosting cannot sort it out, follow the instructions I provided here.
    Emergency fix is to deactivate the plugin, followed by page cache purging.

    If you used some cache plugin and disabled it after, you may still be having cache rules on your .htaccess file.

    Check the site files (control panel, plugin, sftp, etc) and delete the wp-content/cache directory manually, if it exists.

    Plugin Author Raul P.

    (@alignak)

    Hi, what is the site url and which font exactly stops loading?

    Plugin Author Raul P.

    (@alignak)

    It works with WP 5.8 but an update will come in the next coming days, once I have some time to add a few new features I have planned. Thanks

    Thread Starter Raul P.

    (@alignak)

    @bizanimesh

    The staging is dev4.fastvelocity.com and the original site is www.todocanada.ca

    Right now I see all the old stats from the main site on dev4.fastvelocity.com
    https://wordpress.com/stats/day/25662989

    And in the main site, there are only stats from the past couple of days.
    https://wordpress.com/stats/197473468

    If it’s possible to merge them to 197473468 from 25662989 that would be perfect.

    Thank you very much.

    Plugin Author Raul P.

    (@alignak)

    The validation is just a guideline, it’s telling you that it doesn’t recognize the fvm-script-delay as a javascript type, because it’s not part of the specification. It’s telling you, that there is a error so the scripts won’t run.

    But creating the error and not being part of the specification is intended. It’s required to bypass javascript execution there, and then there will be a proper script at the bottom, that runs these types later. If it was valid, the script would not be delayed.

    This is similar to what cloudflare does, as well as any other plugin that delays javascript. Being invalid, doesn’t mean it does not work. Only that it’s unexpected, according to the specification on HTML.

    https://community.cloudflare.com/t/rocketloader-causing-w3c-errors/17991/3

    If you want to delay the scripts, you have to make them invalid so the browser will ignore them. Then later, you manually execute them on interaction or some other rule.

    Plugin Author Raul P.

    (@alignak)

    A lot of cynical IT people will say “user error” or “you’re lazy” or “you’re retarded” lol. No, it’s that business owners have 100 other things – which are usually more profitable and higher ROI – to focus on, and plugins not working shouldn’t be one of them.

    I’m not sure what you mean with your review, this is a complain, not a review. The point is, if you are not a developer you should not try to use a plugin that says it’s for developers. It’s written on the description.
    As a business owner, I agree you should focus on managing the business, so instead of trying to do technically advanced things you don’t understand, or don’t have enough time to learn, please hire some developer instead.

    You can buy a toolbox but if you don’t know how to use it, you don’t return to the store to complain that the work was not done properly. Hire a specialist and they will do it for you.

    The plugin is provided as it is, free of charge with gpl license. You can use or modify it anyway you want it.

    Plugins are also needed for developers… The repository has nothing to do with your skill level. It’s take it or leave it.

    That being said, speed optimization is a complex and technically advanced task that requires manual work to be completely done. There are other plugins that make it easier but don’t go as far in results, so feel free to stick with those, or feel welcome to ask for support if you have the time to bother with the technical part.

    There is no emphasis on guiding the users because each site is different. You need to understand what you are doing and how things work before attempting to fix it. There is a general help tab with recommend defaults, but that is generic and may or may not work for your site.

    If it breaks, hire someone that knows how to use it and how server cache works when you are minifying css and js files… Or try other solutions.

    Plugin Author Raul P.

    (@alignak)

    it’s not a setting, it’s probably how yoast rewrites that part. FVM captures the html page on template load, so if yoast does that later, in the header for example, it won’t work. I will look into it soon.

    Plugin Author Raul P.

    (@alignak)

    @phloo yes, you are right, sorry about that. There will be an update the coming days.

Viewing 15 replies - 106 through 120 (of 1,842 total)