1 year ago

Laravel Versioning ( ASK ) (SOLVED)

Posted 1 year ago by mlazuardy

So im using VPS to deploy my laravel apps, and using nginx as my web server. My Question is, if i cache the static assets Like This.

location ~* \.(?:css|js)$ {
  expires 1y;
  access_log off;
  add_header Cache-Control "public";

( including app.js and app.css from laravel mix ) and also using versioning/cache busting. is app.css and app.js will change even if it's set up like this ? Sorry bad english and Big Huge For anwering my question

Please sign in or create an account to participate in this conversation.