server static html for page with parameter
-
Hi
Would it be possible to add a setting for allowing WP super Cache to serve a supercached static html page to users eventhough the url includes GET parameters?
Basically I would like for all pages to be supercached and served to the user eventhough GET parameters are added.
Today if I disable “Don’t cache pages with GET parameters. (?x=y at the end of a url)” the page http://www.example.com?id=4711 will generate a unique cached php file in supercache, which again will generate another unique cached php file if the url is changed to http://www.example.com?id=4712.So http://www.example.com and http://www.example.com?id=4711 should both use and send the same static html page. The url parameters can the be used by javascripts and if I on any pages would need to use the url parameter in php I would add the DONOTCACHE parameter to that specific page.
As a side note I have read the artikel at “https://odd.blog/2010/02/22/remove-unused-utmsource-urls/#comment-672813” that is refered in the FAQ, but I really do not think that is a good solution since for instance also facebook pixel and other similar tracking tools would like to add URL parameters to pages.
Regards
Martin
The topic ‘server static html for page with parameter’ is closed to new replies.