You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using timestamp for the files and automatically assetCompress adds the timestamp.
This works well in development but it doesn't work at all in production.
I minify the CSS and JS in development and not in production, as I do not have Java installed in it, so its always trying to import the files in the same way.
And, as in development I don't usually work with compressed files, it seems a bit tedious to make it work out of the box.
Any recommendation?
The text was updated successfully, but these errors were encountered:
You should use a minifier that you can use in both dev + prod. There are a number of PHP based minifiers, or nodejs ones. Keeping dev + prod consistent will make your life easier in general.
I'm using timestamp for the files and automatically assetCompress adds the timestamp.
This works well in development but it doesn't work at all in production.
I minify the CSS and JS in development and not in production, as I do not have Java installed in it, so its always trying to import the files in the same way.
And, as in development I don't usually work with compressed files, it seems a bit tedious to make it work out of the box.
Any recommendation?
The text was updated successfully, but these errors were encountered: