- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cache warming script
Hi all!
A quick question, for some time now I am using magento and the loadtime of individual pages depend heavily on caching. If this is optimal or not is out of the scope of this question.
To ensure my magento shop is at optimal speed I need to cache/visit a page before a visitor gets to it.
A solution for this would be to visit all pages within the xml sitemap, as it contains visible products/category pages and "normal" pages.
My question is, how can this be achieved, probably with a script that runs with a cron job. You guys have an example of such a script or any other point in the right direction?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cache warming script
There are a lot of third-party cache warming scripts for Magento but most of them cost money.
Some Full Page Cache extensions like LiteMage Cache has cache warming built-in to their extensions as well.
You can also use schedule tools like MageSpeedTest.com to regularly hit your website using the sitemap.xml file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We benchmark all of the time
As the maker of a Magento caching solution, we benchmark all of the time. Typically, we run our load testing software against the site to randomly hit pages and fill the cache if we cannot wait. I can generate 25,000 hits in a few minutes , and then stop the test and restart it to start the benchmark. If you go to HP.com and download the community edition (free), you could easily port our scripts to warm your own cache?
LiteSpeed Technologies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cache warming script
magento cache warmer from sitemap
MagenX - Magento and Server optimization