Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dafnie

    (@dafnie)

    Hi torophal

    Yes i have solved the problem with slow TTFB on protected files.

    But i have disabled the “Lock files” feature i UAM.
    I have read in other forums that the approach used in UAM to protect files is very memoryheavy if there is a lot of images on the page.
    On every filerequest the server have to call wordpress to see if the file is allowed to be loaded.

    Instead I have moved the protected file to a seperate folder on the server and use an other plugin to do the job.

    1. Move files from /uploads to /uploads/members.

    2. Install the plugin prevent-file-access

    3. Enable protection and protect the members folder.

    My TTFB on images is now the same as without file-protection.

    The prevent-file-access plugin generate a simple setting in the .htaccess file and if you know a little programing it is not that hard to customize the .htaccess, if you have special needs.

    Happy coding.. ??

    Let me hear if it worked for you as well.

    I think the css approach is a bad practice.
    This will load the js but remove the display on all pages.

    A better approach would be that the plugin only add the reCaptcha js-file on pages where a contact form 7 is present.

    Plugin Asset CleanUp: Page Speed Booster could do this trick, but this should be intergrated in the Contact form 7 plugin.

    You are right. I have the same problem.
    Just delete the .htaccess i wp-content/upload. This is the file that is generated from file lock file, and disable lock file.

    This is the answer from FRQ.
    – You can deactivate the file locking at the UAM settings.
    – You can replace your media files in your posts. Just delete the old link and insert it again. (A new working link will generated)

    Have you found another solution?

    Thread Starter dafnie

    (@dafnie)

    Hello

    thanks for quick reply.
    Yes everything works normal until enabling WooCommerce All Discounts Lite.
    All other plugin is disabled, except woocommerce.
    Wordpress v5.0.3
    Theme: eStore v1.3.4

Viewing 4 replies - 1 through 4 (of 4 total)