Caching doesn't properly work
help wanted
I only want to use Laravel Minify for blade views. JS and CSS are already minified using npm. Issue is, I add this to my `bootstrap/app.php`:
```php
$middleware->web(append: [
\Fahlisaputra\Minify\Middleware\MinifyHtml::class
]);
```
I push it to production. Now I navigate to the homepage. I click on a button, and it leads me to that page. That url. Yet, it shows me the homepage.
Whenever I remove this middleware, the issue doesn't occur.
So basically it shows the correct url, but the first page seen on visit is the one always shown.
How is this issue fixed or is it a problem in my configuration?
I haven't touched the config file except for `MINIFY_ASSETS_ROUTE` and have this set to `false`. Issues occur both when set as `true` and `false`.
0 条评论