Matt
Completely unqualified to be an entrepreneur. But it's the taking part that counts, right?
When Timeouts Aren't An Option
A page takes 300ms to process on the server side.
4 requests = 1200ms
4 req/s = 1.2s processing time per second!
(Grossly oversimplified)
Fair point, but request frequency isn't always easy to guess...
Infrastructure
Web Server
PHP
You can use un-cached ajax requests to mix cached and dynamic content.
Blitz getUri() and csrfInput()
Some plugins will grab content via ajax to avoid any caching
Nginx SSI
Each ajax request will boot Yii, Craft + all plugins.Â
You can accidentally turn one page load into 5+ !
Combining caching methods can have unintended consequences
Infrastructure
Web Server
PHP
Cache Miss
Cache Miss
Generate response
Store Cache
Store Cache
By Matt