{"id":102585,"date":"2019-04-23T04:46:20","date_gmt":"2019-04-23T04:46:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/peakhour\/"},"modified":"2023-09-19T06:22:34","modified_gmt":"2023-09-19T06:22:34","slug":"peakhour","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/peakhour\/","author":17009900,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"trunk","tested":"6.6.5","requires":"4.6.2","requires_php":"","requires_plugins":null,"header_name":"Peakhour","header_author":"Peakhour","header_description":"Integrate your Wordpress installation with peakhour.io website accelerator","assets_banners_color":"","last_updated":"2023-09-19 06:22:34","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/peakhour.io\/","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1936,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.3.1":{"tag":"0.3.1","author":"ddalessa","date":"2019-04-23 04:47:21"},"1.0":{"tag":"1.0","author":"ddalessa","date":"2023-03-17 03:21:52"},"1.0.1":{"tag":"1.0.1","author":"ddalessa","date":"2023-03-26 23:31:30"},"1.0.2":{"tag":"1.0.2","author":"ddalessa","date":"2023-09-14 04:39:29"},"1.0.3":{"tag":"1.0.3","author":"ddalessa","date":"2024-10-01 07:57:04"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2072868,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2072868,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3.1","1.0","1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2072864,"resolution":"1","location":"assets","locale":"","width":1688,"height":1161}},"screenshots":{"1":"Peakhour administration Tab"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[144,3863,170537,247,600],"plugin_category":[52,54,55],"plugin_contributors":[170538],"plugin_business_model":[],"class_list":["post-102585","plugin","type-plugin","status-publish","hentry","plugin_tags-caching","plugin_tags-cdn","plugin_tags-peakhour","plugin_tags-performance","plugin_tags-security","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_category-seo-and-marketing","plugin_contributors-ddalessa","plugin_committers-ddalessa"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/peakhour\/assets\/icon-128x128.png?rev=2072868","icon_2x":"https:\/\/ps.w.org\/peakhour\/assets\/icon-256x256.png?rev=2072868","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/peakhour\/assets\/screenshot-1.png?rev=2072864","caption":"Peakhour administration Tab"}],"raw_content":"<!--section=description-->\n<p>This plugin will automatically flush Peakhour's global CDN when editing posts,pages,media through the wordpress admin.\nIt also enables manual flushing based on URL patterns from within the wordpress admin.<\/p>\n\n<!--section=installation-->\n<h4>From within wordpress<\/h4>\n\n<ol>\n<li>Log in to your wordpress admin<\/li>\n<li>Click on Plugins in the left menu<\/li>\n<li>Click on the 'Add New' button at the top of the page<\/li>\n<li>Search for 'Peakhour', we should be the first result!<\/li>\n<li>Click on 'Install Now'<\/li>\n<li>Activate from your installed plugin page<\/li>\n<li>Click on Peakhour.io in the left menu<\/li>\n<\/ol>\n\n<h4>Then in a new tab\/browser window<\/h4>\n\n<ol>\n<li>Log in to your Peakhour account at peakhour.io<\/li>\n<li>Click on 'API Keys' in the left menu<\/li>\n<li>Enter the name of your domain in the API key name and click 'Create'<\/li>\n<li>Copy the generated API key and paste it into the 'Peakhour API key'<\/li>\n<li>Go back to your wordpress window and paste the API key into the 'Peakhour API key' field<\/li>\n<li>enter your domain name (do not enter www or http:\/\/ etc)<\/li>\n<li>Click on 'Save Changes' at the bottom of the page<\/li>\n<li>Click on the 'Test connection' button that will now appear in the 'Connection Settings' section<\/li>\n<\/ol>\n\n<h4>Back in the Peakhour admin, configure cache settings<\/h4>\n\n<ol>\n<li>Click on 'Domains' in the left menu<\/li>\n<li>Now click on the 'Manage' button on the right of your domain<\/li>\n<li>In the left navigation find CDN -&gt; Settings and click<\/li>\n<li>Under the Skip CDN on cookie setting enter 'wordpress_logged_in*', this will cause the cache to be skipped for logged in users. <\/li>\n<li>Tick the 'Ignore requests that invalidate'<\/li>\n<li>Towards the bottom of the page find the 'Tag Header Name' setting and enter 'X-Cache-Tags'<\/li>\n<li>Next look at the 'Tag Separator' setting and select 'comma'<\/li>\n<li>Save the settings.<\/li>\n<\/ol>\n\n<h4>Configure Caching rules<\/h4>\n\n<p>If wordpress is not sending cache control headers, this plugin won't, then caching rules need to be set up. The following are for a standard\nwordpress information site. If you have additional functionality, eg woocommerce, then additional configuration will be required.<\/p>\n\n<ol>\n<li>Continuing on from the configure cache settings section and find EDGE -&gt; Rules in the left menu<\/li>\n<li>As a safeguard add in three no caching rules.\n2.1 Enter 'php' as the rule name, 'ends_with(http.request.uri.path, \".php\")' as the filter, add the setting 'CDN Status' and select disabled. Save\n2.2 Enter 'wp-admin' as the rule name, 'http.request.uri.path eq \"\/wp-admin\/\"' as the filter, add the setting 'CDN Status' and select disabled. Save<\/li>\n<li><p>Add in the general caching rule. Enter 'general page caching' as the rule name, 'ends_with(http.request.uri.path, \"\/\")' as the filter, then add:\nCDN Status = enabled\nStrip Outgoing Cookies = enabled\nStrip Cookies from response = enabled\nIgnore Cache Headers = enabled\nRequire Cache-Control for caching = disabled\nBrowser TTL = don't cache\nCDN TTL = 30 days<\/p>\n\n<p>Save<\/p><\/li>\n<\/ol>\n\n<p>You can of course make the CDN TTL longer or shorter as required.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20i%20need%20a%20peakhour%20account%3F'><h3>Do I need a Peakhour account?<\/h3><\/dt>\n<dd><p>Yes you will need to sign up for the Peakhour service at https:\/\/www.peakhour.io\/app\/signup\/,\nall new domains get a free trial<\/p><\/dd>\n<dt id='do%20i%20need%20to%20do%20anything%20else%3F'><h3>Do I need to do anything else?<\/h3><\/dt>\n<dd><p>The service will work out of the box but you will probably want to start caching full pages by setting up\npage rules, see our https:\/\/www.peakhour.io\/support\/page-rules\/ guide to get started.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<p><em>Added<\/em>\n* Option to exclude home page from post purging.<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p><em>Fixed<\/em>\n* Manuel purge by single url<\/p>\n\n<h4>1.0.0<\/h4>\n\n<p><em>Added<\/em>\n* Flushing based on cache tags, people upgrading make sure you configure Cache tags.<\/p>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Support php 5.4<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<p><em>Added<\/em>\n* headers to show the requesting wordpress url and referring page for debugging flush requests.<\/p>\n\n<h4>0.3<\/h4>\n\n<p><em>Added<\/em>\n* Option to Strip 'ver=' parameters off static resources.<\/p>\n\n<h4>0.2<\/h4>\n\n<p><em>Added<\/em>\n* Add manual flushing options\n* Ability to remove homepage from automatic flushing if your homepage doesn't display posts etc<\/p>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Flush post\/page\/category when editing through wordpress admin.<\/li>\n<\/ul>","raw_excerpt":"Seamlessly integrate wordpress with Peakhour&#039;s performance and security service. Peakhour can dramatically improve your page load times, block th &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/102585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=102585"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ddalessa"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=102585"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=102585"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=102585"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=102585"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=102585"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=102585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}