Write pages into static files for easy reload

Talk about new features for CMSMS and modules.
Post Reply
10010110

Write pages into static files for easy reload

Post by 10010110 »

I don’t know if it has been suggested before but I’ve got a good one. :)

My boss was complaining that when she hits the back button the page isn’t jumping to the position where she left it, i.e. when I scroll down and hit a link somewhere on the page that is leading me to another page, and then press the back button, the position that I’m landing on is at the top, not where I clicked the link. I asked a savvy guy about this and he told me that it has to do with the page expire time, and that in dynamically created files the time of creation equals the time of expiry, hence, when hitting the back button the page is completely reloaded and the position will be at the top again.

I got told that, e.g. Google is writing their search results into static files before sending them to the browser so the page is reloaded from the cache and only expires if something actually has changed. I’d request this functionality for a new release of the CMS. I figure this should be relatively easy for a savvy programmer, shouldn’t it?

I appreciate your efforts. :)
Pierre M.

Re: Write pages into static files for easy reload

Post by Pierre M. »

Hello,

I'm not sure I have understood well what you mean.

About going back to the point where you have clicked when pressing back, I think this is a browser issue. And my Firefox is ok on this matter.

About creating static cache, is is already implemented in CMSms v2.0 (full page caching feature) which is not yet released (search for "static pages", "content caching", "page cache", "performance", "speed up" or some mixes). In the mean time, as you can read in these forums, there are static broadcasting solutions :
-the cache module (ccontent and cstylesheet).
-Apache or lighty mod_cache.
-static copying/proxying ala httrack and so.

Pierre M.
Post Reply

Return to “Feature ideas”