- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2020
05:39 AM
03-06-2020
05:39 AM
How to solve Refresh issue need to hard refresh to load JavaScript
I am new in magento2, I have developed project everything is fine but some browser has caching issue when load product details page (image or add to cart button ) not loading at the same time. then we need to hard refresh page (Ctr+shift+R) then Javascript and product details loaded on the server.
This issue happens only in Microsoft Edge and some chrome browser only
how to solve this issue please help me.
I am using
----------------------
magento2.3.2
PHP 7.2
Microsoft Edge 44.18362.449.0
Os ubuntu 18.4
Apache2
Labels:
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2020
04:47 PM
03-06-2020
04:47 PM
Re: How to solve Refresh issue need to hard refresh to load JavaScript
Hi @chandan_kumar24
Have you flushed the cache using terminal?
php bin/magento cache:flush
And you should use production mode on the live. Magento use versioning for pub/static files.
I hope it will help you!
Have you flushed the cache using terminal?
php bin/magento cache:flush
And you should use production mode on the live. Magento use versioning for pub/static files.
I hope it will help you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2020
11:43 PM
03-06-2020
11:43 PM
Re: How to solve Refresh issue need to hard refresh to load JavaScript
I enable production mode after an upgrade and deploy, and flush same issue is happens
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2020
01:52 AM
10-26-2020
01:52 AM
Re: How to solve Refresh issue need to hard refresh to load JavaScript
Have you found any solution? I am experiencing the same issue.