December 14, 20178 yr For Better Understanding Checkout Below Eg:- Case 1 https://abc.com/img/abc.png Gives me the proper Latest Image Case 2 https://www.abc.com/img/abc.png Gives me the Old Image or image not found Above also applies for css ,js etc. In Case 2 i am able to get the latest image after some time interval.
December 14, 20178 yr Is it possible to open both www and no www version of the same domain? Shouldn't be there preferred URL to open and redirects?
December 14, 20178 yr @tomik said in Different Resource Served with and Without www in url: because he changed the website to abc.com :laughing: :D :D :D I shouldn't answer in the morning ;)
December 14, 20178 yr Can you give an example of this happening? Likely it means something in your template is done wrong.
December 15, 20178 yr Author @lesley Already Provided an example . The resources like css , js, images are latest when they are fetched without www ie https://example.com/css/example.css https://example.com/js/example.js https://example.com/image/example.jpeg And when Fetched with www older version of the file is fetched ie https://www.example.com/css/example.css https://www.example.com/js/example.js https://www.example.com/image/example.jpeg I guess something wrong with apache server configuration.
December 15, 20178 yr Without seeing the site it is impossible to tell. The core is not doing it, the only way I can see it happening is if you have resources statically programmed in.
January 12, 20188 yr Author [SOLVED] It was Cache Control Issue . Cache Control was with a max age of a week. Purging with cloudflare fixed the issue.
Create an account or sign in to comment