I am having php web application on t3.small ec2 instance.
webserver : nginx
gzip on;
gzip_vary on;
gzip_min_length 10240;
gzip_proxied expired no-cache no-store private auth;
gzip_disable "MSIE [1-6]\.";
gzip_comp_level 6;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
For large html output server response time is 500ms. How to reduce response time? Should i change server type or else?
Update
Precise timings for pages and let us know the page size?
Page Load without gzip:
Load time: approx 250ms Page Size: 150kb
Page Load with gzip:
Load time: approx 512ms Page Size: 44kb
Each request generate user specific page without caching.
Screenshot of your CPU credits over the past week.