A team has implemented a web application using MySql, PHP with the Zend framework and Angular.js on the client side. I am in charge of implementing the SEO for this application.
I understand I have to take HTML snapshots of the Angular pages and serve them to web crawlers. That's the only solution working for search engines not executing Javascript.
How can I take such snapshots efficiently? I mean, is there a PHP-related tool that can help me? Should I call a tool from PHP? If yes, which one?
Had this application been developed with
node.js
, I might have used something like Grunt'sgrunt-html-snapshot
. Is there an equivalent for the Zend framework?Would you recommend I take snapshots once for all, or should I generate them dynamically? The content of the website does not change that often. It is not critical to have the latest content for SEO purposes.