├── Base_Page_Settings.php ├── BrowserCache_ConfigLabels.php ├── BrowserCache_Core.php ├── BrowserCache_Environment.php ├── BrowserCache_Page.php ├── BrowserCache_Plugin.php ├── BrowserCache_Plugin_Admin.php ├── Cache.php ├── CacheFlush.php ├── CacheFlush_Locally.php ├── Cache_Apc.php ├── Cache_Apcu.php ├── Cache_Base.php ├── Cache_Eaccelerator.php ├── Cache_File.php ├── Cache_File_Cleaner.php ├── Cache_File_Cleaner_Generic.php ├── Cache_File_Generic.php ├── Cache_Memcache.php ├── Cache_Memcached.php ├── Cache_Memcached_Stats.php ├── Cache_Redis.php ├── Cache_Wincache.php ├── Cache_Xcache.php ├── CdnEngine.php ├── CdnEngine_Azure.php ├── CdnEngine_Base.php ├── CdnEngine_Ftp.php ├── CdnEngine_GoogleDrive.php ├── CdnEngine_Mirror.php ├── CdnEngine_Mirror_Akamai.php ├── CdnEngine_Mirror_Att.php ├── CdnEngine_Mirror_Cotendo.php ├── CdnEngine_Mirror_Edgecast.php ├── CdnEngine_Mirror_Highwinds.php ├── CdnEngine_Mirror_MaxCdn.php ├── CdnEngine_Mirror_RackSpaceCdn.php ├── CdnEngine_RackSpaceCloudFiles.php ├── CdnEngine_S3.php ├── CdnEngine_S3_Cf.php ├── CdnEngine_S3_Cf_Custom.php ├── CdnEngine_S3_Cf_S3.php ├── CdnEngine_S3_Compatible.php ├── Cdn_AdminActions.php ├── Cdn_AdminNotes.php ├── Cdn_CacheFlush.php ├── Cdn_ConfigLabels.php ├── Cdn_Core.php ├── Cdn_Core_Admin.php ├── Cdn_Environment.php ├── Cdn_GeneralPage_View.php ├── Cdn_GoogleDrive_AdminActions.php ├── Cdn_GoogleDrive_Page.php ├── Cdn_GoogleDrive_Page_View.js ├── Cdn_GoogleDrive_Page_View.php ├── Cdn_GoogleDrive_Popup_AuthReturn.php ├── Cdn_GoogleDrive_Popup_AuthReturn_View.php ├── Cdn_Highwinds_Api.php ├── Cdn_Highwinds_Page.php ├── Cdn_Highwinds_Page_View.js ├── Cdn_Highwinds_Page_View.php ├── Cdn_Highwinds_Popup.php ├── Cdn_Highwinds_Popup_View_ConfigureCnamesForm.php ├── Cdn_Highwinds_Popup_View_Intro.php ├── Cdn_Highwinds_Popup_View_SelectHost.php ├── Cdn_Highwinds_Widget.php ├── Cdn_Highwinds_Widget_View.css ├── Cdn_Highwinds_Widget_View.js ├── Cdn_Highwinds_Widget_View.php ├── Cdn_Highwinds_Widget_View_NotConfigured.php ├── Cdn_MaxCdn_Page.php ├── Cdn_MaxCdn_Page_View.js ├── Cdn_MaxCdn_Page_View.php ├── Cdn_MaxCdn_Popup.php ├── Cdn_MaxCdn_Popup_View_Intro.php ├── Cdn_MaxCdn_Popup_View_Success.php ├── Cdn_MaxCdn_Popup_View_Zone.php ├── Cdn_MaxCdn_Popup_View_Zones.php ├── Cdn_Page.php ├── Cdn_Page_View_Fsd_HeaderActions.php ├── Cdn_Page_View_Header.php ├── Cdn_Plugin.php ├── Cdn_Plugin_Admin.php ├── Cdn_Plugin_WidgetMaxCdn.php ├── Cdn_RackSpaceCdn_AdminActions.php ├── Cdn_RackSpaceCdn_Page.php ├── Cdn_RackSpaceCdn_Page_View.js ├── Cdn_RackSpaceCdn_Page_View.php ├── Cdn_RackSpaceCdn_Popup.php ├── Cdn_RackSpaceCdn_Popup_View_ConfigureDomains.php ├── Cdn_RackSpaceCdn_Popup_View_Intro.php ├── Cdn_RackSpaceCdn_Popup_View_Regions.php ├── Cdn_RackSpaceCdn_Popup_View_Service_Actualize.php ├── Cdn_RackSpaceCdn_Popup_View_Service_Create.php ├── Cdn_RackSpaceCdn_Popup_View_Service_Created.php ├── Cdn_RackSpaceCdn_Popup_View_Services.php ├── Cdn_RackSpaceCloudFiles_Page.php ├── Cdn_RackSpaceCloudFiles_Page_View.js ├── Cdn_RackSpaceCloudFiles_Page_View.php ├── Cdn_RackSpaceCloudFiles_Popup.php ├── Cdn_RackSpaceCloudFiles_Popup_View_Containers.php ├── Cdn_RackSpaceCloudFiles_Popup_View_Intro.php ├── Cdn_RackSpaceCloudFiles_Popup_View_Regions.php ├── Cdn_RackSpace_Api_CaCert-example.pem ├── Cdn_RackSpace_Api_Cdn.php ├── Cdn_RackSpace_Api_CloudFiles.php ├── Cdn_RackSpace_Api_CloudFilesCdn.php ├── Cdn_RackSpace_Api_Tokens.php ├── Cdn_Util.php ├── Cdnfsd_CacheFlush.php ├── Cdnfsd_CloudFront_Api.php ├── Cdnfsd_CloudFront_Engine.php ├── Cdnfsd_CloudFront_Page.php ├── Cdnfsd_CloudFront_Page_View.js ├── Cdnfsd_CloudFront_Page_View.php ├── Cdnfsd_CloudFront_Popup.php ├── Cdnfsd_CloudFront_Popup_View_Distribution.php ├── Cdnfsd_CloudFront_Popup_View_Distributions.php ├── Cdnfsd_CloudFront_Popup_View_Intro.php ├── Cdnfsd_CloudFront_Popup_View_Success.php ├── Cdnfsd_Core.php ├── Cdnfsd_GeneralPage_View.php ├── Cdnfsd_Limelight_Api.php ├── Cdnfsd_Limelight_Engine.php ├── Cdnfsd_Limelight_Page.php ├── Cdnfsd_Limelight_Page_View.js ├── Cdnfsd_Limelight_Page_View.php ├── Cdnfsd_Limelight_Popup.php ├── Cdnfsd_Limelight_Popup_View_Intro.php ├── Cdnfsd_Limelight_Popup_View_Success.php ├── Cdnfsd_MaxCdn_Engine.php ├── Cdnfsd_MaxCdn_Page.php ├── Cdnfsd_MaxCdn_Page_View.js ├── Cdnfsd_MaxCdn_Page_View.php ├── Cdnfsd_MaxCdn_Popup.php ├── Cdnfsd_MaxCdn_Popup_View_Intro.php ├── Cdnfsd_MaxCdn_Popup_View_Success.php ├── Cdnfsd_MaxCdn_Popup_View_Zone.php ├── Cdnfsd_MaxCdn_Popup_View_Zones.php ├── Cdnfsd_Page_View_Header.php ├── Cdnfsd_Plugin.php ├── Cdnfsd_Plugin_Admin.php ├── Cdnfsd_Util.php ├── Cli.php ├── Config.php ├── ConfigCache.php ├── ConfigCompiler.php ├── ConfigDbStorage.php ├── ConfigKeys.php ├── ConfigState.php ├── ConfigStateNote.php ├── ConfigUtil.php ├── DbCache_ConfigLabels.php ├── DbCache_Core.php ├── DbCache_Environment.php ├── DbCache_Page.php ├── DbCache_Plugin.php ├── DbCache_Plugin_Admin.php ├── DbCache_Wpdb.php ├── DbCache_WpdbBase.php ├── DbCache_WpdbInjection.php ├── DbCache_WpdbInjection_QueryCaching.php ├── Dispatcher.php ├── Enterprise_CacheFlush_MakeSnsEvent.php ├── Enterprise_Dbcache_WpdbInjection_Cluster.php ├── Enterprise_SnsBase.php ├── Enterprise_SnsServer.php ├── Extension_Amp_Plugin.php ├── Extension_Amp_Plugin_Admin.php ├── Extension_CloudFlare_AdminActions.php ├── Extension_CloudFlare_Api.php ├── Extension_CloudFlare_Cdn_Page_View.php ├── Extension_CloudFlare_GeneralPage_View.php ├── Extension_CloudFlare_Page.php ├── Extension_CloudFlare_Page_View.js ├── Extension_CloudFlare_Page_View.php ├── Extension_CloudFlare_Plugin.php ├── Extension_CloudFlare_Plugin_Admin.php ├── Extension_CloudFlare_Popup.php ├── Extension_CloudFlare_Popup_View_Intro.php ├── Extension_CloudFlare_Popup_View_Zones.php ├── Extension_CloudFlare_SettingsForUi.php ├── Extension_CloudFlare_View_Comments.css ├── Extension_CloudFlare_View_Comments.js ├── Extension_CloudFlare_View_Dashboard.js ├── Extension_CloudFlare_Widget.php ├── Extension_CloudFlare_Widget_Logo.png ├── Extension_CloudFlare_Widget_View.css ├── Extension_CloudFlare_Widget_View.php ├── Extension_FeedBurner_Environment.php ├── Extension_FeedBurner_Page.php ├── Extension_FeedBurner_Page_View.php ├── Extension_FeedBurner_Plugin.php ├── Extension_FeedBurner_Plugin_Admin.php ├── Extension_FragmentCache_Api.php ├── Extension_FragmentCache_Core.php ├── Extension_FragmentCache_Environment.php ├── Extension_FragmentCache_GeneralPage.php ├── Extension_FragmentCache_GeneralPage_View.php ├── Extension_FragmentCache_Page.php ├── Extension_FragmentCache_Page_View.php ├── Extension_FragmentCache_Plugin.php ├── Extension_FragmentCache_Plugin_Admin.php ├── Extension_FragmentCache_WpObjectCache.php ├── Extension_Genesis_Page.php ├── Extension_Genesis_Page_View.php ├── Extension_Genesis_Plugin.php ├── Extension_Genesis_Plugin_Admin.php ├── Extension_NewRelic_AdminActions.php ├── Extension_NewRelic_AdminNotes.php ├── Extension_NewRelic_Api.php ├── Extension_NewRelic_Core.php ├── Extension_NewRelic_GeneralPage.php ├── Extension_NewRelic_GeneralPage_View.php ├── Extension_NewRelic_Page.php ├── Extension_NewRelic_Page_View_Apm.php ├── Extension_NewRelic_Plugin.php ├── Extension_NewRelic_Plugin_Admin.php ├── Extension_NewRelic_Popup.php ├── Extension_NewRelic_Popup_View.js ├── Extension_NewRelic_Popup_View_Intro.php ├── Extension_NewRelic_Popup_View_ListApplications.php ├── Extension_NewRelic_Service.php ├── Extension_NewRelic_Widget.php ├── Extension_NewRelic_Widget_View.css ├── Extension_NewRelic_Widget_View.js ├── Extension_NewRelic_Widget_View_Apm.php ├── Extension_NewRelic_Widget_View_Browser.php ├── Extension_NewRelic_Widget_View_NotConfigured.php ├── Extension_Swarmify_AdminActions.php ├── Extension_Swarmify_Core.php ├── Extension_Swarmify_Page.php ├── Extension_Swarmify_Page_View.php ├── Extension_Swarmify_Plugin.php ├── Extension_Swarmify_Plugin_Admin.php ├── Extension_Swarmify_Widget.php ├── Extension_Swarmify_Widget_View.css ├── Extension_Swarmify_Widget_View_NotConfigured.php ├── Extension_WordPressSeo_Plugin.php ├── Extension_WordPressSeo_Plugin_Admin.php ├── Extension_Wpml_Plugin.php ├── Extension_Wpml_Plugin_Admin.php ├── Extensions_AdminActions.php ├── Extensions_Page.php ├── Extensions_Plugin_Admin.php ├── Extensions_Util.php ├── Generic_AdminActions_Config.php ├── Generic_AdminActions_Default.php ├── Generic_AdminActions_Flush.php ├── Generic_AdminActions_Test.php ├── Generic_AdminLinks.php ├── Generic_AdminNotes.php ├── Generic_ConfigLabels.php ├── Generic_Environment.php ├── Generic_Faq.php ├── Generic_GeneralPage_View_ShowEdge.js ├── Generic_GeneralPage_View_ShowSupportUs.js ├── Generic_Page_About.php ├── Generic_Page_Dashboard.php ├── Generic_Page_Dashboard_View.css ├── Generic_Page_Faq.php ├── Generic_Page_General.php ├── Generic_Page_Install.php ├── Generic_Plugin.php ├── Generic_Plugin_Admin.php ├── Generic_Plugin_AdminCompatibility.php ├── Generic_Plugin_AdminNotifications.php ├── Generic_Plugin_AdminRowActions.php ├── Generic_Plugin_PageCachePurge.php ├── Generic_Plugin_WidgetForum.php ├── Generic_Plugin_WidgetNews.php ├── Generic_WidgetServices.php ├── Generic_WidgetServices_View.php ├── Generic_WidgetSpreadTheWord.js ├── Generic_WidgetSpreadTheWord_Plugin.php ├── Generic_WidgetSpreadTheWord_View.php ├── Licensing_AdminActions.php ├── Licensing_Core.php ├── Licensing_Plugin_Admin.php ├── Minify_ConfigLabels.php ├── Minify_ContentMinifier.php ├── Minify_Core.php ├── Minify_Environment.php ├── Minify_Extract.php ├── Minify_GeneralPage_View_ShowHelp.js ├── Minify_GeneralPage_View_ShowHelpForce.js ├── Minify_HelpPopup_View.php ├── Minify_MinifiedFileRequestHandler.php ├── Minify_Page.php ├── Minify_Plugin.php ├── Minify_Plugin_Admin.php ├── Mobile_Base.php ├── Mobile_Page_ReferrerGroups.php ├── Mobile_Page_UserAgentGroups.php ├── Mobile_Redirect.php ├── Mobile_Referrer.php ├── Mobile_UserAgent.php ├── ModuleStatus.php ├── ObjectCache_ConfigLabels.php ├── ObjectCache_Environment.php ├── ObjectCache_Page.php ├── ObjectCache_Plugin.php ├── ObjectCache_Plugin_Admin.php ├── ObjectCache_WpObjectCache.php ├── ObjectCache_WpObjectCache_Regular.php ├── PageSpeed_Api.php ├── PageSpeed_Plugin_Widget.php ├── PageSpeed_Widget_View.css ├── PageSpeed_Widget_View.js ├── PageSpeed_Widget_View.php ├── PageSpeed_Widget_View_NotConfigured.php ├── PgCache_ConfigLabels.php ├── PgCache_ContentGrabber.php ├── PgCache_Environment.php ├── PgCache_Flush.php ├── PgCache_Page.php ├── PgCache_Page_CookieGroups.php ├── PgCache_Page_CookieGroups_View.js ├── PgCache_Page_CookieGroups_View.php ├── PgCache_Plugin.php ├── PgCache_Plugin_Admin.php ├── Root_AdminActions.php ├── Root_AdminActivation.php ├── Root_AdminMenu.php ├── Root_Environment.php ├── Root_Loader.php ├── Support_AdminActions.php ├── Support_Page.php ├── Support_Page_View_DoneContent.php ├── Support_Page_View_PageContent.php ├── SystemOpCache_AdminActions.php ├── SystemOpCache_Core.php ├── SystemOpCache_GeneralPage_View.php ├── SystemOpCache_Plugin_Admin.php ├── UsageStatistics_Core.php ├── UsageStatistics_Plugin.php ├── UsageStatistics_Plugin_Admin.php ├── UsageStatistics_StorageReader.php ├── UsageStatistics_StorageWriter.php ├── UsageStatistics_View_General.php ├── UsageStatistics_Widget.php ├── UsageStatistics_Widget_View.css ├── UsageStatistics_Widget_View.js ├── UsageStatistics_Widget_View.php ├── UsageStatistics_Widget_View_Disabled.php ├── Util_Activation.php ├── Util_Admin.php ├── Util_AttachToActions.php ├── Util_Bus.php ├── Util_ConfigLabel.php ├── Util_Content.php ├── Util_Debug.php ├── Util_Environment.php ├── Util_Environment_Exception.php ├── Util_Environment_Exceptions.php ├── Util_File.php ├── Util_Http.php ├── Util_Installed.php ├── Util_Mime.php ├── Util_PageUrls.php ├── Util_Request.php ├── Util_Rule.php ├── Util_RuleSnippet.php ├── Util_Theme.php ├── Util_Ui.php ├── Util_UsageStatistics.php ├── Util_Widget.php ├── Util_WpFile.php ├── Util_WpFile_FilesystemChmodException.php ├── Util_WpFile_FilesystemCopyException.php ├── Util_WpFile_FilesystemMkdirException.php ├── Util_WpFile_FilesystemModifyException.php ├── Util_WpFile_FilesystemOperationException.php ├── Util_WpFile_FilesystemRmException.php ├── Util_WpFile_FilesystemRmdirException.php ├── Util_WpFile_FilesystemWriteException.php ├── Util_WpmuBlogmap.php ├── Varnish_Flush.php ├── Varnish_Plugin.php ├── changelog.txt ├── composer.json ├── extension-example ├── Extension_Example.php ├── Extension_Example_Admin.php ├── Extension_Example_Page_View.php └── w3-total-cache-example.php ├── inc ├── define.php ├── email │ ├── index.html │ ├── minify_error_notification.html │ ├── minify_error_notification.php │ └── support_request.php ├── error.php ├── index.html ├── lightbox │ ├── cdn_s3_bucket_location.php │ ├── create_netdna_maxcdn_pull_zone.php │ ├── index.html │ ├── minify_recommendations.php │ ├── purchase.php │ ├── self_test.php │ ├── support_us.php │ └── upgrade.php ├── mime │ ├── all.php │ ├── cssjs.php │ ├── html.php │ ├── index.html │ └── other.php ├── options │ ├── about.php │ ├── browsercache.php │ ├── cdn.php │ ├── cdn │ │ ├── akamai.php │ │ ├── att.php │ │ ├── azure.php │ │ ├── cf.php │ │ ├── cf2.php │ │ ├── common │ │ │ ├── cnames-readonly.php │ │ │ ├── cnames.php │ │ │ └── index.html │ │ ├── cotendo.php │ │ ├── edgecast.php │ │ ├── ftp.php │ │ ├── index.html │ │ ├── mirror.php │ │ ├── rscf.php │ │ ├── s3.php │ │ └── s3_compatible.php │ ├── common │ │ ├── footer.php │ │ ├── header.php │ │ ├── help.php │ │ └── index.html │ ├── dashboard.php │ ├── dbcache.php │ ├── edd │ │ └── buy.php │ ├── enterprise │ │ ├── dbcluster-config.php │ │ └── dbcluster_general_section.php │ ├── extensions.php │ ├── extensions │ │ ├── list.php │ │ └── settings.php │ ├── faq.php │ ├── general.php │ ├── index.html │ ├── install.php │ ├── minify.php │ ├── minify │ │ ├── ccjs.php │ │ ├── ccjs2.php │ │ ├── css.php │ │ ├── csstidy.php │ │ ├── csstidy2.php │ │ ├── googleccjs2.php │ │ ├── html.php │ │ ├── htmltidy.php │ │ ├── htmltidy2.php │ │ ├── index.html │ │ ├── js.php │ │ ├── yuicss2.php │ │ ├── yuijs.php │ │ └── yuijs2.php │ ├── mobile.php │ ├── objectcache.php │ ├── parts │ │ ├── memcached.php │ │ ├── memcached_extension.php │ │ ├── redis.php │ │ └── redis_extension.php │ ├── pgcache.php │ ├── referrer.php │ └── support.php ├── popup │ ├── cdn_export_file.php │ ├── cdn_export_library.php │ ├── cdn_import_library.php │ ├── cdn_purge.php │ ├── cdn_queue.php │ ├── cdn_rename_domain.php │ ├── common │ │ ├── footer.php │ │ ├── header.php │ │ └── index.html │ ├── index.html │ └── pagespeed_results.php └── widget │ ├── index.html │ ├── latest.php │ ├── latest_ajax.php │ ├── latest_control.php │ ├── latest_news.php │ ├── latest_news_ajax.php │ ├── latest_news_control.php │ ├── maxcdn.php │ ├── maxcdn_signup.php │ └── pagepurge.php ├── index.html ├── ini ├── apc.ini ├── config-db-sample.php ├── dbcluster-config-sample.php ├── eaccelerator.ini ├── index.html ├── memcache.ini ├── nginx-network-sample-config.conf ├── nginx-standalone-sample-config.conf ├── opcache.ini ├── php.append.ini ├── s3-sample-policy.txt ├── varnish-sample-config.vcl ├── web.config └── xcache.ini ├── languages ├── ar.mo ├── faq-en_US.xml ├── faq-enterprise-en_US.xml ├── faq-pro-en_US.xml ├── w3-total-cache-ar_AR.po ├── w3-total-cache-nl_NL.mo ├── w3-total-cache-nl_NL.po ├── w3-total-cache-pl_PL.po ├── w3-total-cache-sr_RS.mo ├── w3-total-cache-sr_RS.po └── w3-total-cache.pot ├── lib ├── Azure │ ├── GuzzleHttp │ │ ├── Client.php │ │ ├── ClientInterface.php │ │ ├── Cookie │ │ │ ├── CookieJar.php │ │ │ ├── CookieJarInterface.php │ │ │ ├── FileCookieJar.php │ │ │ ├── SessionCookieJar.php │ │ │ └── SetCookie.php │ │ ├── Exception │ │ │ ├── BadResponseException.php │ │ │ ├── ClientException.php │ │ │ ├── ConnectException.php │ │ │ ├── GuzzleException.php │ │ │ ├── RequestException.php │ │ │ ├── SeekException.php │ │ │ ├── ServerException.php │ │ │ ├── TooManyRedirectsException.php │ │ │ └── TransferException.php │ │ ├── Handler │ │ │ ├── CurlFactory.php │ │ │ ├── CurlFactoryInterface.php │ │ │ ├── CurlHandler.php │ │ │ ├── CurlMultiHandler.php │ │ │ ├── EasyHandle.php │ │ │ ├── MockHandler.php │ │ │ ├── Proxy.php │ │ │ └── StreamHandler.php │ │ ├── HandlerStack.php │ │ ├── MessageFormatter.php │ │ ├── Middleware.php │ │ ├── Pool.php │ │ ├── PrepareBodyMiddleware.php │ │ ├── Promise │ │ │ ├── AggregateException.php │ │ │ ├── CancellationException.php │ │ │ ├── Coroutine.php │ │ │ ├── EachPromise.php │ │ │ ├── FulfilledPromise.php │ │ │ ├── Promise.php │ │ │ ├── PromiseInterface.php │ │ │ ├── PromisorInterface.php │ │ │ ├── RejectedPromise.php │ │ │ ├── RejectionException.php │ │ │ ├── TaskQueue.php │ │ │ ├── TaskQueueInterface.php │ │ │ ├── functions.php │ │ │ └── functions_include.php │ │ ├── Psr7 │ │ │ ├── AppendStream.php │ │ │ ├── BufferStream.php │ │ │ ├── CachingStream.php │ │ │ ├── DroppingStream.php │ │ │ ├── FnStream.php │ │ │ ├── InflateStream.php │ │ │ ├── LazyOpenStream.php │ │ │ ├── LimitStream.php │ │ │ ├── MessageTrait.php │ │ │ ├── MultipartStream.php │ │ │ ├── NoSeekStream.php │ │ │ ├── PumpStream.php │ │ │ ├── Request.php │ │ │ ├── Response.php │ │ │ ├── ServerRequest.php │ │ │ ├── Stream.php │ │ │ ├── StreamDecoratorTrait.php │ │ │ ├── StreamWrapper.php │ │ │ ├── UploadedFile.php │ │ │ ├── Uri.php │ │ │ ├── functions.php │ │ │ └── functions_include.php │ │ ├── RedirectMiddleware.php │ │ ├── RequestOptions.php │ │ ├── RetryMiddleware.php │ │ ├── TransferStats.php │ │ ├── UriTemplate.php │ │ ├── functions.php │ │ └── functions_include.php │ ├── MicrosoftAzureStorage │ │ ├── Blob │ │ │ ├── BlobRestProxy.php │ │ │ ├── Internal │ │ │ │ └── IBlob.php │ │ │ └── Models │ │ │ │ ├── AccessCondition.php │ │ │ │ ├── AccessPolicy.php │ │ │ │ ├── AcquireLeaseOptions.php │ │ │ │ ├── AcquireLeaseResult.php │ │ │ │ ├── Blob.php │ │ │ │ ├── BlobBlockType.php │ │ │ │ ├── BlobPrefix.php │ │ │ │ ├── BlobProperties.php │ │ │ │ ├── BlobServiceOptions.php │ │ │ │ ├── BlobType.php │ │ │ │ ├── Block.php │ │ │ │ ├── BlockList.php │ │ │ │ ├── BreakLeaseResult.php │ │ │ │ ├── CommitBlobBlocksOptions.php │ │ │ │ ├── Container.php │ │ │ │ ├── ContainerACL.php │ │ │ │ ├── ContainerProperties.php │ │ │ │ ├── CopyBlobOptions.php │ │ │ │ ├── CopyBlobResult.php │ │ │ │ ├── CreateBlobBlockOptions.php │ │ │ │ ├── CreateBlobOptions.php │ │ │ │ ├── CreateBlobPagesOptions.php │ │ │ │ ├── CreateBlobPagesResult.php │ │ │ │ ├── CreateBlobSnapshotOptions.php │ │ │ │ ├── CreateBlobSnapshotResult.php │ │ │ │ ├── CreateContainerOptions.php │ │ │ │ ├── DeleteBlobOptions.php │ │ │ │ ├── DeleteContainerOptions.php │ │ │ │ ├── GetBlobMetadataOptions.php │ │ │ │ ├── GetBlobMetadataResult.php │ │ │ │ ├── GetBlobOptions.php │ │ │ │ ├── GetBlobPropertiesOptions.php │ │ │ │ ├── GetBlobPropertiesResult.php │ │ │ │ ├── GetBlobResult.php │ │ │ │ ├── GetContainerACLResult.php │ │ │ │ ├── GetContainerPropertiesResult.php │ │ │ │ ├── LeaseMode.php │ │ │ │ ├── ListBlobBlocksOptions.php │ │ │ │ ├── ListBlobBlocksResult.php │ │ │ │ ├── ListBlobsOptions.php │ │ │ │ ├── ListBlobsResult.php │ │ │ │ ├── ListContainersOptions.php │ │ │ │ ├── ListContainersResult.php │ │ │ │ ├── ListPageBlobRangesOptions.php │ │ │ │ ├── ListPageBlobRangesResult.php │ │ │ │ ├── PageRange.php │ │ │ │ ├── PageWriteOption.php │ │ │ │ ├── PublicAccessType.php │ │ │ │ ├── SetBlobMetadataOptions.php │ │ │ │ ├── SetBlobMetadataResult.php │ │ │ │ ├── SetBlobPropertiesOptions.php │ │ │ │ ├── SetBlobPropertiesResult.php │ │ │ │ ├── SetContainerMetadataOptions.php │ │ │ │ └── SignedIdentifier.php │ │ └── Common │ │ │ ├── CloudConfigurationManager.php │ │ │ ├── Internal │ │ │ ├── Authentication │ │ │ │ ├── IAuthScheme.php │ │ │ │ ├── SharedKeyAuthScheme.php │ │ │ │ ├── StorageAuthScheme.php │ │ │ │ └── TableSharedKeyLiteAuthScheme.php │ │ │ ├── ConnectionStringParser.php │ │ │ ├── ConnectionStringSource.php │ │ │ ├── FilterableService.php │ │ │ ├── Filters │ │ │ │ ├── AuthenticationFilter.php │ │ │ │ ├── DateFilter.php │ │ │ │ ├── ExponentialRetryPolicy.php │ │ │ │ ├── HeadersFilter.php │ │ │ │ ├── RetryPolicy.php │ │ │ │ └── RetryPolicyFilter.php │ │ │ ├── Http │ │ │ │ └── HttpCallContext.php │ │ │ ├── HttpFormatter.php │ │ │ ├── IServiceFilter.php │ │ │ ├── InvalidArgumentTypeException.php │ │ │ ├── Logger.php │ │ │ ├── Resources.php │ │ │ ├── RestProxy.php │ │ │ ├── RetryMiddlewareFactory.php │ │ │ ├── Serialization │ │ │ │ ├── ISerializer.php │ │ │ │ ├── JsonSerializer.php │ │ │ │ └── XmlSerializer.php │ │ │ ├── ServiceRestProxy.php │ │ │ ├── ServiceSettings.php │ │ │ ├── StorageServiceSettings.php │ │ │ ├── Utilities.php │ │ │ └── Validate.php │ │ │ ├── Models │ │ │ ├── GetServicePropertiesResult.php │ │ │ ├── Logging.php │ │ │ ├── Metrics.php │ │ │ ├── RetentionPolicy.php │ │ │ └── ServiceProperties.php │ │ │ ├── ServiceException.php │ │ │ └── ServicesBuilder.php │ ├── PsrHttpMessage │ │ ├── MessageInterface.php │ │ ├── RequestInterface.php │ │ ├── ResponseInterface.php │ │ ├── ServerRequestInterface.php │ │ ├── StreamInterface.php │ │ ├── UploadedFileInterface.php │ │ └── UriInterface.php │ └── loader.php ├── CSSTidy │ ├── class.csstidy.php │ ├── class.csstidy_optimise.php │ ├── class.csstidy_print.php │ ├── data.inc.php │ └── index.html ├── Db │ └── mssql.php ├── Google │ ├── Auth │ │ ├── Abstract.php │ │ ├── AppIdentity.php │ │ ├── AssertionCredentials.php │ │ ├── Exception.php │ │ ├── LoginTicket.php │ │ ├── OAuth2.php │ │ └── Simple.php │ ├── Cache │ │ ├── Abstract.php │ │ ├── Apc.php │ │ ├── Exception.php │ │ ├── File.php │ │ ├── Memcache.php │ │ └── Null.php │ ├── Client.php │ ├── Collection.php │ ├── Config.php │ ├── Exception.php │ ├── Http │ │ ├── Batch.php │ │ ├── CacheParser.php │ │ ├── MediaFileUpload.php │ │ ├── REST.php │ │ └── Request.php │ ├── IO │ │ ├── Abstract.php │ │ ├── Curl.php │ │ ├── Exception.php │ │ ├── Stream.php │ │ └── cacerts.pem │ ├── Model.php │ ├── Service.php │ ├── Service │ │ ├── Drive.php │ │ ├── Exception.php │ │ ├── Oauth2.php │ │ └── Resource.php │ ├── Signer │ │ ├── Abstract.php │ │ └── P12.php │ ├── Utils.php │ ├── Utils │ │ └── URITemplate.php │ └── Verifier │ │ ├── Abstract.php │ │ └── Pem.php ├── Minify │ ├── DooDigestAuth.php │ ├── HTTP │ │ ├── ConditionalGet.php │ │ ├── Encoder.php │ │ └── index.html │ ├── JSMin.php │ ├── JSMinPlus.php │ ├── Minify.php │ ├── Minify │ │ ├── Build.php │ │ ├── CSS.php │ │ ├── CSS │ │ │ ├── Compressor.php │ │ │ ├── UriRewriter.php │ │ │ └── index.html │ │ ├── CSSTidy.php │ │ ├── Cache │ │ │ ├── File.php │ │ │ ├── W3TCDerived.php │ │ │ ├── ZendPlatform.php │ │ │ └── index.html │ │ ├── ClosureCompiler.php │ │ ├── CombineOnly.php │ │ ├── CommentPreserver.php │ │ ├── Controller │ │ │ ├── Base.php │ │ │ ├── Files.php │ │ │ ├── Groups.php │ │ │ ├── MinApp.php │ │ │ ├── Page.php │ │ │ ├── Version1.php │ │ │ └── index.html │ │ ├── DebugDetector.php │ │ ├── HTML.php │ │ ├── HTML │ │ │ └── Helper.php │ │ ├── HTMLTidy.php │ │ ├── IgnoredCommentPreserver.php │ │ ├── ImportProcessor.php │ │ ├── Inline.php │ │ ├── Inline │ │ │ ├── CSS.php │ │ │ ├── JavaScript.php │ │ │ └── index.html │ │ ├── JS │ │ │ └── ClosureCompiler.php │ │ ├── Lines.php │ │ ├── Loader.php │ │ ├── Logger.php │ │ ├── Packer.php │ │ ├── Source.php │ │ ├── YUI │ │ │ ├── CssCompressor.java │ │ │ └── CssCompressor.php │ │ ├── YUICompressor.php │ │ └── index.html │ ├── YUI-CSS-compressor-PHP-port-4.1.0 │ │ ├── Colors.php │ │ ├── Command.php │ │ ├── Minifier.php │ │ └── Utils.php │ └── index.html ├── NetDNA │ ├── NetDNA.php │ ├── NetDNAPresentation.php │ └── W3tcWpHttpException.php ├── NewRelic │ ├── NewRelicAPI.php │ └── NewRelicWrapper.php ├── Nusoap │ ├── class.nusoap_base.php │ ├── class.soap_fault.php │ ├── class.soap_parser.php │ ├── class.soap_transport_http.php │ ├── class.soap_val.php │ ├── class.soapclient.php │ ├── class.wsdl.php │ ├── class.wsdlcache.php │ ├── class.xmlschema.php │ ├── index.html │ └── nusoap.php ├── OAuth │ └── W3tcOAuth.php ├── S3.php ├── SNS │ ├── lib │ │ └── requestcore │ │ │ ├── cacert.pem │ │ │ └── requestcore.class.php │ ├── sdk.class.php │ ├── services │ │ ├── MessageValidator │ │ │ ├── Message.php │ │ │ ├── MessageValidator.php │ │ │ └── sns-exceptions.php │ │ └── sns.class.php │ └── utilities │ │ ├── request.class.php │ │ ├── response.class.php │ │ ├── simplexml.class.php │ │ └── utilities.class.php └── index.html ├── press.txt ├── pub ├── css │ ├── error.css │ ├── index.html │ ├── lightbox.css │ ├── options.css │ ├── popup.css │ └── widget.css ├── img │ ├── W3TC_dashboard_logo_title-retina.png │ ├── W3TC_dashboard_logo_title.png │ ├── button-grad-active.png │ ├── button-grad.png │ ├── cdn-highwinds-logo.png │ ├── close.png │ ├── cspref.png │ ├── google-logo.png │ ├── index.html │ ├── open.png │ ├── overlay │ │ ├── ceo.png │ │ ├── gray-check.png │ │ ├── list-check.png │ │ ├── lite-gray-check.png │ │ ├── lock.png │ │ ├── overlay-close.png │ │ ├── overlay-down-arrow.png │ │ ├── overlay-logo.png │ │ ├── save-close.png │ │ ├── select-arrow.png │ │ ├── twitter-bird-dark-bgs.png │ │ ├── w3-meteor.png │ │ └── wordpress-logo-simplified-rgb.png │ ├── ps_bar.gif │ ├── ps_grad.gif │ ├── ps_scores.png │ ├── sidebar-background.png │ ├── w3tc-sprite-admin-bar.png │ ├── w3tc-sprite-retina.png │ ├── w3tc-sprite.png │ ├── w3tc_google-logo-retina.png │ ├── w3tc_google-logo.png │ ├── w3tc_maxcdn-logo-retina.png │ ├── w3tc_maxcdn-logo.png │ ├── w3tc_netdna-logo-retina.png │ ├── w3tc_netdna-logo.png │ ├── w3tc_newrelic-logo-retina.png │ ├── w3tc_newrelic-logo.png │ ├── w3tc_swarmify-logo-retina.png │ ├── w3tc_swarmify-logo.png │ ├── w3tc_w3edge-logo-retina.png │ ├── w3tc_w3edge-logo.png │ ├── w3tc_w3tc-logo-retina.png │ ├── w3tc_w3tc-logo.png │ ├── white-grad-active.png │ ├── white-grad.png │ └── wpspin_light.gif ├── index.html ├── js │ ├── index.html │ ├── jquery.masonry.min.js │ ├── lightbox.js │ ├── metadata.js │ ├── options.js │ ├── popup.js │ └── widget.js ├── opcache.php └── sns.php ├── readme.txt ├── w3-total-cache-api.php ├── w3-total-cache-old-php.php ├── w3-total-cache.php └── wp-content ├── advanced-cache.php ├── db.php ├── index.html └── object-cache.php /BrowserCache_Plugin_Admin.php: -------------------------------------------------------------------------------- 1 | $value ) { 23 | if ( substr( $key, 0, 3 ) == 'oa_' ) 24 | $path .= '&' . urlencode( $key ) . '=' . urlencode( $value ); 25 | } 26 | 27 | $popup_url = self_admin_url( $path ); 28 | 29 | wp_localize_script( 'w3tc_cdn_google_drive', 30 | 'w3tc_cdn_google_drive_popup_url', $popup_url ); 31 | 32 | } 33 | } 34 | 35 | 36 | 37 | static public function w3tc_settings_cdn_boxarea_configuration() { 38 | $config = Dispatcher::config(); 39 | include W3TC_DIR . '/Cdn_GoogleDrive_Page_View.php'; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Cdn_GoogleDrive_Page_View.js: -------------------------------------------------------------------------------- 1 | jQuery(function($) { 2 | $('.w3tc_cdn_google_drive_authorize').click(function() { 3 | window.location = w3tc_cdn_google_drive_url; 4 | }); 5 | 6 | if (window.w3tc_cdn_google_drive_popup_url) { 7 | W3tc_Lightbox.open({ 8 | id:'w3tc-overlay', 9 | close: '', 10 | width: 800, 11 | height: 500, 12 | url: w3tc_cdn_google_drive_popup_url, 13 | onClose: function() { 14 | } 15 | }); 16 | } 17 | }); 18 | -------------------------------------------------------------------------------- /Cdn_GoogleDrive_Page_View.php: -------------------------------------------------------------------------------- 1 | get_string( 'cdn.google_drive.refresh_token' ); 8 | 9 | ?> 10 |
9 | CDN completely', 'w3-total-cache' ), 12 | Util_Ui::url( array( 'w3tc_cdn_flush' => 'y' ) ) ); 13 | ?> 14 |
15 | -------------------------------------------------------------------------------- /Cdn_Page_View_Header.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 |11 | '.Cache::engine_name( $config->get_string( 'cdn.engine' ) ).'', 14 | '' . __( 'enabled', 'w3-total-cache' ) : 'disabled">' . __( 'disabled', 'w3-total-cache' ) ) . '' 15 | ); ?> 16 |
17 | -------------------------------------------------------------------------------- /Cdn_RackSpaceCdn_AdminActions.php: -------------------------------------------------------------------------------- 1 | get_cdn(); 11 | 12 | try { 13 | // try to obtain CNAMEs 14 | $domains = $cdn->service_domains_get(); 15 | } catch ( \Exception $ex ) { 16 | Util_Admin::redirect_with_custom_messages2( array( 17 | 'errors' => array( 'Failed to obtain CNAMEs: ' . $ex->getMessage() ) 18 | ), true ); 19 | return; 20 | } 21 | 22 | $c->set( 'cdn.rackspace_cdn.domains', $domains ); 23 | $c->save(); 24 | 25 | Util_Admin::redirect_with_custom_messages2( array( 26 | 'notes' => array( 'CNAMEs are reloaded successfully' ) 27 | ), true ); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Cdn_RackSpaceCdn_Page.php: -------------------------------------------------------------------------------- 1 | get_string( 'cdn.rackspace_cdn.api_key' ); 24 | $authorized = !empty( $api_key ); 25 | 26 | $access_url_full = ''; 27 | if ( $authorized ) { 28 | $p = $config->get_string( 'cdn.rackspace_cdn.service.protocol' ); 29 | $access_url_full = 30 | ( $p == 'https' ? 'https://' : 'http://' ) . 31 | $config->get_string( 'cdn.rackspace_cdn.service.access_url' ); 32 | } 33 | 34 | include W3TC_DIR . '/Cdn_RackSpaceCdn_Page_View.php'; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Cdn_RackSpaceCdn_Popup_View_ConfigureDomains.php: -------------------------------------------------------------------------------- 1 | 7 | 26 | -------------------------------------------------------------------------------- /Cdn_RackSpaceCdn_Popup_View_Intro.php: -------------------------------------------------------------------------------- 1 | 7 | 43 | -------------------------------------------------------------------------------- /Cdn_RackSpaceCloudFiles_Page.php: -------------------------------------------------------------------------------- 1 | get_string( 'cdn.rscf.key' ); 17 | $authorized = !empty( $api_key ); 18 | 19 | $cdn_host_http = ''; 20 | $cdn_host_https = ''; 21 | 22 | if ( $authorized ) { 23 | try { 24 | $cdn = Dispatcher::component( 'Cdn_Core' )->get_cdn(); 25 | $cdn_host_http = $cdn->get_host_http(); 26 | $cdn_host_https = $cdn->get_host_https(); 27 | } catch ( \Exception $ex ) { 28 | $cdn_host_http = 'failed to obtain'; 29 | $cdn_host_https = 'failed to obtain'; 30 | } 31 | } 32 | 33 | include W3TC_DIR . '/Cdn_RackSpaceCloudFiles_Page_View.php'; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Cdn_RackSpaceCloudFiles_Page_View.js: -------------------------------------------------------------------------------- 1 | jQuery(function($) { 2 | function w3tc_rackspace_resize(o) { 3 | o.options.height = jQuery('.w3tc_cdn_rackspace_form').height() + 30; 4 | o.resize(); 5 | } 6 | 7 | $('body') 8 | .on('click', '.w3tc_cdn_rackspace_authorize', function() { 9 | W3tc_Lightbox.open({ 10 | id:'w3tc-overlay', 11 | close: '', 12 | width: 800, 13 | height: 300, 14 | url: ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce + 15 | '&w3tc_action=cdn_rackspace_authenticate', 16 | callback: w3tc_rackspace_resize 17 | }); 18 | }) 19 | 20 | 21 | 22 | .on('click', '.w3tc_popup_submit', function() { 23 | var url = ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce; 24 | 25 | W3tc_Lightbox.load_form(url, '.w3tc_cdn_rackspace_form', 26 | w3tc_rackspace_resize); 27 | }) 28 | }); 29 | -------------------------------------------------------------------------------- /Cdn_RackSpaceCloudFiles_Popup_View_Intro.php: -------------------------------------------------------------------------------- 1 | 7 | 44 | -------------------------------------------------------------------------------- /Cdnfsd_CloudFront_Engine.php: -------------------------------------------------------------------------------- 1 | access_key = $config['access_key']; 15 | $this->secret_key = $config['secret_key']; 16 | $this->distribution_id = $config['distribution_id']; 17 | } 18 | 19 | 20 | 21 | function flush_urls( $urls ) { 22 | if ( empty( $this->access_key ) || empty( $this->secret_key ) || 23 | empty( $this->distribution_id ) ) 24 | throw new \Exception( __( 'Access key not specified.', 'w3-total-cache' ) ); 25 | 26 | $api = new Cdnfsd_CloudFront_Api( $this->access_key, $this->secret_key ); 27 | $uris = array(); 28 | foreach ( $urls as $url ) { 29 | $parsed = parse_url( $url ); 30 | $relative_url = 31 | ( isset( $parsed['path'] ) ? $parsed['path'] : '/' ) . 32 | ( isset( $parsed['query'] ) ? '?' . $parsed['query'] : '' ); 33 | $uris[] = $relative_url; 34 | } 35 | 36 | $api->invalidation_create( $this->distribution_id, $uris ); 37 | } 38 | 39 | 40 | 41 | /** 42 | * Flushes CDN completely 43 | */ 44 | function flush_all() { 45 | if ( empty( $this->access_key ) || empty( $this->secret_key ) || 46 | empty( $this->distribution_id ) ) 47 | throw new \Exception( __( 'Access key not specified.', 'w3-total-cache' ) ); 48 | 49 | $api = new Cdnfsd_CloudFront_Api( $this->access_key, $this->secret_key ); 50 | $uris = array( '/*' ); 51 | 52 | $api->invalidation_create( $this->distribution_id, $uris ); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Cdnfsd_CloudFront_Page.php: -------------------------------------------------------------------------------- 1 | 7 | 42 | -------------------------------------------------------------------------------- /Cdnfsd_CloudFront_Popup_View_Success.php: -------------------------------------------------------------------------------- 1 | 7 | 43 | -------------------------------------------------------------------------------- /Extension_CloudFlare_View_Comments.css: -------------------------------------------------------------------------------- 1 | .cloudflare_ip_check { 2 | padding-left: 10px; 3 | } 4 | 5 | img.cloudflare_ip_check_img { 6 | float: none; 7 | vertical-align:middle; 8 | padding-bottom: 2px; 9 | } 10 | 11 | .cloudflare_ip_check_error { 12 | color: #990000; 13 | } 14 | 15 | .cloudflare_ip_check_success { 16 | color: #009900; 17 | } -------------------------------------------------------------------------------- /Extension_CloudFlare_View_Dashboard.js: -------------------------------------------------------------------------------- 1 | jQuery(function() { 2 | jQuery('#w3tc_dashboard [type=submit]').bind('click', function(){ 3 | jQuery(this).attr('was_clicked','yes'); 4 | }); 5 | 6 | jQuery('#w3tc_dashboard').submit(function(event) { 7 | var el = jQuery("[was_clicked=yes]").get(0); 8 | if (el.id == 'flush_all') { 9 | if (!confirm('Purging your site\'s CloudFlare cache will remove all CloudFlare cache files. It may take up to 48 hours for the CloudFlare cache to completely rebuild on CloudFlare\'s global network. Are you sure you want to purge CloudFlare the cache? Clicking cancel will cancel "empty all caches".')) { 10 | event.preventDefault(); 11 | } 12 | } 13 | jQuery(el).removeAttr("was_clicked"); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /Extension_CloudFlare_Widget_Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/szepeviktor/w3-total-cache-fixed/d7c4e8f9648f6dde232430feec27d241359761f1/Extension_CloudFlare_Widget_Logo.png -------------------------------------------------------------------------------- /Extension_CloudFlare_Widget_View.css: -------------------------------------------------------------------------------- 1 | .cloudflare_p { 2 | text-align: center; 3 | } 4 | 5 | .cloudflare_table { 6 | width: 100%; 7 | padding-left: 20px; 8 | padding-right: 20px; 9 | } 10 | 11 | td.cloudflare_td { 12 | padding: 0; 13 | padding-right: 10px; 14 | font-weight: bold; 15 | color: #333; 16 | } 17 | 18 | td.cloudflare_td_header { 19 | padding: 0; 20 | padding-right: 5px; 21 | padding-top: 5px; 22 | text-align: right; 23 | font-weight: bold; 24 | color: #333; 25 | } 26 | 27 | td.cloudflare_td_value { 28 | padding: 0; 29 | padding-right: 8px; 30 | text-align: right; 31 | color: #333; 32 | } 33 | 34 | .w3tc_cloudflare_widget_logo { 35 | float: left; 36 | width: 220px; 37 | height: 35px; 38 | background: url("Extension_CloudFlare_Widget_Logo.png") no-repeat; 39 | background-size: contain; 40 | } -------------------------------------------------------------------------------- /Extension_CloudFlare_Widget_View.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 |13 | Period 14 | time_mins( $stats, 'since' ) ?> 15 | - 16 | time_mins( $stats, 'until' ) ?> 17 |
18 |21 | | All | 22 |Cached | 23 |
Bandwidth | 26 | v( $stats, 'bandwidth', 'all' ) ?> 27 | v( $stats, 'bandwidth', 'cached' ) ?> 28 |||
Requests | 31 | v( $stats, 'requests', 'all' ) ?> 32 | v( $stats, 'requests', 'cached' ) ?> 33 |||
Page Views | 36 | v( $stats, 'pageviews', 'all' ) ?> 37 |||
Uniques | 40 | v( $stats, 'uniques', 'all' ) ?> 41 |||
Threats | 44 | v( $stats, 'threats', 'all' ) ?> 45 |
14 | FeedBurner extension is currently is_extension_active_frontend( 'feedburner' ) ) 16 | echo 'enabled'; 17 | else 18 | echo 'disabled'; 19 | ?>. 20 |
21 | 22 |
38 | -------------------------------------------------------------------------------- /Extension_FragmentCache_Environment.php: -------------------------------------------------------------------------------- 1 | get_string( array( 'fragmentcache', 'engine' ) ) == 'file' ) { 14 | if ( !wp_next_scheduled( 'w3_fragmentcache_cleanup' ) ) { 15 | wp_schedule_event( time(), 16 | 'w3_fragmentcache_cleanup', 17 | 'w3_fragmentcache_cleanup' ); 18 | } 19 | } else { 20 | self::unschedule(); 21 | } 22 | } 23 | 24 | static public function deactivate_extension() { 25 | self::unschedule(); 26 | } 27 | 28 | /** 29 | * scheduling stuff 30 | */ 31 | static private function unschedule() { 32 | if ( wp_next_scheduled( 'w3_fragmentcache_cleanup' ) ) { 33 | wp_clear_scheduled_hook( 'w3_fragmentcache_cleanup' ); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Extension_FragmentCache_GeneralPage.php: -------------------------------------------------------------------------------- 1 | 'fragmentcache', 'text' => 'Fragment Cache' ); 24 | return $anchors; 25 | } 26 | 27 | 28 | 29 | public function w3tc_settings_general_boxarea_fragmentcache() { 30 | include W3TC_DIR . '/Extension_FragmentCache_GeneralPage_View.php'; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Extension_FragmentCache_GeneralPage_View.php: -------------------------------------------------------------------------------- 1 | 9 |Enable fragment caching reduce execution time for common operations.
10 | 11 |10 | 11 | 12 | 13 |
14 | -------------------------------------------------------------------------------- /Extension_NewRelic_Widget_View_NotConfigured.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | -------------------------------------------------------------------------------- /Extension_Swarmify_AdminActions.php: -------------------------------------------------------------------------------- 1 | set( array( 'swarmify', 'api_key' ), $_REQUEST['swarmcdnkey'] ); 11 | $config->save(); 12 | } 13 | 14 | Util_Environment::redirect( Util_Ui::admin_url( 15 | 'admin.php?page=w3tc_extensions&extension=swarmify&action=view' ) ); 16 | exit(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Extension_Swarmify_Core.php: -------------------------------------------------------------------------------- 1 | first_name . 11 | ( empty( $u->first_name ) ? '' : ' ' ) . 12 | $u->last_name; 13 | 14 | return 'https://www.swarmify.com/landing/w3tc?' . 15 | 'email=' . urlencode( $email ) . 16 | '&name=' . urlencode( $name ) . 17 | '&return=' . 18 | urlencode( wp_nonce_url( Util_Ui::admin_url( 'admin.php' ), 'w3tc' ) . 19 | '&page=w3tc_extensions&w3tc_swarmify_set_key=set' ); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Extension_Swarmify_Page.php: -------------------------------------------------------------------------------- 1 | get_string( array( 'swarmify', 'api_key' ) ); 11 | $authorized = !empty( $api_key ); 12 | 13 | $email = get_bloginfo( 'admin_email' ); 14 | $u = wp_get_current_user(); 15 | $name = $u->first_name . 16 | ( empty( $u->first_name ) ? '' : ' ' ) . 17 | $u->last_name; 18 | 19 | $swarmify_signup_url = Extension_Swarmify_Core::signup_url(); 20 | 21 | include W3TC_DIR . '/Extension_Swarmify_Page_View.php'; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Extension_Swarmify_Widget_View.css: -------------------------------------------------------------------------------- 1 | .w3tc-widget-swarmify-base.sign-up h4 { 2 | text-align: left; 3 | margin-bottom: 0; 4 | padding-bottom: 0; 5 | } 6 | .w3tc-widget-swarmify-base.sign-up p { 7 | margin-top: 4px; 8 | padding-top: 0; 9 | } 10 | .w3tc-widget-swarmify-base.sign-up p span.desc { 11 | color:#8F8F8F; 12 | } 13 | 14 | .w3tc-widget-swarmify-logo { 15 | width: 170px; 16 | height: 35px; 17 | background: url("pub/img/w3tc_swarmify-logo.png") 0 5px no-repeat; 18 | float: left; 19 | } 20 | 21 | /* 22 | @media 23 | (-webkit-min-device-pixel-ratio: 2), 24 | (min-resolution: 192dpi) { 25 | .w3tc-widget-swarmify-logo{ 26 | float: left; 27 | width: 180px; 28 | height: 90px; 29 | background-image: url("pub/img/w3tc_swarmify-logo-retina.png"); 30 | background-size: 589px 90px; 31 | } 32 | } 33 | */ 34 | -------------------------------------------------------------------------------- /Extension_Swarmify_Widget_View_NotConfigured.php: -------------------------------------------------------------------------------- 1 | 8 | 18 | -------------------------------------------------------------------------------- /Extension_WordPressSeo_Plugin.php: -------------------------------------------------------------------------------- 1 | _config = Dispatcher::config(); 9 | } 10 | 11 | public function run() { 12 | if ( $this->_config->get_boolean( 'cdn.enabled' ) ) { 13 | add_filter( 'wpseo_xml_sitemap_img_src', array( 14 | $this, 'wpseo_cdn_filter' ) ); 15 | } 16 | } 17 | 18 | /** 19 | * Hook into Yoast SEO sitemap image filter. 20 | * 21 | * @param unknown $uri 22 | * @return string 23 | */ 24 | public function wpseo_cdn_filter( $uri ) { 25 | $common = Dispatcher::component( 'Cdn_Core' ); 26 | $cdn = $common->get_cdn(); 27 | $parsed = parse_url( $uri ); 28 | $path = $parsed['path']; 29 | $remote_path = $common->uri_to_cdn_uri( $path ); 30 | $new_url = $cdn->format_url( $remote_path ); 31 | 32 | return $new_url; 33 | } 34 | } 35 | 36 | 37 | 38 | $p = new Extension_WordPressSeo_Plugin(); 39 | $p->run(); 40 | 41 | if ( is_admin() ) { 42 | $p = new Extension_WordPressSeo_Plugin_Admin(); 43 | $p->run(); 44 | } 45 | -------------------------------------------------------------------------------- /Extension_Wpml_Plugin.php: -------------------------------------------------------------------------------- 1 | _config = Dispatcher::config(); 9 | } 10 | 11 | public function run() { 12 | if ( Util_Environment::is_w3tc_pro( $this->_config ) ) { 13 | add_filter( 'w3tc_url_to_docroot_filename', 14 | array( $this, 'w3tc_url_to_docroot_filename' ) ); 15 | } 16 | } 17 | 18 | 19 | 20 | public function w3tc_url_to_docroot_filename( $data ) { 21 | $home_url = $data['home_url']; 22 | 23 | if ( substr( $data['url'], 0, strlen( $home_url ) ) != $home_url ) { 24 | $data['home_url'] = get_option( 'home' ); 25 | } 26 | 27 | return $data; 28 | } 29 | } 30 | 31 | 32 | 33 | $p = new Extension_Wpml_Plugin(); 34 | $p->run(); 35 | 36 | if ( is_admin() ) { 37 | $p = new Extension_Wpml_Plugin_Admin(); 38 | $p->run(); 39 | } 40 | -------------------------------------------------------------------------------- /Extensions_AdminActions.php: -------------------------------------------------------------------------------- 1 | array( sprintf( 17 | __( 'Extension %s has been successfully activated.', 18 | 'w3-total-cache' ), 19 | $ext['name'] 20 | ) ) 21 | ) ); 22 | return; 23 | } 24 | } 25 | 26 | Util_Admin::redirect( array() ); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Generic_AdminLinks.php: -------------------------------------------------------------------------------- 1 | get_string( 'common.support' ); 25 | $matches = null; 26 | if ( $support != '' && preg_match( '~^link_category_(\d+)$~', $support, $matches ) ) { 27 | require_once ABSPATH . 'wp-admin/includes/bookmark.php'; 28 | 29 | wp_insert_link( array( 30 | 'link_url' => W3TC_LINK_URL, 31 | 'link_name' => W3TC_LINK_NAME, 32 | 'link_category' => array( 33 | (int) $matches[1] 34 | ), 35 | 'link_rel' => 'nofollow' 36 | ) ); 37 | } 38 | } 39 | 40 | /** 41 | * Deletes plugin link from Blogroll 42 | * 43 | * @return void 44 | */ 45 | static public function link_delete() { 46 | require_once ABSPATH . 'wp-admin/includes/bookmark.php'; 47 | $bookmarks = get_bookmarks(); 48 | $link_id = 0; 49 | foreach ( $bookmarks as $bookmark ) { 50 | if ( $bookmark->link_url == W3TC_LINK_URL ) { 51 | wp_delete_link( $bookmark->link_id ); 52 | } 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /Generic_GeneralPage_View_ShowEdge.js: -------------------------------------------------------------------------------- 1 | 2 | jQuery(function() { 3 | W3tc_Lightbox.open({ 4 | id:'w3tc-overlay', 5 | close: '', 6 | width: 800, 7 | height: 240, 8 | url: ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce + 9 | '&w3tc_action=generic_edge' 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /Generic_GeneralPage_View_ShowSupportUs.js: -------------------------------------------------------------------------------- 1 | jQuery(function() { 2 | W3tc_Lightbox.open({ 3 | id: 'w3tc-overlay', 4 | close: '', 5 | width: 800, 6 | height: 445, 7 | url: ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce + 8 | '&w3tc_action=generic_support_us', 9 | callback: function(lightbox) { 10 | jQuery(".palette-twitter").click(function() {jQuery("#tweeted").val("1");}); 11 | } 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /Generic_Page_About.php: -------------------------------------------------------------------------------- 1 | _config_master; 29 | 30 | $browsercache_enabled = $module_status->is_enabled( 'browsercache' ); 31 | 32 | $enabled = $module_status->plugin_is_enabled(); 33 | 34 | $can_empty_memcache = $module_status->can_empty_memcache(); 35 | 36 | $can_empty_opcode = $module_status->can_empty_opcode(); 37 | 38 | $can_empty_file = $module_status->can_empty_file(); 39 | 40 | $can_empty_varnish = $module_status->can_empty_varnish(); 41 | 42 | $cdn_enabled = $module_status->is_enabled( 'cdn' ); 43 | $cdn_mirror_purge = Cdn_Util::can_purge_all( $module_status->get_module_engine( 'cdn' ) ); 44 | 45 | 46 | // Required for Update Media Query String button 47 | $browsercache_update_media_qs = ( $this->_config->get_boolean( 'browsercache.cssjs.replace' ) || $this->_config->get_boolean( 'browsercache.other.replace' ) ); 48 | 49 | include W3TC_INC_DIR . '/options/dashboard.php'; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Generic_Page_Faq.php: -------------------------------------------------------------------------------- 1 | $number ) { 25 | if ( !isset( $columns[$number] ) ) 26 | $columns[$number] = array(); 27 | $columns[$number][] = $section; 28 | } 29 | 30 | include W3TC_INC_DIR . '/options/faq.php'; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Generic_Page_Install.php: -------------------------------------------------------------------------------- 1 | get_required_rules( $this->_config ); 25 | $other_areas = $e->get_other_instructions( $this->_config ); 26 | } 27 | 28 | include W3TC_INC_DIR . '/options/install.php'; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Generic_WidgetServices_View.php: -------------------------------------------------------------------------------- 1 | 8 |31 | 34 |
35 |9 | Google Page Speed score is not available. 10 |
11 |12 | Please follow the directions 13 | found in the Miscellanous settings box on the 14 | General Settings tab. 15 |
16 | -------------------------------------------------------------------------------- /PgCache_Page.php: -------------------------------------------------------------------------------- 1 | feeds; 24 | 25 | $feed_key = array_search( 'feed', $feeds ); 26 | 27 | if ( $feed_key !== false ) { 28 | unset( $feeds[$feed_key] ); 29 | } 30 | 31 | $default_feed = get_default_feed(); 32 | $pgcache_enabled = $this->_config->get_boolean( 'pgcache.enabled' ); 33 | $permalink_structure = get_option( 'permalink_structure' ); 34 | 35 | $varnish_enabled = $this->_config->get_boolean( 'varnish.enabled' ); 36 | $cdnfsd_enabled = $this->_config->get_boolean( 'cdnfsd.enabled' ); 37 | include W3TC_INC_DIR . '/options/pgcache.php'; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Support_Page_View_DoneContent.php: -------------------------------------------------------------------------------- 1 |8 | Not active. Activate here 9 |
10 | -------------------------------------------------------------------------------- /Util_Bus.php: -------------------------------------------------------------------------------- 1 | __( 'Memcached hostname:port / IP:port:', 'w3-total-cache' ), 10 | 'memcached.persistent' => __( 'Persistent connection', 'w3-total-cache' ), 11 | 'memcached.username' => __( 'Memcached username:', 'w3-total-cache' ), 12 | 'memcached.password' => __( 'Memcached password:', 'w3-total-cache' ), 13 | 'redis.servers' => __( 'Redis hostname:port / IP:port:', 'w3-total-cache' ), 14 | 'redis.persistent' => __( 'Persistent connection', 'w3-total-cache' ), 15 | 'redis.dbid' => __( 'Redis Database ID:', 'w3-total-cache' ), 16 | 'redis.password' => __( 'Redis password:', 'w3-total-cache' ), 17 | ); 18 | } 19 | 20 | return $keys[$key]; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Util_Environment_Exception.php: -------------------------------------------------------------------------------- 1 | technical_message = $technical_message; 10 | } 11 | 12 | public function technical_message() { 13 | return $this->technical_message; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Util_Environment_Exceptions.php: -------------------------------------------------------------------------------- 1 | exceptions = array(); 12 | } 13 | 14 | public function push( $ex ) { 15 | if ( $ex instanceof Util_Environment_Exceptions ) { 16 | foreach ( $ex->exceptions() as $ex2 ) 17 | $this->push( $ex2 ); 18 | } else { 19 | if ( $this->credentials_form == null && 20 | $ex instanceof Util_WpFile_FilesystemOperationException && 21 | $ex->credentials_form() != null ) 22 | $this->credentials_form = $ex->credentials_form(); 23 | $this->exceptions[] = $ex; 24 | } 25 | } 26 | 27 | /** 28 | * 29 | * 30 | * @return Exception[] 31 | */ 32 | public function exceptions() { 33 | return $this->exceptions; 34 | } 35 | 36 | public function credentials_form() { 37 | return $this->credentials_form; 38 | } 39 | 40 | public function getCombinedMessage() { 41 | $s = ''; 42 | foreach ( $this->exceptions as $m ) { 43 | $s .= $m->getMessage() . "\r\n"; 44 | } 45 | 46 | return $s; 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /Util_WpFile_FilesystemChmodException.php: -------------------------------------------------------------------------------- 1 | filename = $filename; 12 | $this->permission = $permission; 13 | } 14 | 15 | public function filename() { 16 | return $this->filename; 17 | } 18 | 19 | public function permission() { 20 | return $this->permission; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Util_WpFile_FilesystemCopyException.php: -------------------------------------------------------------------------------- 1 | source_filename = $source_filename; 13 | $this->destination_filename = $destination_filename; 14 | } 15 | 16 | public function source_filename() { 17 | return $this->source_filename; 18 | } 19 | 20 | public function destination_filename() { 21 | return $this->destination_filename; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Util_WpFile_FilesystemMkdirException.php: -------------------------------------------------------------------------------- 1 | folder = $folder; 11 | } 12 | 13 | public function folder() { 14 | return $this->folder; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Util_WpFile_FilesystemModifyException.php: -------------------------------------------------------------------------------- 1 | modification_description = $modification_description; 14 | $this->filename = $filename; 15 | $this->file_contents = $file_contents; 16 | } 17 | 18 | function modification_description() { 19 | return $this->modification_description; 20 | } 21 | 22 | public function filename() { 23 | return $this->filename; 24 | } 25 | 26 | public function file_contents() { 27 | return $this->file_contents; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Util_WpFile_FilesystemOperationException.php: -------------------------------------------------------------------------------- 1 | credentials_form = $credentials_form; 13 | } 14 | 15 | public function credentials_form() { 16 | return $this->credentials_form; 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Util_WpFile_FilesystemRmException.php: -------------------------------------------------------------------------------- 1 | filename = $filename; 11 | } 12 | 13 | public function filename() { 14 | return $this->filename; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Util_WpFile_FilesystemRmdirException.php: -------------------------------------------------------------------------------- 1 | folder = $folder; 11 | } 12 | 13 | public function folder() { 14 | return $this->folder; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Util_WpFile_FilesystemWriteException.php: -------------------------------------------------------------------------------- 1 | filename = $filename; 13 | $this->file_contents = $file_contents; 14 | } 15 | 16 | public function filename() { 17 | return $this->filename; 18 | } 19 | 20 | public function file_contents() { 21 | return $this->file_contents; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "szepeviktor/w3-total-cache", 3 | "description": "W3 Total Cache (Fixed)", 4 | "type": "wordpress-plugin", 5 | "require": {} 6 | } 7 | -------------------------------------------------------------------------------- /extension-example/Extension_Example.php: -------------------------------------------------------------------------------- 1 | config = w3tc_config(); 20 | 21 | // get value of config option and use it 22 | if ( $this->config->get_boolean( array( 'example' , 'is_title_postfix' ) ) ) 23 | add_filter( 'the_title', array( $this, 'the_title' ), 10, 2 ); 24 | } 25 | 26 | 27 | 28 | /** 29 | * the_title filter handler. 30 | * This extension adds specified postfix to each post title if extensions 31 | * is configured so on its settings page 32 | */ 33 | public function the_title( $title, $id ) { 34 | return $title . 35 | $this->config->get_string( array( 'example' , 'title_postfix' ) ); 36 | } 37 | } 38 | 39 | 40 | 41 | /* 42 | This file is simply loaded by W3 Total Cache in a case if extension is active. 43 | Its up to extension what will it do or which way will it do. 44 | */ 45 | $p = new Extension_Example(); 46 | $p->run(); 47 | 48 | if ( is_admin() ) { 49 | $p = new Extension_Example_Admin(); 50 | $p->run(); 51 | } 52 | -------------------------------------------------------------------------------- /extension-example/Extension_Example_Page_View.php: -------------------------------------------------------------------------------- 1 | 8 | 13 |Example extension is currently enabled
14 | 15 | 44 | -------------------------------------------------------------------------------- /inc/define.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Unfortunately, an error occurred while creating the minify cache. Please check your settings to ensure your site is working as intended.
5 |Thanks for using W3 Total Cache.
6 | 7 |