Batch minify and select all option

Created on 9 April 2024, 3 months ago
Updated 6 May 2024, about 2 months ago

Problem/Motivation

it would be nice to be able to select all
It would also be nice to batch the files for processing

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Postponed: needs info

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @SocialNicheGuru
  • Status changed to Closed: works as designed 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

    it works already. I just missed how to use it.

  • Status changed to Active 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

    The batch part is what is needed.

    I got a 501 gateway timeout error.

    Workaround: I can rerun and just select minify items not minified and select all.

  • Status changed to Postponed: needs info 2 months ago
  • πŸ‡¨πŸ‡¦Canada slydevil Halifax

    It's going to be tough to debug this error without knowing more about the error from your server logs, the webserver type and config, etc.

  • Status changed to Active 2 months ago
  • πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

    This is a feature request I think.

    When I select minify, there are over 32,000 js files on my install (not sure why. I think it is the library modules.). I am also using composer would it be looking in the vendor file?

    I can start the minify process fine.
    It does time out.
    When I go back to the page I select minify (skip previously minified)
    I would assume it would start from the last minified js file on.
    But it starts from the beginning.
    This leads to another timeout without any new files being added to minify.

  • πŸ‡¨πŸ‡¦Canada slydevil Halifax

    Sounds like it's timing out when it is trying to gather the files to process. Have you tried the drush command?

        drush scan-js
        drush minify-js
        drush minify-js-skip
    
  • Status changed to Postponed: needs info about 2 months ago
  • πŸ‡¨πŸ‡¦Canada slydevil Halifax
  • Sounds the same to me. I have configured several limits on my server and I believe I also have had such error. Maybe this should be documented in either the interface or on the project page?

Production build 0.69.0 2024