This content originally appeared on DEV Community and was authored by Kaziu
There was like this conversation
π©βπ» π»π³ - my friend who lives in Vietnam
π¨βπ π΅π± - me, lives in Poland
π©βπ» π»π³ I fixed CSS and it was good in my local environment,
but in test environment(AWS) doesn't change anything
π¨βπ π΅π± aha
π©βπ» π»π³ could you check it on your PC?
π¨βπ π΅π± sure .... tadaaam css is changed on my PC
π©βπ» π»π³ what?? yeah exactly...
π¨βπ π΅π± Have you tried deleting cache?
π©βπ» π»π³ Yeah, I've tried it at first
π¨βπ π΅π± hmm... could you try to use incognito chrome?
π©βπ» π»π³ Just moment ... it turns out same result...
π¨βπ π΅π± on incognito chrome as well ??? Maybe CDN cache??
π©βπ» π»π³ How can I check it ?
π¨βπ π΅π± chrome devtool > Network > Headers > X-cache
I see I get css file from CDN(AWS cloudfront)
π¨βπ π΅π± and age means the time when this file was created.
so I get file which is created 118 seconds ago on CDN
π¨βπ π΅π± How is it on your PC?
π©βπ» π»π³ age is 279313, so almost 3days ago ! this is the reason !!
This content originally appeared on DEV Community and was authored by Kaziu
Kaziu | Sciencx (2022-04-15T20:47:49+00:00) “Why only my friend’s PC doesn’t change CSS π±” ~Real story on my project~. Retrieved from https://www.scien.cx/2022/04/15/why-only-my-friends-pc-doesnt-change-css-%f0%9f%98%b1-real-story-on-my-project/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.