please I have deployed Laravel project to a cPanel, but when the laravel website is not visited for few hours, I revisited the website and it was loading long before it showed its contents. Is there any way I can use to make the laravel website running always?
Related
I'm currently working on a Laravel + Vue application with inertia. Running my local environment with sail, everything works perfectly on my local machine,
but deploying it on ec2 instance I'm facing problems that I find strange.
I already made sure that I have the same version of php, node , npm , vite on sail.
Example Scenario:
On one of the SPA pages when adding a record, it won't reflect on the page
but would show after you add another record or refresh the page. (it's like fetching the previous state )
the same for update and delete.
I put a console.log on my axios call on getting the data "console.log(response.data)"
and it is really not returning the updated data.
Its hard to replicate on my local machine since it is working fine, but just having this problem only in EC2. Appreciate the help
I'm working on a Laravel, Jetstream InertiaJS with SSR support and VueJS project locally. Whenever I refresh the page it takes a while to show me the content of the page. I'm worried that this might happen in production as well.
The project is really empty, it's a brand new project and I haven't done anything yet.
I used chrome performance recorder to see what is taking time the most and here is the outcome:
Any other Laravel project that I have works super fast except any project that I install with InertiaJS SSR. Has anyone tried it in production?
We are trying hard to deploy Laravel website with Wordpress on Laravel Forge but are unable to do so.
Say, if our domain is example.com, the blog should be example.com/blog. However, what we currently have is blog.example.com, which is not serving the purpose.
It'd be great if someone can help us find a fix for deploying Laravel project with Wordpress on Laravel Forge without changing the URL structure.
Please I have the same problem can integrate tawk chat on my existing laravel website in cpanel , I need your support can anyone explain to me the step by step I added the code in app.blade but still not working , I can't find main.blade in my views
I move the project from shared hosting to VPS hosting now everything working fine such as inner pages, design, image loading but I am unable to login and signup now.
When I submit the login/Signup form it will redirect to the same page but without any error message.
And I also generate the Token via command do I need to do anything more to make it work.
I also check the laravel.log file and other things but unable to solve this.
Can anybody face the same issue
Issue is I do not create the session folder to store the session of Laravel 5.4