Skip to content

Improve current loading time #4

@zsoltjanes

Description

@zsoltjanes

I have a big files and it loads to me 3-5 sec to generate the md5 about the file.

What do you think if you just check the mix-manifest.json updated at time?

 protected function getHashedName(): string
    {
        $manifestFile = dirname($this->path(), 2).'/mix-manifest.json';
        $hash = '?v='.filemtime($manifestFile);

        return $this->name().$hash;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions