분야 "Performance" tricks

최적화 명령어들
최적화 명령어들 php artisan optimize php artisan config:cache php artisan route:cache 최적화 명령어로 생성된 캐시 삭제 명령어들 php artisan clear-compiled php artisan config:clear php artisan route:clear php artisan view:clear…
Submitted 8 years ago in Performance
3737
0
0
세션 사용하지 않기
세션이 필요가 없는 경우, 세션의 사용은 큰 자원의 낭비이다. API 서비스 등이 대표적인 예일 것 같다. 다음 필터를 사용하면 특정 라우팅에 대해서 세션을 사용하지 않도록 할 수 있다.…
Submitted 9 years ago in Session, Performance
2504
0
0
1픽셀 투명이미지 출력하기
별도의 이미지 파일을 두지 않고 (IO를 줄이기 위해서) 가로, 세로 1 픽셀짜리 투명 이미지를 출력하는 방법 $img =…
Submitted 10 years ago in Performance
3764
0
0