Linux 软件免费装
Banner图

Pre* Party Resource Hints

开发者 samperrow
更新时间 2024年2月18日 02:36
捐献地址: 去捐款
PHP版本: 7.0.0 及以上
WordPress版本: 6.3.1
版权: GPLv2 or later
版权网址: 版权信息

标签

speed performance prefetch preload prerender preconnect DNS prefetch resource hints

下载

1.7.6.3 1.0.0 1.7.81 1.8.1 1.8.11 1.8.12 1.8.13 1.7.82 1.8.0 1.7.4.3 1.7.7 1.7.7.2 1.7.7.3 1.7.7.4 1.7.8 1.5.8 1.7.0 1.7.1 1.7.3 1.8.19 1.7.4 1.8.14

详情介绍:

This plugin allows users to automatically and easily embed resource hints to improve page load time. DNS prefetch, prerender, preconnect, prefetch, and preload are all supported. After installation, preconnect hints will automatically be created the next time your website is visited. You have the choice to include these resource hints in the HTTP header or the website's .

安装:

  1. Upload the entire pre-party-browser-hints folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

屏幕截图:

  • screenshot-2.png
  • screenshot-3.png
  • screenshot-4.png

更新日志:

  1. Most recent update: February 17, 2024
  2. Version 1.8.20 February 17, 2024:
  3. updated sql query to prevent sqli issue. January 13, 2024:
  4. fixed sql injection issue. November 11, 2023:
  5. ensured compatibility with WP 6.4+
  6. made small change to plugin activation process and file structure. October 6, 2023:
  7. maintenance update. July 22, 2023:
  8. updated to ensure compatibility with WP 6.3+ Jan 15, 2023:
  9. updated to ensure compatibility with WP 6.1+
  10. updated unit tests May 16, 2022:
  11. ensured compat with WP 6.0 Jan 23, 2022:
  12. ensured compatibility with WP 5.9.0 Dec 7, 2021:
  13. Fixing two bugs relating to compatibility with other plugins.
  14. the database table will be deleted when uninstalling plugin. Nov 16, 2021:
  15. Adding compatibility for Pre* Party Pro. When activated, the Pro version allows for resource hints to be added to specific posts, automatically generated prerender, preconnect, and preload hints for each post.
  16. Improved plugin architecture also. Sept 7, 2021:
  17. Changed minimum role capability required to use this plugin from "update_plugins" to "manage_options" to address a plugin compatibliity error ("Disable All WordPress Updates").
  18. Updated/added support for translations.
  19. Changed hint creation process to use back end validation/config instead of client side JS.
  20. Split up "auto preconnect" code into two classes for admin and client side roles.
  21. Split "Utils" class into two Utilities classes, and modified namespaces.
  22. Improved JSON parsing. August 18, 2021:
  23. Fixed/improved numerous things. August 9, 2021:
  24. Fixed JSON parsing error which happened for < PHP 7.3 users. Thank you to the users who pointed it out. July 30, 2021:
  25. fixed JS error from "auto prefetch" feature. July 26, 2021:
  26. Fixed error preventing new hint attributes from being selected/unselected as they should be. June 29, 2021:
  27. fixed some bugs relating to prefetch settings, and auto preconnect. June 23, 2021:
  28. converted settings sections to be meta boxes.
  29. numerous other updates, tweaks, changes. April 23, 2021:
  30. Fixed bug preventing users from selecting crossorigin and media attribute. April 22, 2021:
  31. fixed small bug which occurs when editing existing hints. April 18, 2021:
  32. Fixed issue updating hints, setting the proper attributes, and hint verification.
  33. Made minor changes to UI. March 28, 2021:
  34. fixed issue updating hints.
  35. fixed issue with type_attr not saving properly. March 23, 2021:
  36. replaced missing "Reset" button for auto-preconnect hints.
  37. optimized CRUD operations for db table. March 15, 2021:
  38. added 'Media' attribute/column field (for preload hints).
  39. organized/cleaned up Settings page UI.
  40. organized architecture of codebase, incoorporated lots of unit tests. December 23, 2020:
  41. fixed issue with creating hints, and made the hint creation process more uniform.
  42. added support for the ".webm" video type
  43. improved testing, error handling, a few other architectural adjustments. December 13, 2020:
  44. Updated/simplified class names and removed/added some classes
  45. Organized architecture
  46. added the ability to automatically prefetch hints (thanks to Gijo Varghese, who allowed me to borrow his Flying Pages JS script)
  47. ensured compatibility with WP 5.6 December 13, 2020:
  48. Updated/simplified class names and removed/added some classes
  49. Organized architecture
  50. added the ability to automatically prefetch hints (thanks to Gijo Varghese, who allowed me to borrow his Flying Pages JS script)
  51. ensured compatibility with WP 5.6 November 29, 2020:
  52. Ensured compatibility with WP 5.6.
  53. Added automatic preload hint creation upon hover on front end.
  54. Put all database calls into a single file for better organization, testing abilities (DAO model)
  55. cleaned up/organized other parts of plugin. September 27, 2020:
  56. Added more information about how the "auto-preconnect" feature works.
  57. Cleaned up and added better management of hint creation/update/deletions.
  58. Removed some unneeded code. September 5, 2020:
  59. Modified how auto-preconnect hints are sent by requiring that they be used within six hours of their initiation. Sometimes that file gets cached, and its filename changes by other plugins, and constantly fires requests.
  60. Made minor changes to HTML on pages and file paths. August 3, 2020:
  61. tested WP 5.5 compatbility
  62. corrected bug with updating hints
  63. simplified the sending of and creation of frontend hints
  64. Adjusted translations July 7, 2020:
  65. Replaced hardcoded "wp-admin" URL's with dynamic ones. June 4, 2020:
  66. Fixed plugin compatibility issue. June 3, 2020:
  67. added ability to edit existing hints inline asynchronously.
  68. adding, updating, and deleting hints is now 100% ajax driven.
  69. navigating between tabs will toggle that content's display, instead of including each tab file.
  70. various other improvements to code to improve functionality. April 15, 2020:
  71. fixed URL encoding issue.
  72. plugin update issue. February 2, 2020:
  73. added warning when a cache plugin is active and users choose HTTP header option to let them know to clear cache.
  74. Ensured compat w/ WP 5.3.2 December 8, 2019:
  75. Re-added option to allow resource hints to be sent in the HTTP header.
  76. Small bug fixes November 4, 2019:
  77. Ensured compatibility with WP 5.3
  78. Removed debug console.log message on preconnect.js; other minor change to that file. October 5, 2019:
  79. Entered URL's will no longer be converted to lower case. This is because some sites have case-sensitive URI's. September 28, 2019:
  80. Fixed bug with preconnect-ajax hints.
  81. fixed issue with upgrading db table from v 1.5.8 September 15, 2019:
  82. Dramatically reconfigured plugin. Version 1.6.0 is basically a complete rewrite of all code used. It is more organized, concise, efficient, easy to understand, simple, and user friendly than previously.
  83. The option to add hints in the HTTP header has been removed. This is necessary because that feature will not be compatible with future versions of the plugin.
  84. Moved all plugin settings to the "Settings" tab for easier navigation.
  85. Added ability for users to set the crossorigin, as, and type attributes for hints.
  86. Transformed "Contact" box into a pop up modal. February 16, 2019:
  87. Ensured compatibility with WP 5.1
  88. Removed legacy file
  89. Made minor syntax changes. October 19, 2018:
  90. Tested compatibility with WP 5.0
  91. Tested up to PHP 7.3.0.
  92. Updated github URL. August 9, 2018:
  93. Added a warning indicator on the admin page to let users know that they should not load hints in the HTTP header if they have a cache plugin active, and to notify them to refresh their cache.
  94. Removed the need for jQuery to be loaded dynamically in the "preconnect.js" script, and optimized the code. 100% vanilla JS now!
  95. In the "Request New Feature or Report a Bug" feature, I added some info that gets sent to me to better diagnose potential plugin problems (WP version, PHP version, URL). June 29, 2018:
  96. updated a change in my GitHub username onto file paths that display HTML links on the info tab.
  97. Created a plugin installation video and put it on the readme April 27, 2018:
  98. fixed bug preventing users from deleting or updating resource hint statuses.
  99. fixed bug some users could notice upon installation/reactivation in the admin.php file. April 14, 2018:
  100. Fixed some UI issues on admin page (URL input field not taking up max space, jQuery sometimes not loading).
  101. removed check to see if JS preconnect hint array had items before sending it to db (if it was empty, this caused the script to keep firing over and over).
  102. changed some text in description.
  103. cleaned up old variable's on class-PPRH-display-items.php file. April 2, 2018:
  104. removed unneccessary call on admin side for creating table.
  105. fixed some bugs relating to how URL's are inserted and how the crossorigin attribute is created.
  106. fixed bug in creating the header string.
  107. fixed bug relating to how user options were saved on admin side. March 31, 2018:
  108. improved automatic discovery of external domains by using the Resource Timing API.
  109. cleaned up UI by consolidating form elements and save buttons into one.
  110. improved ability for preload hints 'as' attribute to be determined when user inputs data.
  111. improved sanitization and overall URL entry process.
  112. cleaned up the code which governs how hints are delivered from the db to the browser.
  113. 'crossorigin' attribute is now determined on the back end.
  114. added more detailed information to the Preload information section.
  115. modified db table schema- added 5 columns: 'as_attr', 'type_attr', 'crossorigin', 'header_string', and 'head_string' for those respective attributes which browsers are getting more particular about. The last two columns are helpful for storing the specified links in the db, and delivering them very quickly to the browser.
  116. the improvements above have been able to bring total PHP execution time on the front end down to around 0.07-0.1 milliseconds (that's 0.00007 seconds). Essentially I am shifting more of the calculations/computations to the back end when the user inputs data rather than the front end. Feb 26, 2018:
  117. modified call order of admin.php functions
  118. fixed SQL bug that occurred while deleting previous ajax hints Feb 19, 2018:
  119. Added ability for multisite install's to create a plugin table for each site upon creation.
  120. Added ability for multisite install's to delete the plugin table(s) for each site upon deletion. Feb 4, 2018:
  121. Optimize performance by forcing the PHP files that are needed only on the FE to be loaded only on the FE and same for BE PHP files. Doing this allowed code execution to be reduced from ~6 milliseconds to ~1 millisecond!
  122. Cleaned up some code to reduce amount of code.
  123. Tested compatibility with WP 4.9.2 Dec 22, 2017:
  124. fixed small issue with setting the 'crossorigin' attribute. Nov 17, 2017:
  125. fixed bug preventing resource hints from appearing in the WP admin HTTP header Nov 14, 2017:
  126. Tested compatibility with WP 4.9
  127. Fixed some issues with the resource hint output for the HTTP Header option
  128. Fixed bug that threw an error when inserting hints
  129. fixed bug that prevented plugin from being deleted properly
  130. Changed how the "as" attribute was being set for preload hints. Oct 7, 2017:
  131. Improved code, changed some variable names
  132. renamed class names to be consistent with WP coding standards.
  133. added option to remove auto generated WP resource hints.
  134. segmented each to have its own method.
  135. updated HTTP Header string to make it compatible with the most recent Chrome version and incorporate the 'as' attribute. Sept 20, 2017:
  136. fixed bugs due to WP 4.8.2 changes. Sept 13, 2017:
  137. improved code on class-PPRH_Send_Entered_Hints.php
  138. added two more screenshots of the before and after effects of implementing this plugin. July 13, 2017:
  139. added a form on plugin admin screen to contact author about feature requests or bug reporting;
  140. fixed minor issue with the preconnect JS script not firing;
  141. fixed minor UI issues/CSS; July 6, 2017:
  142. added ability to choose to add links to the Header or ;
  143. cleaned up UI;
  144. fixed bugs on preconnect.js/ improved functionality;
  145. removed option to select which pages/posts the links went to- this was unwanted feature and removing it improved performance
  146. condensed the info tab links into one;
  147. modified schema for PPRH_table; and removed the other table;
  148. improved security; June 11, 2017:
  149. tested compat with wp 4.8 Mar 27, 2017:
  150. changed db table schema which caused problems for sites with lots of posts. Dec 9, 2016:
  151. Ensured compatibility with WP v 4.7 Nov 11, 2016:
  152. added plugin icon and banner image. 2) added tip info Nov 6, 2016:
  153. updated screenshot image on wp plugin page.
  154. a) added screenshot images on plugin page. b) removed 'console.log' in the front end JS file. Nov 4, 2016:
  155. Fixed some images that were not loading properly. Nov 3, 2016:
  156. initial commit.
  157. Support Forum
  158. Send me an email at info@sptrix.com