並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 52件

新着順 人気順

cachingの検索結果1 - 40 件 / 52件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

cachingに関するエントリは52件あります。 githubwebtechfeed などが関連タグです。 人気エントリには 『Docker for Mac の Mutagen-based caching で Volume のパフォーマンスが劇的に改善した - Qiita』などがあります。
  • Docker for Mac の Mutagen-based caching で Volume のパフォーマンスが劇的に改善した - Qiita

    Docker for Mac の Mutagen-based caching で Volume のパフォーマンスが劇的に改善したSymfonyMacDockerEC-CUBEmutagen 2020/8/23 追記 2.3.5.0 の Edge release で削除されてしまった模様です。 今後の統合方法を検討するということで、続報を期待します。。 Docker for Mac の Edge channel で、 Mutagen ベースのキャッシュが使えるようになっています。(手元のバージョンは 2.3.1.0) 従来、 EC-CUBE をはじめとする Symfony をベースとしたアプリケーションや、Composer や npm などのパッケージ管理システムのファイルをマウントすると、強烈に遅くなる問題がありました。 今回利用できるようになった Mutagen ベースのキャッシュを利用

      Docker for Mac の Mutagen-based caching で Volume のパフォーマンスが劇的に改善した - Qiita
    • webpack@5で入るPersistent Cachingについて - hiroppy's site

      webpack/lib/config/defaults.js 実際に使うときの設定 結論ですが、webpack.config.js へ以下のように書くことが推奨されます。 module.exports = { cache: { type: "filesystem", buildDependencies: { config: [__filename], }, }, }; あとは、各コードの設定に依存するためversion等の追加が必要になる可能性があります。 ドキュメント Other Options | webpack webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, ... 仕組み ファイルキャッシュでは以下のようにデフォルトではnode_m

        webpack@5で入るPersistent Cachingについて - hiroppy's site
      • GitHub Actions: Setup-node now supports dependency caching · GitHub Changelog

        AI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. GitHub CopilotChange how you work with GitHub Copilot. LLMsEverything developers need to know about LLMs. Machine learningMachine learning tips, tricks, and best practices. How AI code generation worksExplore the capabilities and be

          GitHub Actions: Setup-node now supports dependency caching · GitHub Changelog
        • GitHub - valkey-io/valkey: A flexible distributed key-value datastore that supports both caching and beyond caching workloads.

          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

            GitHub - valkey-io/valkey: A flexible distributed key-value datastore that supports both caching and beyond caching workloads.
          • React cache() で Next.js の Per-request Caching が実現できるのはなぜか

            Next.js App Router では、リクエスト単位で処理をキャッシュする機構が存在し、ドキュメント上にも Per-request Caching として説明があります。 ひとつは、fetch() による Automatic fetch() Request Deduping で、単一リクエスト内で同一の fetch()リクエストが存在した場合、重複を排除し、最低限の実行としてくれます。これには特に設定などは必要なく、一定条件(GET かどうか、など)を満たしていれば自動的に最適化されます。 詳細は ↓ をご覧ください。 そしてもう一つ、React が提供する cache() 関数を実行することでも同様にリクエスト単位でのキャッシュが実現できます。 これは Automatic fetch() Request Deduping では対処できないケースで活躍し、DB からの直接のデータ取得

              React cache() で Next.js の Per-request Caching が実現できるのはなぜか
            • GitHub - readysettech/readyset: Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached selec

              ReadySet is a transparent database cache for Postgres & MySQL that gives you the performance and scalability of an in-memory key-value store without requiring that you rewrite your app or manually handle cache invalidation. ReadySet sits between your application and database and turns even the most complex SQL reads into lightning-fast lookups. Unlike other caching solutions, it keeps cached query

                GitHub - readysettech/readyset: Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached selec
              • Building Your Application: Caching | Next.js

                Caching in Next.jsNext.js improves your application's performance and reduces costs by caching rendering work and data requests. This page provides an in-depth look at Next.js caching mechanisms, the APIs you can use to configure them, and how they interact with each other. Good to know: This page helps you understand how Next.js works under the hood but is not essential knowledge to be productive

                  Building Your Application: Caching | Next.js
                • CircleCIのDocker Layer Cachingが有料 & だいぶ高価になっていた - モヒカンメモ

                  ざっくりまとめ CircleCIのDocker Layer Caching (DLC) がパフォーマンスプラン (従量課金) の有料機能になっていた DLCが有効だと、ジョブが1回走る度にVMを20分間動かしたのと同じぶんのクレジットを消費する クレジットは減ったら自動チャージで課金されるので、ガンガン課金されてCI破産しないようにご注意を Docker Layer Caching (DLC) とはなにか docker build時の中間キャッシュ (Layer cache) を再利用する仕組み。前回のビルドから変更がなかった分の中間キャッシュを再利用できれば、その続きからのビルドのみで済むのでCI時間を短縮できる 過去の使ってみた記事 (2018年): blog.pinkumohikan.com いつの間にか有料になっていた 自分が先の記事を書いた2018年5月時点では無料プランでも使え

                    CircleCIのDocker Layer Cachingが有料 & だいぶ高価になっていた - モヒカンメモ
                  • Claudeのprompt cachingを活用する - Algomatic Tech Blog

                    LLM APIの最強の一角であるAnthropic Claudeにprompt cachingが実装されました。簡単に言うとプロンプトの先頭から指定の位置までをキャッシュしてくれて、キャッシュを利用できた場合はAPI使用料金と、APIでかかる処理時間が大幅に改善するというものです。 キャッシュ書き込みではコストが1.25倍(つまり25%アップ)になってしまいますが、キャッシュ読み込みではコストが1/10(ただしHaikuの場合だけは$0.25/1Mtokensが$0.03になるので厳密には違う)になります。 速度に関しても、コストのうち処理時間が支配的なLLMにおいて値段が1/10になることから察する通りの速度がでます。 LLMの使い方に依存するものの、prompt cachingを使いこなせば、少なくない事業インパクトをもたらす事は間違いありません。 Google Geminiにも同様の

                      Claudeのprompt cachingを活用する - Algomatic Tech Blog
                    • CircleCIでLayer Cachingを使わずにdocker buildを高速化する

                      【東京】CircleCI ユーザーコミュニティ ミートアップ #9 https://circleci.connpass.com/event/242577/ URLリンクも有効なGoogle Slide版は https://docs.google.com/presentation/d/1UpRy…

                        CircleCIでLayer Cachingを使わずにdocker buildを高速化する
                      • An enterprise-ready serverless platform for caching and pub/sub

                        We're at GDC this week (3/18 - 3/20)! Schedule a meeting with us or visit us at booth SU22.

                          An enterprise-ready serverless platform for caching and pub/sub
                        • Twitter Direct Message Caching and Firefox – Mozilla Hacks - the Web developer blog

                          Editor’s Note: April 6, 7:00pm pt – After some more investigation into this problem, it appears that the initial analysis pointing to the Content-Disposition was based on bad information.  The reason that some browsers were not caching direct messages was that Twitter includes the non-standard Pragma: no-cache header in responses. Using Pragma is invalid as it is defined to be equivalent to Cache-

                            Twitter Direct Message Caching and Firefox – Mozilla Hacks - the Web developer blog
                          • GitHub - TanStack/router: 🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.

                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                              GitHub - TanStack/router: 🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
                            • Improving Distributed Caching Performance and Efficiency at Pinterest

                              IntroductionPinterest’s distributed caching system, built on top of open source technologies memcached and mcrouter, is a critical component of the production infrastructure stack. Pinterest’s cache-as-a-service platform is responsible for driving down application latency across the board, reducing the overall cloud cost footprint, and ensuring adherence to strict sitewide availability targets. To

                                Improving Distributed Caching Performance and Efficiency at Pinterest
                              • GitHub - rtk-incubator/rtk-query: Data fetching and caching addon for Redux Toolkit

                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                  GitHub - rtk-incubator/rtk-query: Data fetching and caching addon for Redux Toolkit
                                • Caching Docker builds in GitHub Actions: Which approach is the fastest? 🤔 A research.

                                  Caching Docker builds in GitHub Actions: Which approach is the fastest? 🤔 A research. Abstract: In this post, I experimented with 6 different approaches for caching Docker builds in GitHub Actions to speed up the build process and compared the results. After trying out every approach, 10 times each, the results show that using GitHub Packages’ Docker registry as a build cache, as opposed to GitHu

                                    Caching Docker builds in GitHub Actions: Which approach is the fastest? 🤔 A research.
                                  • Service worker caching and HTTP caching  |  Articles  |  web.dev

                                    Service worker caching and HTTP caching Stay organized with collections Save and categorize content based on your preferences. The pros and cons of using consistent or different expiry logic across the service worker cache and HTTP cache layers. While service workers and PWAs are becoming standards of modern web applications, resource caching has become more complex than ever. This article covers

                                    • A Tour of Inline Caching with Delete

                                      If you search for any JavaScript performance advice, a very popular recommendation is to avoid the delete operator. Today, this seems to be good advice, but why should it be vastly more expensive to delete a property than to add it? The goal of my internship at Apple this winter was to improve the performance of the delete operator in JavaScriptCore. This has given me the opportunity to learn abou

                                        A Tour of Inline Caching with Delete
                                      • GitHub - HeyPuter/kv.js: ⚡️ Advanced in-memory caching for JavaScript.

                                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                          GitHub - HeyPuter/kv.js: ⚡️ Advanced in-memory caching for JavaScript.
                                        • Prompt caching with Claude

                                          Prompt caching, which enables developers to cache frequently used context between API calls, is now available on the Anthropic API. With prompt caching, customers can provide Claude with more background knowledge and example outputs—all while reducing costs by up to 90% and latency by up to 85% for long prompts. Prompt caching is available today in public beta for Claude 3.5 Sonnet, Claude 3 Opus,

                                            Prompt caching with Claude
                                          • CloudFrontのQueryString Forwarding and Cachingの設定と動作について | Simple is Beautiful.

                                            originへのリクエストはパラメータが付与されなくなります。 Forward all, chache based on whitelist この設定では基本的にNoneと同じ様にすべてキャッシュします。ただし、下のQuery String Whitelistに記入されているものに関してはクエリパラメータをそのまま通します。 キャッシュに関してはクエリパラメータの値が同じ場合にはキャッシュがあれば使用し、なければ取得してキャッシュします。異なった場合には取得してキャッシュするという動きをします。 クエリパラメータ名をこの様にaとbと設定したときのキャッシュのされ方を見てみます。 クエリパラメータが1つの時 最初にアクセスしたURL /style.css?a=123 次にアクセスした時の動作 URL キャッシュ

                                              CloudFrontのQueryString Forwarding and Cachingの設定と動作について | Simple is Beautiful.
                                            • AMP キャッシュを超えるシステムを自社ドメインで実現する方法

 / How to implement a system that goes beyond amp-caching on your domain

                                              AMP キャッシュを超えるシステムを自社ドメインで実現する方法

 / How to implement a system that goes beyond amp-caching on your domain

                                                AMP キャッシュを超えるシステムを自社ドメインで実現する方法

 / How to implement a system that goes beyond amp-caching on your domain
                                              • RTK Query: The future of data fetching and caching for Redux - LogRocket Blog

                                                RTK Query is an experimental library from the Redux team with the main purpose of fetching and caching data for your web app. It utilizes Redux under the hood and is built on top of Redux Toolkit (RTK). RTK Query provides advanced setup options to handle your fetching and caching needs in the most flexible and efficient way possible. While RTK Query utilizes Redux under the hood, that doesn’t mean

                                                  RTK Query: The future of data fetching and caching for Redux - LogRocket Blog
                                                • Deep Dive: Caching and Revalidating · vercel/next.js · Discussion #54075

                                                  The Next.js App Router introduced new heuristics around caching and revalidating. To ensure we’re all discussing the intended behavior of how caching is designed to work, I thought it would be helpful to have a discussion going in-depth on how each piece works. This complements the recently published caching documentation. It’s a follow up to an issue where some members of the community were confu

                                                    Deep Dive: Caching and Revalidating · vercel/next.js · Discussion #54075
                                                  • New HTTP standards for caching on the modern web

                                                    If you run any large public-facing website or web application on the modern web, caching your static content in a CDN or other caching service is super important. It's also remarkably complicated and confusing. Fortunately, the HTTP working group at the Internet Engineering Task Force (IETF) is working to define new HTTP standards to make this better. There's been a lot of work here recently to la

                                                      New HTTP standards for caching on the modern web
                                                    • reibitto's blog - Remote caching with sbt and S3 across multiple machines

                                                      sbt 1.4.x introduced remote caching, a feature for sharing your build output in order to save time during compilation. You can think of it similarly to how incremental compilation works in that if you change 1 file of a project containing hundreds of files, you'd rather not have to recompile everything. Remote caching takes this one step further. Rather than be limited to your machine, you can do

                                                      • How to Improve Rails Caching with Brotli Compression

                                                        Caching is an effective way to speed up the performance of Rails applications. However, the costs of an in-memory cache database could become significant for larger-scale projects. In this blog post, I’ll describe optimizing the Rails caching mechanism using the Brotli compression algorithm instead of the default Gzip. I’ll also discuss a more advanced technique of using in-memory cache for extrem

                                                          How to Improve Rails Caching with Brotli Compression
                                                        • Caching clash: SWR vs. TanStack Query for React - LogRocket Blog

                                                          Most React applications communicate with remote data sources to persist and retrieve data records. Web application development teams nowadays tend to use REST and GraphQL-like communication patterns to implement their remote data source interfaces. Then, frontend development teams have to make network requests with various libraries through their React apps to sync data between the client side and

                                                            Caching clash: SWR vs. TanStack Query for React - LogRocket Blog
                                                          • Brief Overview of Caching and Cache Invalidation

                                                            Caches are present everywhere: from the lowest to highest levels: There are hardware caches inside your processor cores (L1, L2, L3), Page/Disk cache that our Operating Systems Caches for databases such as using MemCached, Redis or DAX for DynamoDB API caches Layer-7 (Application layer) HTTP caches like Edge level caching in CDNs DNS caching Cache in your browser Microservices can have internal ca

                                                              Brief Overview of Caching and Cache Invalidation
                                                            • In-process Caching In Go: Scaling lakeFS to 100k Requests/Second

                                                              Home > Blog > In-process Caching In Go: Scaling lakeFS to 100k Requests/Second This is a first in a series of posts describing our journey of scaling lakeFS. In this post we describe how adding an in-process cache to our Go server speed up our authorization flow. Background lakeFS is an open-source layer that delivers resilience and manageability to object-storage based data lakes. With lakeFS you

                                                                In-process Caching In Go: Scaling lakeFS to 100k Requests/Second
                                                              • Client-side caching in Redis

                                                                Server-assisted, client-side caching in Redis Client-side caching is a technique used to create high performance services. It exploits the memory available on application servers, servers that are usually distinct computers compared to the database nodes, to store some subset of the database information directly in the application side. Normally when data is required, the application servers ask t

                                                                • RFC9111 HTTP Cachingの変更点について – cat /dev/random > /dev/null &

                                                                  はじめに 少し前にHTTP関連のRFCが改訂されましたね!(RFC91XX) このあたりの全般的な話は既に詳しい方々が触れていますので(HTTP 関連 RFC が大量に出た話と 3 行まとめ)、基本的にはそっちを参照すればよいかなと思うのですが、何が変わったかというと大規模なリファクタリングがされたといっていいでしょう。(もちろん同時にHTTP/3やCache-Statusなどの新しい仕様もふえています) とはいえHTTPのリファクタリングってなに?と思うことも多いと思うのでHTTP/2の例示をしてみます。 皆さんご存じの通りHTTP/2、HTTP/1.1のどちらにおいてもAccept-Encodingなどのフィールド(改訂でヘッダからフィールドに用語が変わりました)は同様に使えます。 要はセマンティクスは同じなわけですが、RFC7231ではHypertext Transfer Proto

                                                                  • GitHub - mufeedvh/binserve: A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.

                                                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                      GitHub - mufeedvh/binserve: A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.
                                                                    • GitHub - redis/rueidis: A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.

                                                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                        GitHub - redis/rueidis: A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.
                                                                      • Vertex AI: Gemini API の Context caching の紹介

                                                                        何の話かと言うと Google Cloud で利用可能なマルチモーダル対応の基盤モデルである Gemini 1.5 Pro / Flash に対して、Context caching の機能が利用可能になりました。これがどのような機能で何の役に立つのかを実際の使用例とあわせて、わかりやすく説明します。 Context caching のない時 Gemini はマルチモーダル対応モデルなので、プロンプトに動画などのメディアコンテンツを埋め込むことができます。具体的には、次のように Python のリスト形式でプロンプトを構成します。

                                                                          Vertex AI: Gemini API の Context caching の紹介
                                                                        • Caching Without Marshal Part 1: Marshal from the Inside Out

                                                                          Opens in a new windowOpens an external siteOpens an external site in a new window Caching is critical to how Rails applications work. At every layer, whether it be in page rendering, database querying, or external data retrieval, the cache is what ensures that no single bottleneck brings down an entire application. But caching has a dirty secret, and that secret’s name is Marshal. Marshal is Ruby’

                                                                            Caching Without Marshal Part 1: Marshal from the Inside Out
                                                                          • vcpkg: Accelerate your team development environment with binary caching and manifests - C++ Team Blog

                                                                            vcpkg: Accelerate your team development environment with binary caching and manifests This post was updated on September 21, 2020 to add more information on the GitHub Packages binary caching example. Please see our Visual Studio 2019 version 16.8 Preview 3 release notes for more of our latest features. September is the biggest month for us in the Microsoft C++ team as it’s CppCon month! Our team

                                                                              vcpkg: Accelerate your team development environment with binary caching and manifests - C++ Team Blog
                                                                            • Build images on GitHub Actions with Docker layer caching—Martian Chronicles, Evil Martians’ team blog

                                                                              Save hours of googling and learn how to build images on GitHub Actions with proper Docker layer caching. With Docker’s BuildKit capabilities (now easy to set up on GitHub’s CI runners) you can use the native caching mechanism of Actions to keep your image layers neatly tucked in between the builds. We’ve got examples of a run-of-the-mill Rails application with single and multi-stage production Doc

                                                                                Build images on GitHub Actions with Docker layer caching—Martian Chronicles, Evil Martians’ team blog
                                                                              • Docker for Mac の Mutagen-based cachingを使ったらホスト側のファイルの変更が反映されなくなった - Qiita

                                                                                Docker for Mac の Mutagen-based cachingを使ったらホスト側のファイルの変更が反映されなくなったRailsDockerdocker-composedocker-for-macmutagen 何が起きたか Docker for Mac の Mutagen-based caching で Volume のパフォーマンスが劇的に改善した こちらの記事を見て試してみたらrspecとかrubocopとか爆速になってうおおおおおおってなったけど swagger.ymlのホスト側での変更がredocのコンテナ内に反映されなくなってしまった しかし、railsプロジェクトの方は問題なく反映されていてなんでだろうと思ったら 原因 version: '3' services: redoc: image: redocly/redoc:latest volumes: - ./sw

                                                                                  Docker for Mac の Mutagen-based cachingを使ったらホスト側のファイルの変更が反映されなくなった - Qiita
                                                                                • ETag and HTTP caching

                                                                                  One neat use case for the HTTP ETag header is client-side HTTP caching for GET requests. Along with the ETag header, the caching workflow requires you to fiddle with other conditional HTTP headers like If-Match or If-None-Match. However, their interaction can feel a bit confusing at times. Every time I need to tackle this, I end up spending some time browsing through the relevant MDN docs123 to jo

                                                                                    ETag and HTTP caching

                                                                                  新着記事