More work on Flipcards with GPT

28 April 2024

When doing this development, remember the following:

  1. Refresh the File Manager page on my site
  2. Go into the web developer tool on firefox and reload the page — this is not always ncessary.
  3. One approach to circumvent 2 is to just append a date to the file being tested so that it is always diffrent.

When weird things happen

  • Make sure I haven’t overwritten </td> or </tr> etc tags
  • Make sure character encodings are consistent
  • Make sure GPT hasn’t changed the names of .js or .php files and functions.
  • Make sure caching is not causing problems… — for instance Javascript can cache ajax requests. One way around this is :

    Cache Prevention: Appended a timestamp query parameter (nocache) to the URL in the fetch request to ensure the browser fetches a new response each time without caching the result.

TO DO

  • At some point I need to figure out the reasons for using different encodings, determine what is best (i.e. the norm), and make sure all my pages are consistent.

Views: 2