HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activesupport-7.0.4.2/ri/ActiveSupport/Cache/Store/write-i.ri
U:RDoc::AnyMethod[iI"
write:ETI"&ActiveSupport::Cache::Store#write;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"MWrites the value to the cache with the key. The value must be supported ;TI"0by the +coder+'s +dump+ and +load+ methods.;To:RDoc::Markup::BlankLineo;
;	[I"KBy default, cache entries larger than 1kB are compressed. Compression ;TI"Lallows more data to be stored in the same memory footprint, leading to ;TI"0fewer cache evictions and higher hit rates.;T@S:RDoc::Markup::Heading:
leveli	:	textI"Options;T@o:RDoc::Markup::List:
@type:BULLET:@items[
o:RDoc::Markup::ListItem:@label0;	[o;
;	[I"H<tt>compress: false</tt> - Disables compression of the cache entry.;T@o;;0;	[o;
;	[I"L+:compress_threshold+ - The compression threshold, specified in bytes. ;TI"L\Cache entries larger than this threshold will be compressed. Defaults ;TI"to +1.kilobyte+.;T@o;;0;	[o;
;	[I"J+:expires_in+ - Sets a relative expiration time for the cache entry, ;TI"Jspecified in seconds. +:expire_in+ and +:expired_in+ are aliases for ;TI"+:expires_in+.;T@o:RDoc::Markup::Verbatim;	[I"Jcache = ActiveSupport::Cache::MemoryStore.new(expires_in: 5.minutes)
;TI"Ucache.write(key, value, expires_in: 1.minute) # Set a lower value for one entry
;T:@format0o;;0;	[o;
;	[I"J+:expires_at+ - Sets an absolute expiration time for the cache entry.;T@o;;	[I"3cache = ActiveSupport::Cache::MemoryStore.new
;TI"Bcache.write(key, value, expires_at: Time.now.at_end_of_hour)
;T;0o;;0;	[o;
;	[	I"H+:version+ - Specifies a version for the cache entry. When reading ;TI"Hfrom the cache, if the cached version does not match the requested ;TI"Hversion, the read will be treated as a cache miss. This feature is ;TI"+used to support recyclable cache keys.;T@o;
;	[I"NOther options will be handled by the specific cache store implementation.;T:
@fileI" lib/active_support/cache.rb;T:0@omit_headings_from_table_of_contents_below000[I"!(name, value, options = nil);T@DFI"
Store;TcRDoc::NormalClass00