There is a configuration item called "no_cache" in the option of the module's routing.yml.
If set to "TRUE", it is defined as a non-cacheable route, is this valid for both "Internal Page Cache" and "Dynamic Page Cache"?
I am new to Drupal and was tasked with the project or upgrading a website from Drupal 8 to 9. I was able to get the site up to 8.9 with php7.4, but I am having problems going from 8.9 to 9. I run the Upgrade Status report before and made sure to update all the modules with composer, but I am still getting this error when visiting the site after install 9.4.3. Again I am very new to Drupal so if this post is in the wrong place please let me know!
I believe some HTACCESS solution might be possible, but not sure how.
I use a script that creates boilerplate drupal module.
I created a folder inside the "modules" folder to store this code, but if the generated code has any issue, my site stops working since Drupal tries to read this code and consider this as a real module.
I placed this folder in a different directory, and that solved the problem, but having it inside the modules folder itself would be more logical and easy to maintain.