I recently needed to add a staging environment to my single page apps (SPA) hosted on S3 and served through an existing CloudFront distribution. My bucket layout looked like this: Rather than stand up a second distribution, I decided to serve stage traffic from the same CF endpoint—simply by swapping the S3 origin path at runtime. The natural […]
Tag: Web Development
Generating Config Cache in Laravel Serverless Deployments
Laravel applications can be successfully deployed to AWS serverless infrastructure using projects such as Bref. On deployments, for optimal performance you want to create cached files for your configuration, events, routes, and views by using php artisan optimize. One challenge with compiled Laravel configuration files is that they generate absolute, environment-dependent paths. This behavior can […]
How to check your website’s performance?
Just recently, a friend of mine asked me about “website analysis tool”. I got interested and immediately started asking questions. What would you like to analyze? Performance? SEO? Accessibility? “We would like to check our website for performance.”, he says. Luckily, a couple well established tools exists that are designed to do just that. I […]
How to monitor your website’s position in Google?
The free Google Search Console service is used to monitor the position of your website in Google search results. It provides valuable insights, such as the position your pages occupy for selected keywords, the number of people who clicked on your website, the keywords they used, which of your pages are the most popular for […]