Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Caching images

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #30795
    jtbixler
    Member

    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.

    #72338
    TheDoc
    Member

    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.

    #72339
    jtbixler
    Member

    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.

    #72340
    TheDoc
    Member

    Still too large of a file, regardless.

    #72341
    Argeaux
    Participant

    if i save it for web to 50% of the quality in photoshop, it still looks the same and is 685 kb.

    #72342
    jtbixler
    Member

    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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Other’ is closed to new topics and replies.