Question about a problem with a .JS file

Hello friends!

Please clarify a doubt for me!

Is there something like a cache in hestiacp that prevents the immediate execution of the .js file after upload?

I had the same problem with PHP, so I disabled opcache.enable, which solved my problem with PHP, but with .js javascript files, the same thing happens. After uploading, if I load the page immediately, every now and then I get the following error (failure) net::ERR_HTTP2_PROTOCOL_ERROR 200 (OK)

But it’s not an error in the code. After waiting a few seconds or minutes, just refresh the page and it loads normally.

Does anyone know anything like this?

Ive actually encountered the same problem.
Any js or css file edited and uploaded usually doesnt load properly for a minute or so. Im wondering where the problem might be.

I also encounter the exact same problem.
If a staff member could help us, I’d be very gratful!

Check this post:

1 Like

Thanks for the reply.
Would that affect any updates? (When updating configuration files, would editing these files manually affect anything?)

1 Like

If you create a new template with a new name, it won’t be overwritten in the next update. But remember that you should assign that new template to your web domain.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.