Hosting all my avatars and attachments at digitalocean.
I'm running a webpage speedtest and get the following results:
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/0/12.jpg?1591241740
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/1/1150.jpg?1592616131
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/4/4425.jpg?1594474688
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/0/74.jpg?1593843097
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/0/233.jpg?1594588261
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/4/4103.jpg?1594113547
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/1/1130.jpg?1594341204
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/3/3289.jpg?1593013887
FAILED - (15.0 minutes) - https://www.googletagmanager.com/gtag/js?id=UA-60315118-2
WARNING - (1.2 hours) - https://www.google-analytics.com/analytics.js
WARNING - (24.0 hours) - https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/0/778.jpg?1585394897
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/1/1638.jpg?1532603689
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/3/3400.jpg?1582497580
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/1/1486.jpg?1484431959
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/3/3521.jpg?1583308752
I'm using file type caching in htaccess and this appears to be working for other images.
1> why do some of my digitalocean items have a 24 hour cache and some none when they are loading from the same page?? I can't figure that out.
2> how can I cache these avatars?
I'm running a webpage speedtest and get the following results:
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/0/12.jpg?1591241740
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/1/1150.jpg?1592616131
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/4/4425.jpg?1594474688
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/0/74.jpg?1593843097
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/0/233.jpg?1594588261
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/4/4103.jpg?1594113547
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/1/1130.jpg?1594341204
FAILED - (No max-age or expires) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/3/3289.jpg?1593013887
FAILED - (15.0 minutes) - https://www.googletagmanager.com/gtag/js?id=UA-60315118-2
WARNING - (1.2 hours) - https://www.google-analytics.com/analytics.js
WARNING - (24.0 hours) - https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/0/778.jpg?1585394897
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/1/1638.jpg?1532603689
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/3/3400.jpg?1582497580
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/1/1486.jpg?1484431959
WARNING - (24.0 hours) - https://webxxx5.nyc3.digitaloceanspaces.com/data/avatars/s/3/3521.jpg?1583308752
I'm using file type caching in htaccess and this appears to be working for other images.
1> why do some of my digitalocean items have a 24 hour cache and some none when they are loading from the same page?? I can't figure that out.
2> how can I cache these avatars?