Yeah, thanks, I realized this minutes after I sent the question.
In fact I tested this with a code like
if ($is_cached) {
return $response;
} else {
sleep(5);
// generate stuff for response here
}
When I launched this code on machine one, it slept for 5 secs like it
should since there was no
What I have:
2 computers on LAN, web server on one of them, to which I have access
from both computers via 192.168.0.100.
Symfony2 which uses reverse proxy cache with e-tag.
app.php: http://pastebin.com/hupi9bYN
controller code: http://pastebin.com/7mWSt3jv
Caching itself works fine (I go to
In my project I need to use google calendar (be able to add/view
events). While searching I've found only 2 mentions of it.
1.) http://symfohub.com/repo/sfGoogleCalendarPlugin
With documentation in japanese and only 1 initial commit this plugin
is not exactly what I need, but I still tried to use
What I have: a class named someClass in a file named someFile.php in a
folder named someFolder.
I placed that folder in /vendor (so path to someFile.php is now /
vendor/someFolder/someFile.php ). The file doesn't use namespaces.
What I want: add that class to autoload so I could do $class = new