I have problem with magento 2.2.7 but cannot find way fix so hope someonce can help. File name: domain/pub/static/.../file.css and domain/static/.../file.css.

After I changed content of file.css and push to server just only domain/pub/static/.../file.css apply changed. I tried push cache and deploy but content of domain/static/.../file.css not change. My current website load style file via url domain/static/.../file.css.

I got this after STORE > CONFIGURATION > ADVANCED > DEVELOPER > Storage Configuration for Media > CLICK button Synchronize.

I need appy my change on domain/static/.../file.css. Anybody know how to do that?

Note: I tried Sign Static Files change to Yes and No but not luck. I flushed cache after change any config option.

Updated: this content of file after load pub/static and /static/ cache be flushed and browser cache be cleaned enter image description here enter image description here

Thanks advance!

  • try removing files inside pub/static folder except for .htaccess and check if changes you made will apply
    – fmsthird
    Jun 4, 2019 at 9:47
  • thanks u, I tried this way already.
    – xanka
    Jun 4, 2019 at 9:56

2 Answers 2


Maybe you need to regenerate static files using the cli command: bin/magento setup:static-content:deploy

  • I run this many times
    – xanka
    Jun 4, 2019 at 9:29

RESOLVED, This issue come from cloudflare CDN just go to Purge Cache on cloudflare.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.