Using Newrelic I've found out that 65% of load on my web server was created from the 404 rendering of static resources, because the 404 page was rendered also for the missing static resources (jpg, png, css, js).

enter image description here

And because 404 error pages are not cached.

Now I've added some lines to the .htaccess to solve the problem for the static resources but I would also like to cache the 404 page. Is there a workaround to achieve this task?

enter image description here enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.