|
Posted
over 14 years
ago
farcry: The Tomek Tutorials http://post.ly/2NHL0
|
|
Posted
over 14 years
ago
Recently stumbled across these excellent little tutorials from FarCry developer Tomek. Using the FarCry Profiling API & Webskin TracerThe FarCry profiling API that became available with FC6.0.6 is a godsend for figuring out why some pages
... [More]
load slowly. For example, I have a couple of ‘displayTypeBody’ pages that load in 7 seconds, while normal HTML pages generally load in less than 0.3 seconds. Huge difference! Creating a “Duplicate” button in FarCryRecently I was tasked with creating a “duplicate” button for the event type in FarCry. It turns out that while adding a button is actually easy, the hard part was ensuring that the rest of the default buttons didn’t disappear.Resetting individual types etc., in FarCryRecently, I have had the need to programmatically reload type metadata for a specific type in FarCry. Since I’m usually working on a dev copy on my laptop (which is underpowered), I don’t want to take the time to reset all the types together. This is especially useful if you need to do something similar...Enjoy!
Permalink
| Leave a comment »
[Less]
|
|
Posted
over 14 years
ago
farcry: Google Analytics plugin released http://post.ly/2MA9b
|
|
Posted
over 14 years
ago
Daemon has released its commercial plugin for Google Analytics to LGPL. The GA plugin provides close integration for FarCry projects with the Google Analytics service.While its easy enough to throw in an URCHIN and get google stats, the
... [More]
plugin takes care of hard to track clicks like external links and file downloads. Plus its easy to enforce the use of canonical URLs to make sure you're getting the right stats for your content. Features include:webtop overview integration; showing stats for individual pages directly in the webtopsupport for tracking file downloads and external link reportinga framework for tracking Google custom variablespopular content publishing rule which draws down real time data direct from Google's data storeDocumentation and installation instructions available:https://farcry.jira.com/wiki/display/GA/HomeSource code available in the Subversion repo here:https://farcry.jira.com/source/browse/GAStay tune for updates to address GA's latest changes.Enjoy!
Permalink
| Leave a comment »
[Less]
|
|
Posted
over 14 years
ago
farcry: Objectadmin hack to auto-close edit handlers (h/t Matthew Williams) http://t.co/aRIP0ZP
|
|
Posted
over 14 years
ago
farcry: Reverse Proxy Caching and FarCry http://post.ly/2Ap3G
|
|
Posted
over 14 years
ago
FarCry already has various mechanisms for caching content. These make it easy to do things like cache some parts of a page and not others, have different timeouts for each, automatically expire caches if content changes, and so on. This is
... [More]
possible because the cache is managed in memory on the same server where the data is edited by administrators, and the HTML is generated by FarCry. Where FarCry caching is a sophisticated and granular caching solution, a reverse proxy (RP) is the "big hammer" solution. One for complex and highly dynamic content, the other for overwhelming traffic and mostly static content. Thus controlling RP caching is a different beast. It is simple and unwieldy, because it needs to perform well under high load. It is possible to create complicated caching strategies with an RP like Varnish, but we have gone with a simpler approach: cache based on the s-maxage header in backend responsesclear a site's entire cache on GET /varnishpurge from an authorised IP addressThis moves control of which pages get cached and for how long back to FarCry. But this is still fundamentally different to FarCry's internal caching options: page caching strategy VS fragment caching strategycache refreshed on timeout VS refresh on timeout, or content changecache by URL (and to a lesser extent cookies and user agent) VS cache by URL, form, user role, custom variables Because of this we decided that it didn't make sense to try to extrapolate the RP cache timeout based on a projects existing config. Instead we added support for a new webskin decorator: @@proxyCacheTimeout [https://farcry.jira.com/wiki/display/FCDEV60/Cache+Headers]. This means developers will need to consciously decide which pages to cache and for how long.
Permalink
| Leave a comment »
[Less]
|
|
Posted
over 14 years
ago
farcry: FarCry Running Railo in Cloudbees http://post.ly/1vELH
|
|
Posted
over 14 years
ago
We've been mucking around internally with a few cloud solutions and what options we have for getting FarCry running. Turns out its not too hard to get a standard FarCry install running on Railo with mySQL in the CloudBees RUN@cloud platform
... [More]
(formally Spike Washburn's Stax). If you are interested in helping us get FarCry hooked up under PaaS (platform as a service) drop us a line.
Permalink
| Leave a comment »
[Less]
|
|
Posted
over 14 years
ago
farcry: Michael Sharman releases #farcry twitter plugin http://t.co/DiFv6SZ
|