Simple Cache

説明

Simple Cache was constructed after getting frustrated with the major caching plugins available and building sites with developer-only complex caching solutions that get millions of page views per day. Simple Cache promises the following:

  • Extremely simple one-click install. There is an on-off switch. That’s it. No need to wade through 50 complicated settings.
  • Simple Cache makes your site run very fast so you can handle lots of traffic.
  • Extremely easy to delete. Don’t like the plugin? You can remove it, and your website won’t break.
  • Easily clear the cache if you need to.
  • Enable gzip compression
  • Want to get advanced with object caching (Memached or Redis)? An advanced mode is available that will automatically setup Batcache and Memcached/Redis for you.

If you need your site to run fast, don’t have time to mess with complicated settings, and have been frustrated by other caching plugins, give Simple Cache a try.

Pull requests are welcome on Github.

支援

For full documentation, questions, feature requests, and support concerning the Simple Cache plugin, please refer to Github.

インストール

  1. Install the plugin through your dashboard.
  2. Navigate to Settings > Simple Cache. Turn caching on.
  3. Done.

評価

2021年9月15日
I've tested many caching plugins and every single one pissed me off. One plugin had to many options to configure, another plugin broke my site, another more needed to buy premium version and pay... I just wanted simple cache, and that's all. So I installed "Simple Cache" as the name says and it works perfectly! We have only few most important options and zero redundant shit 🙂 I already built many sites with this plugin and I've never had any problem. Only when you use WooCommerce remember to put cart page URL to "Exception URL(s)" area so plugin will not cache products in the cart.
2020年9月15日
After install and activating on a fresh WordPress installation, totally broke my site and made it unreachable, even the admin section: Error 503 Backend fetch failed Backend fetch failed Now I have to uninstall it via FTP to make my site recover.
2020年7月10日
Установила плагин Simple Cache, активировала. Включила плагин после 2 нажатий: Включить кеширование, сразу не включился. При переходе с консоли на главную страницу сайта: Перейти на сайт - на экране надпись: На сайте возникла критическая ошибка. Главная страница сайта не открылась. Плагин деактивировала - все нормально. После обновления сайта снова активировала плагин. При активации плагина - опять критическая ошибка. Плагин заявлен, как простой кеширующий плагин, который просто работает - поэтому хотела его установить, надеялась, что не будет проблем.
2019年3月17日
After I activate the plugin, the following message prompt out, I have tried to use "Auto" or even Manual to add the code but the error message still there, and the plugin not function until the message being fix. I am using wordpress 5.0.4, php 7, so don't waste your time to try this plugin. Simple Cache has encountered the following error(s): define( "WP_CACHE", true ); is not in wp-config.php. Either click "Attempt Fix" or add the code manually.
55件のレビューをすべて表示

貢献者と開発者

Simple Cache はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Simple Cache” は4ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Simple Cache” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

Version 2.0.0 of Simple Cache comes with some useful new features and bug fixes. This release was
created by Luis Herranz and the Frontity framework.

2.0.0

Breaking Changes:
* The REST API is not cached anymore by default

New Features:
* Cache REST API setting added in advanced mode.
* Restore headers setting added to advanced mode. This will tell Simple Cache to cache headers and return the
same headers when a cache hit occurs.
* New X-Simple-Cache header. HIT/MISS depending on if a cache match is found.

Bug Fixes:
* Don’t flush the cache when the user edits a draft post

1.7.4

  • Fix WP_PLUGIN_DIR constant

1.7.3

  • Use WP_PLUGIN_DIR constant

1.7.2

  • Add try/catch to redis connect
  • Add sc_get_cache_path function
  • Fix cache flush path
  • Fix purge intervals
  • Improve error messages
  • Improved string encoding for better compatibility with other languages

1.7.1

  • Fix cache directory write check
  • Fix cache directory write error notice

1.7

  • Remove WP_Filesystem usage
  • Add support for object cache dropin using Memcached extension
  • Add optional constants for setting the config and caching directories
  • Support network-wide installs. Add multisite settings page
  • Support Memcached PHP extension

1.6.4

  • Fix undefined $blog_id warning in redis object cache.
  • Prevent mixed content. Props benoitchantre.
  • Added WP_CACHE_KEY_SALT constant with a random value. Props gagan0123.

1.6.3

  • Fix missing FS_CHMOD_DIR and FS_CHMOD_MODE in sc_cache(). Props chesio
  • Make form labels properly clickable. Props ranss
  • Only show notices to admins. Props psorensen

1.6.2

  • Prevent fatal when commenting with Captcha.

1.6.1

  • Fix comment update warnings

1.6

  • Add wildcards and regex to cache exemptions

1.5.6

  • Prevent gzipping on 404 or non-cached pages

1.5.5

  • Fix Memcache cache purging with the following:
  • Allow Memcache flushing in multisite
  • Include object cache within the admin
  • Only batcache when a URL is accessed 2 times

1.5.4

  • Fix comment status PHP notice
  • Only let admins see purge cache button

1.5.3

  • Fix non-HTML (JSON) file caching.

1.5.2

  • Fix password protected posts

1.5.1

  • Only create gzip file cache file if necessary and vice-versa
  • Don’t check exceptions in simple mode

1.5

  • Add page cache URL exemptions in advanced mode
  • Improve messaging around object caching extensions

1.4.2

  • Properly verify files can be created/edited. Props davetgreen

1.4.1

  • Make sure file.php is included on purging. Props sagliksever
  • Make sure we don’t cache wp-login.php and other php files.
  • Reschedule cron when settings are saved
  • Properly output HTTP caching headers
  • Make HTML cache comment more human readable.
  • Fix rtrim file path bug
  • Properly clear file cache on cron
  • (Important) Purge all cache when a post is updated/created. This makes sure you don’t show a stale blog index when content is created/updated.
  • Make sure config file doesnt balloon

1.4

  • Properly purge cache when comments are created/approved.
  • Make sure user gets non cached pages after commenting
  • Fix bug causing php files with get params to be cached
  • Properly check WordPress logged in cookies

1.3

  • Purge single view cache for all post types when they are updated/deleted
  • Admin bar button for purging the cache

1.2.5

  • Support wp-config.php one directory below WP.

1.2.4

  • Fix config file getting erased in Windows
  • Add developer function sc_cache_flush() for clearing the cache

1.2.3

  • Properly check needed file permissions
  • Sane default cache expiration time

1.2.2

  • On uninstall delete all related plugin files including config.
  • Turn off object caching in admin
  • Update notices
  • Dont show in memory options that aren’t available

1.2.1

  • Fix advanced dropdown bug

1.2

  • Support gzip compression
  • Fix bug when config variable doesn’t exist
  • Fix advanced tab toggling JS error
  • Fix bug where in memory cache setting was sticking in simple mode

1.1

  • Add page cache length field
  • Code formatting

1.0.3

  • Fix error messaging around non-writeable file system
  • Fix redis

1.0.2

  • Properly clean up files
  • Don’t break if advanced-cache.php or object-cache.php is gone.

1.0.1

  • Boolval bug fixed

1.0

  • Plugin released