#include "critical_images_finder.h"
Public Member Functions | |
virtual bool | IsCriticalImage (const GoogleString &image_url, RewriteDriver *driver) const |
Checks whether the requested image is present in the critical set or not. | |
virtual void | UpdateCriticalImagesSetInDriver (RewriteDriver *driver) |
Gets critical images and update the critical images set in RewriteDriver. | |
virtual void | ComputeCriticalImages (StringPiece url, RewriteDriver *driver, bool must_compute) |
Compute the critical images for the given url. |
Finds critical images i.e. images which are above the fold for a given url. This information may be used by DelayImagesFilter.