cancel
Showing results for 
Search instead for 
Did you mean: 

How to show design changes immediately to customers?

How to show design changes immediately to customers?

Hi,

 

if i do design change in website those are not reflecting in customer browsers immediately. if i do the Empty cache and hard reload at that time the changes are coming

i am upgrading the setup and deploying the static content and reindexing and caching the flush even though those changes are reflecting

Please let me know the solution

 

 

Thanks in Advance

Somu N

13 REPLIES 13

Re: How to show design changes immediately to customers?

Hello @vitalticks_pvt  ,

 

If you are doing changes in design in theme, you will have to run the commands. But there is also an other way. You can find the file you want to change in the pub folder, and change the code there. It would reflect instantly. But it is not a very correct solution since when you run the commands the changes you will do in the pub folder will get lost.

 

Mark as solution and kudos if it works for you!!

Thanks

Re: How to show design changes immediately to customers?

Hello,

 

for this, you need to enable static sign-on.

https://devdocs.magento.com/guides/v2.3/config-guide/cache/static-content-signing.html

 

It will add a version of each deployment so it will get fresh content when you do the deployment.

 

Hope it will help you.

 

If works then mark as the solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: How to show design changes immediately to customers?

@vitalticks_pvt  You can try the solution suggested by @Sunil Patel.

 

As enabling the deploy version is a good way to show changes immediately on frontend.

It will add the deploy version in the url of files so that every time they pick a changed file.

 

Thanks

Re: How to show design changes immediately to customers?

Hi Sunil Patel,

 

it was enabled and not reflectioing.

Re: How to show design changes immediately to customers?

@vitalticks_pvt  can you check it deploy.txt file exists in pub/static/ folder


Thanks

Re: How to show design changes immediately to customers?

Hello @vitalticks_pvt  

You are not using CDN or any other caching right which needs to be flushed?

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: How to show design changes immediately to customers?

deployed_version.txt file is there

Re: How to show design changes immediately to customers?

what is CDN and where can i find this one?

is there any other techniques to uver come this one

Re: How to show design changes immediately to customers?

Hello @vitalticks_pvt  

 

Can you check your css url?

 

it should contain your version id info into URL, if contain then it ill get fresh data

some thing like this:-

static/version1576570957/frontend/ScripCo/promed/en_US/mage/calendar.min.css


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer