検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 60 for cached (0.029 sec.)
Django's cache framework — Django 4.0.6 ドキュメント 14978
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the cache if the page is in the cache : return the cached page else : generate the page save the generated p ... headers) about which parts of your site should be cached, and how. 参考 The Cache Framework design philosop ... t of setup. Namely, you have to tell it where your cached data should live -- whether in a database, on the ... xplanation of all available values for CACHES . Memcached ¶ Memcached is an entirely memory-based cache serv ...
https://man.plustar.jp/django/topics/cache.html - [similar]
Django Utils — Django 4.0.6 ドキュメント 11444
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... a response to indicate that a page should never be cached. Each header is only added if it isn't already set ... ) ¶ Spec: RFC 4287 django.utils.functional ¶ class cached_property ( func , name = None ) [ソース] ¶ The @ca ... hod with a single self argument as a property. The cached result will persist as long as the instance does, ... around and the function subsequently invoked, the cached result will be returned. Consider a typical case, ...
https://man.plustar.jp/django/ref/utils.html - [similar]
django.utils.functional — Django 4.0.6 ドキュメント 10659
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... import total_ordering , wraps [ドキュメント] class cached_property : """ Decorator that converts a method wi ... th a single self argument into a property cached on the instance. A cached property can be made out ... of an existing method: (e.g. ``url = cached_property(get_absolute_url)``). The optional ``name ... f func ( instance ): raise TypeError ( "Cannot use cached_property instance without calling " "__set_name__( ...
https://man.plustar.jp/django/_modules/django/utils/functional.html - [similar]
Django 1.8.2 リリースノート — Django 4.0.6 ドキュメント 9350
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... veral bugs in 1.8.1. Fixed session flushing in the cached_db backend ¶ A change to session.flush() in the ca ... 1.8.2 リリースノート Fixed session flushing in the cached_db backend Bugfixes 前のトピックへ Django 1.8.3 リ ...
https://man.plustar.jp/django/releases/1.8.2.html - [similar]
The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 9219
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ese loaders are wrapped in django.template.loaders.cached.Loader . See Loader types for details. string_if_i ... ' , 'APP_DIRS' : True , }] django.template.loaders.cached.Loader class cached. Loader ¶ By default (when DEB ... compiling templates can add up. You configure the cached template loader with a list of other loaders that ... nown templates when they're first encountered. The cached loader then stores the compiled Template in memory ...
https://man.plustar.jp/django/ref/templates/api.html - [similar]
Django 2.2 リリースノート — Django 4.0.6 ドキュメント 9088
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y. It's automatically installed along with Django. cached_property aliases ¶ In usage like: from django.util ... s.functional import cached_property class A : @cached_property def base ( sel ... f ): return ... alias = base alias is not cached. Where the problem can be detected (Python 3.6 and ... usage now raises TypeError: Cannot assign the same cached_property to two different names ('base' and 'alias ...
https://man.plustar.jp/django/releases/2.2.html - [similar]
セッションの使いかた — Django 4.0.6 ドキュメント 8303
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ly use cache-based sessions if you're using the Memcached or Redis cache backend. The local-memory cache bac ... ESSION_ENGINE を "django.contrib.sessions.backends.cached_db" に設定します。こちらは、書き込み透過な (write- ... 処理をしないので、より高速です。ほとんどのケースでは cached_db バックエンドでも十分高速ですが、パフォーマンスを ... には、 cache バックエンドを使用すると良いでしょう。 cached_db セッションバックエンドを使用する場合には、 usin ...
https://man.plustar.jp/django/topics/http/sessions.html - [similar]
パフォーマンスと最適化 — Django 4.0.6 ドキュメント 8303
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rd producing well-performing code, not a shortcut. cached_property ¶ クラスのインスタンスのメソッドを複数回呼 ... 高価な場合、複数回の呼び出しは資源の浪費になります。 cached_property デコレータを使うことで、プロパティが返す値 ... セッション ¶ キャッシュを使ったセッション ¶ Using cached sessions may be a way to increase performance by e ... ることがあります。 キャッシュテンプレートローダー ¶ cached template loader を有効にすると、パフォーマンスが劇 ...
https://man.plustar.jp/django/topics/performance.html - [similar]
django.core.paginator — Django 4.0.6 ドキュメント 8041
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... th import ceil from django.utils.functional import cached_property from django.utils.inspect import method_h ... e` object. """ return Page ( * args , ** kwargs ) @cached_property def count ( self ): """Return the total n ... ): return c () return len ( self . object_list ) @cached_property def num_pages ( self ): """Return the tot ...
https://man.plustar.jp/django/_modules/django/core/paginator.html - [similar]
デプロイチェックリスト — Django 4.0.6 ドキュメント 8041
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ーンすることもできます。 セッション ¶ Consider using cached sessions to improve performance. If using database ... おいて、とても効果的です。 TEMPLATES ¶ Enabling the cached template loader often improves performance drastic ... it needs to be rendered. When DEBUG = False , the cached template loader is enabled automatically. See djan ... go.template.loaders.cached.Loader for more information. エラーのレポート ¶ あ ...
https://man.plustar.jp/django/howto/deployment/checklist.html - [similar]
PREV 1 2 3 4 5 6 NEXT