Skip to content

Large js files cause script to timeout on shared hosting #21

Description

@curiousercreative

I've got MBs of js that I'm trying to get AssetsMinify to handle, however on shared hosting it times out. Error below:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/foradacopa/foradacopa.com/wp-content/plugins/assetsminify/lib/JSMin.php on line 280

I understand of course why this happens but I'd like to offer an idea for circumventing the problem aside from reducing the script size and increasing server resources: Include an option for exluding files that have already been minified. There's an option similar to this for excluding files, however it ends up not aggregating the scripts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions