Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gouseferoz's avatar

My server is not loading the latest files.

Hey Guys,

I have a website on nginx server and today it is loading old content instead of new content.

I have checked the server and the content is new there. Dont know why it is behaving like this. It was alright till the evening.

Can any help me whats going on?

Regards,

0 likes
7 replies
jlrdw's avatar

You may have some cached content.

gouseferoz's avatar

@JLRDW - I did clear cache using php artisan cache:clear. But its of no use

Snapey's avatar

Do you use any front end caching service like Cloudflare?

gouseferoz's avatar
gouseferoz
OP
Best Answer
Level 2

@SNAPEY - no i dont have any caching service.

However i renamed the view file and used the new file and it worked.

Not sure what is the root cause of it.

I did clear the view using artisan clear:view , it didnt work though

kevinc's avatar

Do you have any other server based caching? Varnish for example?

mironmg's avatar

maybe you had some compiled view files... try running view:clear as well when you clear the cache. This would most likely fix it

Please or to participate in this conversation.