WordPress.org

Ideas

the post thumbnail

  1. everyeurocounts
    Inactive

    12345

    As google page speed penalizes non-optimized / scaled images quite heavily and php resize functions add to load time i would suggest a rewrite of the post thumbnail function to something like this:

    1. check for screen size cookie
    2. If no cookie exists, output the url in a data-url attribute and a responsive placeholder -- no script to load background images with media queries
    3. js detect screen size, set cookie
    4. js load size closest matching screen width

    Posted: 2 years ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    Thats being worked on in 4.4

    Posted: 2 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    1 Vote
  • Status

    Good idea! We're working on it