« See all FAQs for Spark - A Responsive One-Page HTML5 Website

I have edited the CSS and javascript files but my changes won’t appear on the site.

Delete the entire “cache” folder that is in the “static-server” directory. That will force its regeneration at the next page load. You might also need to clear the cache of your web browser (Control+Shift+Delete).

If your site is already online and public, instead of clearing the cache, upgrade the version number of the file in both the filename and the HTML document where the CSS or JS file is included. Both the “static-server” and the web browser will consider it as a new file and therefore will load it right away without the need to clear any cache — This “new” file will be cached like other files, both by the web browser and by the “static-server” script.

For development purpose, if you’re making many changes and need to reload the CSS and javascript files often, consider working temporarily with the index-nophp.html version which doesn’t have any specific caching.

by
by
by
by
by
by