{"id":1580,"date":"2005-02-01T09:56:05","date_gmt":"2005-02-01T09:56:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/staticize-reloaded\/"},"modified":"2005-03-08T03:03:16","modified_gmt":"2005-03-08T03:03:16","slug":"staticize-reloaded","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/staticize-reloaded\/","author":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.6","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"Staticize Reloaded","header_author":"Matt Mullenweg","header_description":"","assets_banners_color":"","last_updated":"2005-03-08 03:03:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/codex.wordpress.org\/Plugins\/Staticize","header_author_uri":"http:\/\/photomatt.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2827,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","faq","description"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":"1444518","resolution":"1","location":"plugin","width":445,"height":268}},"screenshots":{"1":"This is a chart showing the performance of a WordPress blog under very high loads with and without Staticize. It was taken from <a href=\"http:\/\/weblogtoolscollection.com\/archives\/2004\/07\/26\/staticise-analysis\/\">this post<\/a>."}},"plugin_section":[],"plugin_tags":[144,247],"plugin_category":[52,54],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-1580","plugin","type-plugin","status-publish","hentry","plugin_tags-caching","plugin_tags-performance","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_committers-matt"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/staticize-reloaded.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/staticize-reloaded\/trunk\/screenshot-1.gif?rev=1444518","caption":"This is a chart showing the performance of a WordPress blog under very high loads with and without Staticize. It was taken from <a href=\"http:\/\/weblogtoolscollection.com\/archives\/2004\/07\/26\/staticise-analysis\/\">this post<\/a>."}],"raw_content":"<!--section=installation-->\n<ol>\n<li>Upload to your plugins folder, usually <code>wp-content\/plugins\/<\/code><\/li>\n<li>If you have Compression turned on under Miscellaneous options, turn it off<\/li>\n<li>Activate the plugin on the plugin screen<\/li>\n<li>Caching should begin immediately. It's a good idea to deactivate when making template changes. To flush the cache just edit a post or comment.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>Do I really need to use this plugin?<\/h4>\n <p>Probably not, WordPress is fast enough that caching usually only adds a few milliseconds of performance that isn't really perceptible by users. Some reasons you may want to use Staticize Reloaded:<\/p>\n <ul>\n<li>If your site gets Slashdotted<\/li>\n<li>If you're on a very slow server<\/li>\n<li>If you've had a complaint from your host about performance<\/li>\n<\/ul>\n <h4>How can I tell if it's working?<\/h4>\n <p>Staticize Reloaded adds some stats to the very end of a page in the HTML, so you can view source to see the time it took to generate a page and rather it was cached or not. Remember that the cache is created on demand, so the first time you load a page it'll be generated from the database.<\/p>\n <h4>I see gibberish on the screen when I activate this plugin?<\/h4>\n <p>Make sure that you deactivated compression on the Miscellaneous options screen and that gzip encoding is turned off on the PHP level<\/p>\n <h4>How do I make certain parts of the page stay dynamic?<\/h4>\n <p>There are two ways to do this, you can have functions that say dynamic or include entire other files. To have a dynamic function in the cached PHP page use this syntax around the function:<\/p>\n <pre><code>&lt;!--mfunc function_name('parameter', 'another_parameter') --&gt; &lt;?php function_name('parameter', 'another_parameter') ?&gt; &lt;!--\/mfunc--&gt; <\/code><\/pre>\n <p>The HTML comments around the mirrored PHP allow it to be executed in the static page. To include another file try this:<\/p>\n <pre><code>&lt;!--mclude file.php--&gt; &lt;?php include_once(ABSPATH . 'file.php'); ?&gt; &lt;!--\/mclude--&gt; <\/code><\/pre>\n <p>That will include file.php under the ABSPATH directory, which is the same as where your <code>wp-config.php<\/code> file is located.<\/p>\n\n<!--section=description-->\n<p>Staticize Reloaded is a plugin to make your site faster by caching the output of some WordPress pages. It creates a unique key based on the page variables and user and then if a request is made with identical variables it serves the request from a static file rather than building the page from the database. When a post is updated or a comment is left the cache is cleared. It is ideal for sites with a lot of anonymous reads and not too many updates. (For example, during a Slashdotting.)<\/p>","raw_excerpt":"Staticize Reloaded is a plugin to make your site faster by caching the output of some WordPress pages. It creates a unique key based on the page varia &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1580"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1580"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1580"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1580"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1580"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1580"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}