Saha Posted December 14, 2017 Share Posted December 14, 2017 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. Link to comment Share on other sites More sharing options...
0 wakabayashi Posted December 14, 2017 Share Posted December 14, 2017 Hey. For me both links are not working... Link to comment Share on other sites More sharing options...
0 Tomik Posted December 14, 2017 Share Posted December 14, 2017 because he changed the website to abc.com :laughing: Link to comment Share on other sites More sharing options...
0 MockoB Posted December 14, 2017 Share Posted December 14, 2017 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? Link to comment Share on other sites More sharing options...
0 wakabayashi Posted December 14, 2017 Share Posted December 14, 2017 @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 ;) Link to comment Share on other sites More sharing options...
0 lesley Posted December 14, 2017 Share Posted December 14, 2017 Can you give an example of this happening? Likely it means something in your template is done wrong. Link to comment Share on other sites More sharing options...
0 Saha Posted December 15, 2017 Author Share Posted December 15, 2017 @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. Link to comment Share on other sites More sharing options...
0 Tomik Posted December 15, 2017 Share Posted December 15, 2017 could it be your cache ? Link to comment Share on other sites More sharing options...
0 lesley Posted December 15, 2017 Share Posted December 15, 2017 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. Link to comment Share on other sites More sharing options...
0 Saha Posted January 12, 2018 Author Share Posted January 12, 2018 [SOLVED] It was Cache Control Issue . Cache Control was with a max age of a week. Purging with cloudflare fixed the issue. Link to comment Share on other sites More sharing options...
Question
Saha
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.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now