- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’m working on a new theme for my site and the background image is 1.3mb and I was wondering of there is anyway to cache that so load times are a bit faster. Would it help if the fonts were cached as well? Not sure if this is an other or php discussion.
First of all, there is absolutely no way your background image should be 1.3mb. No way at all.
Having said that, here is a way using .htaccess to cache images:
# cache images and flash content for one month
Header set Cache-Control "max-age=2592000"
But let me reiterate, there is no way your image should be 1.3mb.
Thanks for the tip, and the reason that it’s that large is because I’m having it expand to fit large monitors and it’s 2563px x 2563px.
Still too large of a file, regardless.
if i save it for web to 50% of the quality in photoshop, it still looks the same and is 685 kb.
I was wondering what would be the best way to reduce the size, I’ll have to wait until next Monday to use photoshop at school.