2017 © Pedro Peláez
 

library simple-html-dom

Modified version of http://sourceforge.net/projects/simplehtmldom/ with cache support

image

thauex/simple-html-dom

Modified version of http://sourceforge.net/projects/simplehtmldom/ with cache support

  • Tuesday, October 14, 2014
  • by ThauEx
  • Repository
  • 5 Watchers
  • 15 Stars
  • 10,200 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 1 Versions
  • 13 % Grown

The README.md

SimpleHtmlDom

Modified version of http://sourceforge.net/projects/simplehtmldom/ with cache support, (*1)

Cache info

The cache writes the content of the website into a text file in the cache folder. The file is named by the md5 hash of the url. When the file is older than the default cache duration (24h), it will be overwritten., (*2)

Simple cache example

In this example the cache folder is set to "mycachefolder", the default value is "cache"., (*3)

The methode fileGetHtml has a new param, which is called $hours, this sets the cache duration. In further version the param will be changed to a static variable., (*4)


The Versions

14/10 2014

dev-master

9999999-dev

Modified version of http://sourceforge.net/projects/simplehtmldom/ with cache support

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Thau