Uploaded image for project: 'SmartSprites'
  1. SmartSprites
  2. SMARTSPRITES-61

Image size and HTTP requests savings report

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.3.0
    • Labels:
      None

      Description

      Motivation

      As the aim of SmartSprites is to decrease the size of the assets downloaded from the server and the number of HTTP requests, it would be good to print some information about the savings after processing completes.

      Implementation

      After SmartSprites completes processing, it should print out an INFO-level message containing the following information:

      • number of sprites created
      • for each sprite: size of the sprite, total size of the sprite's images, download size saving ((imagesSize - spriteSize)/imagesSize)
      • total download size savings ((allImagesSize - allSpritesSize + allSpriteCssSize)/(allImageSize + allOriginalCssSize))
      • total number of requests saved (numberOfImages - numberOfSprites)

        Attachments

          Activity

            People

            • Assignee:
              stachoo Stanisław Osiński
              Reporter:
              stachoo Stanisław Osiński
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: