Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Server-side caching? CSS files fine... PHP files not
I’m updating some files on my server – I’m using PHP, HTML, CSS etc. The CSS seems to be updating when I replace them on my server but the .inc/.php files aren’t. I have checked their contents on the server and they are showing the updated content.
I have checked this on a phone on a different network, in case it was DNS/ISP caching but it’s the same issue.
Is there any caching that comes with DO? I am using the one-click LAMP install. I’ve never had this issue on other servers before… only encountered it on DO.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×