Suche senden
Hochladen
Rails Page Caching
•
Als PPT, PDF herunterladen
•
0 gefällt mir
•
2,297 views
Travis Roberts
Folgen
Presentation given at the Feb '10 Nashville Ruby on Rails Meetup group.
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 10
Jetzt herunterladen
Empfohlen
Designing CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIs
Neil Crookes
CakePHP REST Plugin
CakePHP REST Plugin
Kevin van Zonneveld
Webオペレーション研修イントロダクション
Webオペレーション研修イントロダクション
Joe_noh
Ignite Talk on Chef
Ignite Talk on Chef
Bob Nowadly
1時間で作るマッシュアップサービス(関西版)
1時間で作るマッシュアップサービス(関西版)
Yuichiro MASUI
CakeFest 2013 - A-Z REST APIs
CakeFest 2013 - A-Z REST APIs
anthony_putignano
Web service with Laravel
Web service with Laravel
Abuzer Firdousi
More to RoC weibo
More to RoC weibo
shaokun
Empfohlen
Designing CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIs
Neil Crookes
CakePHP REST Plugin
CakePHP REST Plugin
Kevin van Zonneveld
Webオペレーション研修イントロダクション
Webオペレーション研修イントロダクション
Joe_noh
Ignite Talk on Chef
Ignite Talk on Chef
Bob Nowadly
1時間で作るマッシュアップサービス(関西版)
1時間で作るマッシュアップサービス(関西版)
Yuichiro MASUI
CakeFest 2013 - A-Z REST APIs
CakeFest 2013 - A-Z REST APIs
anthony_putignano
Web service with Laravel
Web service with Laravel
Abuzer Firdousi
More to RoC weibo
More to RoC weibo
shaokun
Cooking chef
Cooking chef
ranjithar92
Rack
Rack
Revath S Kumar
Rails web api 开发
Rails web api 开发
shaokun
An introduction to Laravel Passport
An introduction to Laravel Passport
Michael Peacock
Cocoa on-rails-3rd
Cocoa on-rails-3rd
Xiaochun Shen
Web services with laravel
Web services with laravel
Confiz
Top laravel packages to install handpicked list from expert
Top laravel packages to install handpicked list from expert
Katy Slemon
Rails3 changesets
Rails3 changesets
Wen-Tien Chang
REST APIs in Laravel 101
REST APIs in Laravel 101
Samantha Geitz
Be happy with Ruby on Rails - CEUNSP Itu
Be happy with Ruby on Rails - CEUNSP Itu
Lucas Renan
Task scheduling in laravel 8 tutorial
Task scheduling in laravel 8 tutorial
Katy Slemon
Javascript laravel's friend
Javascript laravel's friend
Bart Van Den Brande
RESTful API development in Laravel 4 - Christopher Pecoraro
RESTful API development in Laravel 4 - Christopher Pecoraro
Christopher Pecoraro
Apikit from command line
Apikit from command line
fedefortin
Dev streams2
Dev streams2
David Mc Donagh
RoR guide_p1
RoR guide_p1
Brady Cheng
Laravel Beginners Tutorial 2
Laravel Beginners Tutorial 2
Vikas Chauhan
Derailing rails
Derailing rails
Panagiotis Papadopoulos
Intro to Rails
Intro to Rails
epiineg1
Silex: From nothing to an API
Silex: From nothing to an API
chrisdkemper
Capistrano
Capistrano
Travis Roberts
This Is Me
This Is Me
Slimceagirl3
Weitere ähnliche Inhalte
Was ist angesagt?
Cooking chef
Cooking chef
ranjithar92
Rack
Rack
Revath S Kumar
Rails web api 开发
Rails web api 开发
shaokun
An introduction to Laravel Passport
An introduction to Laravel Passport
Michael Peacock
Cocoa on-rails-3rd
Cocoa on-rails-3rd
Xiaochun Shen
Web services with laravel
Web services with laravel
Confiz
Top laravel packages to install handpicked list from expert
Top laravel packages to install handpicked list from expert
Katy Slemon
Rails3 changesets
Rails3 changesets
Wen-Tien Chang
REST APIs in Laravel 101
REST APIs in Laravel 101
Samantha Geitz
Be happy with Ruby on Rails - CEUNSP Itu
Be happy with Ruby on Rails - CEUNSP Itu
Lucas Renan
Task scheduling in laravel 8 tutorial
Task scheduling in laravel 8 tutorial
Katy Slemon
Javascript laravel's friend
Javascript laravel's friend
Bart Van Den Brande
RESTful API development in Laravel 4 - Christopher Pecoraro
RESTful API development in Laravel 4 - Christopher Pecoraro
Christopher Pecoraro
Apikit from command line
Apikit from command line
fedefortin
Dev streams2
Dev streams2
David Mc Donagh
RoR guide_p1
RoR guide_p1
Brady Cheng
Laravel Beginners Tutorial 2
Laravel Beginners Tutorial 2
Vikas Chauhan
Derailing rails
Derailing rails
Panagiotis Papadopoulos
Intro to Rails
Intro to Rails
epiineg1
Silex: From nothing to an API
Silex: From nothing to an API
chrisdkemper
Was ist angesagt?
(20)
Cooking chef
Cooking chef
Rack
Rack
Rails web api 开发
Rails web api 开发
An introduction to Laravel Passport
An introduction to Laravel Passport
Cocoa on-rails-3rd
Cocoa on-rails-3rd
Web services with laravel
Web services with laravel
Top laravel packages to install handpicked list from expert
Top laravel packages to install handpicked list from expert
Rails3 changesets
Rails3 changesets
REST APIs in Laravel 101
REST APIs in Laravel 101
Be happy with Ruby on Rails - CEUNSP Itu
Be happy with Ruby on Rails - CEUNSP Itu
Task scheduling in laravel 8 tutorial
Task scheduling in laravel 8 tutorial
Javascript laravel's friend
Javascript laravel's friend
RESTful API development in Laravel 4 - Christopher Pecoraro
RESTful API development in Laravel 4 - Christopher Pecoraro
Apikit from command line
Apikit from command line
Dev streams2
Dev streams2
RoR guide_p1
RoR guide_p1
Laravel Beginners Tutorial 2
Laravel Beginners Tutorial 2
Derailing rails
Derailing rails
Intro to Rails
Intro to Rails
Silex: From nothing to an API
Silex: From nothing to an API
Andere mochten auch
Capistrano
Capistrano
Travis Roberts
This Is Me
This Is Me
Slimceagirl3
2010 nephee 01_smart_grid과제진행및이슈사항_20100630_kimduho
2010 nephee 01_smart_grid과제진행및이슈사항_20100630_kimduho
Kim Du-Ho
Landmarks Unit 9 Click On 2
Landmarks Unit 9 Click On 2
EKF Gyak
Steve Nash Sports Club Richmond
Steve Nash Sports Club Richmond
dsirenko
DIDACTICA CRITICA
DIDACTICA CRITICA
7CUORE7
Capistrano Overview
Capistrano Overview
Travis Roberts
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
LinkedIn
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017
Drift
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
Luminary Labs
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
Leslie Samuel
Andere mochten auch
(11)
Capistrano
Capistrano
This Is Me
This Is Me
2010 nephee 01_smart_grid과제진행및이슈사항_20100630_kimduho
2010 nephee 01_smart_grid과제진행및이슈사항_20100630_kimduho
Landmarks Unit 9 Click On 2
Landmarks Unit 9 Click On 2
Steve Nash Sports Club Richmond
Steve Nash Sports Club Richmond
DIDACTICA CRITICA
DIDACTICA CRITICA
Capistrano Overview
Capistrano Overview
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
Ähnlich wie Rails Page Caching
Rails3 way
Rails3 way
Andrei Kaleshka
Rails caching
Rails caching
VzMind ItSelf
Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2
A.K.M. Ahsrafuzzaman
DevOps Hackathon: Session 3 - Test Driven Infrastructure
DevOps Hackathon: Session 3 - Test Driven Infrastructure
Antons Kranga
Phoenix for Rails Devs
Phoenix for Rails Devs
Diacode
Rails 3: Dashing to the Finish
Rails 3: Dashing to the Finish
Yehuda Katz
Rails 4.0
Rails 4.0
Robert Gogolok
Rails 3
Rails 3
Iain Hecker
Rails 3 overview
Rails 3 overview
Yehuda Katz
Deploy Rails Application by Capistrano
Deploy Rails Application by Capistrano
Tasawr Interactive
Código Saudável => Programador Feliz - Rs on Rails 2010
Código Saudável => Programador Feliz - Rs on Rails 2010
Plataformatec
Intro to Rack
Intro to Rack
Rubyc Slides
OSDC 2009 Rails Turtorial
OSDC 2009 Rails Turtorial
Yi-Ting Cheng
Bugzilla Installation Process
Bugzilla Installation Process
Vino Harikrishnan
Fargate 를 이용한 ECS with VPC 1부
Fargate 를 이용한 ECS with VPC 1부
Hyun-Mook Choi
TurboGears2 Pluggable Applications
TurboGears2 Pluggable Applications
Alessandro Molina
Useful Rails Plugins
Useful Rails Plugins
navjeet
Porting Rails Apps to High Availability Systems
Porting Rails Apps to High Availability Systems
Marcelo Pinheiro
Integrating Flex And Rails With Ruby Amf
Integrating Flex And Rails With Ruby Amf
railsconf
Flex With Rubyamf
Flex With Rubyamf
Tony Hillerson
Ähnlich wie Rails Page Caching
(20)
Rails3 way
Rails3 way
Rails caching
Rails caching
Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2
DevOps Hackathon: Session 3 - Test Driven Infrastructure
DevOps Hackathon: Session 3 - Test Driven Infrastructure
Phoenix for Rails Devs
Phoenix for Rails Devs
Rails 3: Dashing to the Finish
Rails 3: Dashing to the Finish
Rails 4.0
Rails 4.0
Rails 3
Rails 3
Rails 3 overview
Rails 3 overview
Deploy Rails Application by Capistrano
Deploy Rails Application by Capistrano
Código Saudável => Programador Feliz - Rs on Rails 2010
Código Saudável => Programador Feliz - Rs on Rails 2010
Intro to Rack
Intro to Rack
OSDC 2009 Rails Turtorial
OSDC 2009 Rails Turtorial
Bugzilla Installation Process
Bugzilla Installation Process
Fargate 를 이용한 ECS with VPC 1부
Fargate 를 이용한 ECS with VPC 1부
TurboGears2 Pluggable Applications
TurboGears2 Pluggable Applications
Useful Rails Plugins
Useful Rails Plugins
Porting Rails Apps to High Availability Systems
Porting Rails Apps to High Availability Systems
Integrating Flex And Rails With Ruby Amf
Integrating Flex And Rails With Ruby Amf
Flex With Rubyamf
Flex With Rubyamf
Kürzlich hochgeladen
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
LoriGlavin3
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
Raghuram Pandurangan
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Visualising and forecasting stocks using Dash
Visualising and forecasting stocks using Dash
narutouzumaki53779
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
HarshalMandlekar2
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Kürzlich hochgeladen
(20)
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Visualising and forecasting stocks using Dash
Visualising and forecasting stocks using Dash
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Rails Page Caching
1.
2.
3.
4.
5.
Quick and Dirty
Sweeper class SiteSweeper < ActionController::Caching::Sweeper observe Post, Comment def after_save (record) self.class::sweep end def after_destroy (record) self.class::sweep end def self.sweep cache_dir = ActionController :: Base .page_cache_directory unless cache_dir == RAILS_ROOT + "/public" FileUtils .rm_r( Dir .glob(cache_dir + "/*" )) rescue Errno ::ENOENT RAILS_DEFAULT_LOGGER .info( "Cache directory fully swept." ) end end end
6.
7.
8.
9.
10.
Jetzt herunterladen