{"id":18609819,"url":"https://github.com/unlight/pagespeed","last_synced_at":"2025-11-02T20:30:29.713Z","repository":{"id":138161151,"uuid":"1420711","full_name":"unlight/PageSpeed","owner":"unlight","description":"Garden plugin.","archived":false,"fork":false,"pushed_at":"2012-08-11T07:17:32.000Z","size":140,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-27T01:25:44.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unlight.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-28T08:25:20.000Z","updated_at":"2020-03-04T17:06:21.000Z","dependencies_parsed_at":"2023-03-11T06:41:27.905Z","dependency_job_id":null,"html_url":"https://github.com/unlight/PageSpeed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2FPageSpeed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2FPageSpeed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2FPageSpeed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2FPageSpeed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlight","download_url":"https://codeload.github.com/unlight/PageSpeed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239400596,"owners_count":19632049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T03:07:22.053Z","updated_at":"2025-11-02T20:30:29.642Z","avatar_url":"https://github.com/unlight.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"DESCRIPTION\n===========\nMinimizes payload size (compressing css/js files), minimizes round-trip times \n(loads JQuery library from CDN, combines external JavaScript/CSS files). \nInspired by Google Page Speed rules.\n\nBEFORE INSTALL DISABLE ALL OTHER PLUGINS WHICH DOING THE SAME (such as Minify, etc.)\n\nWHAT THIS PLUGIN DO?\n====================\nTry to apply Google web performance best practices.\nhttp://code.google.com/speed/page-speed/docs/rules_intro.html\n\nGOOGLE WEB PERFORMANCE BEST PRACTICES\nCombine external CSS\t\t[DONE]\nMinify CSS\t\t\t\t\t[DONE]\nAvoid CSS @import\t\t\t[DONE]\nCombine external JavaScript [DONE]\nMinify JavaScript\t\t\t[DONE]\nEnable compression\t\t\t[DONE]\nLeverage browser caching\t[SERVER JOB]\nParallelize downloads across hostnames\t[DONE]\nRemove unused CSS\t\t\t[DEVELOPER JOB]\nUse efficient CSS selectors\t[VANILLA ALREADY]\nMinify HTML\t\t\t\t\t[VANILLA ALREADY]\nOptimize images\t\t\t\t[DEVELOPER JOB]\nSpecify image dimensions\t[DONE]\nAvoid bad requests\t\t\t[DEVELOPER JOB]\nCombine images into CSS sprites\t[TODO, DEVELOPER JOB]\nInline Small CSS\t\t\t[NO NEED]\nInline Small JavaScript\t\t[NO NEED]\nMinimize DNS lookups\t\t[VANILLA USE URL PATHS]\nMinimize redirects\t\t\t[?]\nMinimize request size\t\t[VANILLA IS GOOD HERE]\nOptimize the order of styles and scripts\t[VANILLA ALREADY]\nSpecify a Vary: Accept-Encoding header\t\t[SERVER JOB]\nPrefer asynchronous resources\t\t\t\t[?]\nPut CSS in the document head\t\t\t\t[VANILLA ALREADY]\nRemove query strings from static resources\t[DONE]\nServe resources from a consistent URL\t\t[?]\nServe scaled images\t\t\t\t\t\t\t[?]\nSpecify a cache validator\t\t\t\t\t[?]\nSpecify a character set early\t\t\t\t[?]\nDefer loading of JavaScript (Put JavaScript at bottom)\t\t[DONE]\n\nWHAT THIS PLUGIN CAN DO?\n========================\n\n1. Loads JQuery library from CDN Google server.\n\n2. Minify JavaScript\n\tWARINING! Javascript files minifed by remote service http://marijnhaverbeke.nl/uglifyjs\n\tYour web-server must support sockets or curl library.\n\tUglifyJS is a JavaScript parser / mangler / compressor / beautifier library for NodeJS.\n\t\n3. Combine external JavaScript\n\tCombined in three groups library, applications and plugins.\n\tOr all in one (see configuration section).\n\t\n4. Avoid CSS @import\n\tIf you have custom theme. You may have such style.css, for example:\n\t@import url('reset.css');\n\t@import url('typography.css');\n\t@import url('menu.css');\n\t@import url('activity.css');\n\t@import url('errors.css');\n\t\n\tAll these css files will be merge to one.\n\t\n5. Enable compression\n\tUsually it is server job. Apache/mod_deflate\n\tIf your server has deflate_module add in .htaccess file:\n\t\u003cIfModule mod_deflate.c\u003e\n\t\t\u003cFilesMatch \"\\.(css|js)$\"\u003e\n\t\t\tSetOutputFilter DEFLATE \n\t\t\u003c/FilesMatch\u003e\n\t\u003c/IfModule\u003e\n\t\n\tIf no deflate_module, add following lines in your .htaccess file to enable compression\n\tfor CSS and JS files:\n\t\u003cFilesMatch \"\\.(css|js)$\"\u003e\n\t\tForceType application/x-httpd-php\n\t\tphp_value auto_prepend_file \"/absolute/path/to/vanilla/plugins/PageSpeed/gzip.handler.php\"\n\t\u003c/FilesMatch\u003e\n\n6. Defer loading of JavaScript\n\nCONFIGURATION (DEFAULTS)\n========================\n$Configuration['Plugins']['PageSpeed']['DisableMinifyCss'] = False;\n\tDisable compressing css code.\n\t\n$Configuration['Plugins']['PageSpeed']['CDN']['jquery'] = '1.6';\n$Configuration['Plugins']['PageSpeed']['CDN']['jqueryui'] = '1.8';\n\tLoads desired version of jQuery and jQueryUI.\n\n$Configuration['Plugins']['PageSpeed']['CDN']['jqueryui-theme'] = 'smoothness';\n\tjQueryUI theme name.\n\n$Configuration['Plugins']['PageSpeed']['AllInOne'] = 0;\n\tValues:\n\t1 - all css and javascript files combined into one file\n\t2 - minify javascript only\n\t0 (Default) - three groups (library, applications, plugins)\n\t\n$Configuration['Plugins']['PageSpeed']['DeferJavaScript'] = 0;\n\tDefer loading of JavaScript (JavaScript at bottom).\n\tValues:\n\t1 - just put \u003cscript\u003e tags at bottom\n\t2 - dynamic loading, http://code.google.com/speed/page-speed/docs/payload.html#DeferLoadingJS\n\n$Configuration['Plugins']['PageSpeed']['ParallelizeEnabled'] = False;\n\tEnables/disables parallelize downloads.\n\t\n$Configuration['Plugins']['PageSpeed']['ParallelizeHosts'] = array('static1.example.com', 'static2.example.com', 'static3.example.com');\n\tParallelize downloads across this hosts.\n\t\n$Configuration['Plugins']['PageSpeed']['JoinLocaleSources'] = False;\n\tAllow join locale source files to one (server side optimization).\n\t\n$Configuration['Plugins']['PageSpeed']['SetImageDimensions'] = False;\n\tNOTE! REMOVED SINCE 1.60\n\tIf image attributes height and width not specified, this option enables post-processing\n\tand set height/width for all images of entire html content.\t\n\t\n$Configuration['Plugins']['PageSpeed']['MinifyCss'] = True;\n\tCompress css code.\n\tNOTE: REMOVED SINCE 1.86.\n\tReplaced by $Configuration['Plugins']['PageSpeed']['DisableMinifyCss'] (inverted)\n\nPOSSIBLE PROBLEMS\n=================\n1.\tIf you installed vanilla into directory you may have problems with images in css.\n\tMaybe other errors (No such file).\n\n2.\tRemote compression javascript code service can be down.\n\n\nCHANGELOG\n=========\n1.91 (10 Aug 2012)\n- fixed importing css url\n- removed feature join locale sources\n\n1.90 (23 Dec 2011)\n- checking mtime files in cache directory\n\n1.89 (20 Dec 2011)\n- removed hardcoded Cdns in 2.1a6\n\n1.88 (7 Dec 2011)\n- fixed regexp in parallelize downloads (only images and scripts)\n\n1.87 (25 Nov 2011)\n- handle multiple javascript onload\n\n1.86 (5 Nov 2011)\n- allow turn off plugin\n- new option \"Disable compressing css code\"\n- allow join locale source files to one (server side optimization)\n\n1.80 (28 Oct 2011)\n- GUI settings\n- new way getting cached file (checking version, dont use filemtime() anymore)\n\n1.73 (13 Oct 2011)\n- parallelize downloads\n\n1.72 (13 Oct 2011)\n- various DeferJavaScript options\n\n1.70 (12 Oct 2011)\n- new feature: DeferJavaScript\n\n1.60 (unknown date)\n- removed AbsoluteSource()\n- removed SetImageDimensions feature\n\n1.50 (7 Aug 2011)\n- new config option AllInOne\n- improvements of css processing\n\n1.40 (19 Jun 2011)\n- set image dimensions\n- loading jqueryui css theme from CDN\n- themes group files moved to library group\n\n1.30 (19 May 2011)\n- loading jqueryui from cdn\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fpagespeed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlight%2Fpagespeed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fpagespeed/lists"}