Page Speed Optimization Libraries
1.13.35.1
|
#include "net/instaweb/http/public/request_context.h"
#include "net/instaweb/rewriter/public/cacheable_resource_base.h"
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"
Go to the source code of this file.
Classes | |
class | net_instaweb::GoogleFontServiceInputResource |
Namespaces | |
net_instaweb | |
Unit-test framework for wget fetcher. | |
Special input resource for http://fonts.googleapis.com CSS, needed due to the UA dependence. The font service delivers different loader CSS for different user agents (optimizing the font differently), and therefore delivers its output as cache-control: private, making it normally untouchable for us. This class overrides that restriction by instead incorporating the UA string into the cache key we use and stripping the cache-control: private header.