A
A
Alex Raven2021-12-28 18:59:45
Amazon Web Services
Alex Raven, 2021-12-28 18:59:45

AWS Lightsail why is the site not updating instantly?

Hello! We use AWS Lightsail for site staging. There are about a dozen of them, which is convenient, because raising a new instance is a matter of one minute. We use Wordpress + Bitnami. Then we just transfer the files and the database from the dev server.

And this is where the problem arises. If you make any changes to any script (for example, a plugin file) manually on AWS, then the changes will be displayed only after a few minutes. Everything is fine on the dev server - all changes are displayed instantly (it is custom, built under ubuntu + apache). This is quite inconvenient, because sometimes you need to quickly fix a bug and want to immediately see that it works.

I understand that it's some kind of cache from Bitnami. Does anyone know how to turn it off? I will be very grateful for the answer. The cache during development is very annoying.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Raven, 2021-12-28
@alexraven

UPD: I apologize, it was not in AWS, but in cloudflare, where it was necessary to enable DEV MODE for the domain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question